954,593 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

maquee which stops at a curved area

Hi, i have a marquee on my page which looks like the following

------------------------------------------------------------------------------
|Picture(div)-|-Marquee(div)--------------------------------------------|
|---------------|--------------------------------------------------------------|
|---------------|--------------------------------------------------------------|
------------------------------------------------------------------------------

so my marquee stops at the picture and starts again from the beginning . here picture is a square area but i want to use some curved image to that place and marquee should stop at the curved image(next example). Since it's not a straight line i don't have an idea how to do this with divs or anything. please help me..


------------------------------------------------------------------------------
|Picture(div)*--Marquee(div)--------------------------------------------|
|---------------*--------------------------------------------------------------|
|-----------------*------------------------------------------------------------|
--------------------*-----------------------------------------------------------

Virangya
Junior Poster
122 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

There's no such thing as a curved image on the web. Every image only has a set width and height. You can't really 'bend' elements or skew them in any way, although there are a few people that have played around with doing this with javascript but it's often quite buggy and doesn't work in all browsers.

Best of luck.

fusedreality
Newbie Poster
16 posts since Sep 2010
Reputation Points: 26
Solved Threads: 5
 

There's no such thing as a curved image on the web. Every image only has a set width and height. You can't really 'bend' elements or skew them in any way, although there are a few people that have played around with doing this with javascript but it's often quite buggy and doesn't work in all browsers.

Best of luck.

thanx for your reply. well. javascript is ok if u can give me an idea how to do it with javascript?

Virangya
Junior Poster
122 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

Actually, you can do it in CSS. Just found this that may be of help:

http://www.csstextwrap.com/

Happy coding!

fusedreality
Newbie Poster
16 posts since Sep 2010
Reputation Points: 26
Solved Threads: 5
 

thanxx looks really cool!

Virangya
Junior Poster
122 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

hi, i tried it. but i can't apply it to a marquee. I tried it several times still doesn't work because marquee is one line text... not like a paragraph..

Virangya
Junior Poster
122 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: