frdbaggns523
08-02-2003, 07:03 PM
Ok, I want to add a scrolling marquee to my site, but i want it to stop in the center and not to the left of the page. What would be the code for that?
|
View Full Version : Scrolling Marquee frdbaggns523 08-02-2003, 07:03 PM Ok, I want to add a scrolling marquee to my site, but i want it to stop in the center and not to the left of the page. What would be the code for that? stargrl329 08-02-2003, 07:05 PM try this: <p align="left"><marquee width=50%>TEXT HERE</marquee></p> frdbaggns523 08-02-2003, 07:18 PM Ok, that didnt wrk, it scrolls through only half the page. If that made ne sense. How about if i wanted a scrolling marquee that scrolls down and stops, that has a text link, followed by a picture, and then regular text? stargrl329 08-02-2003, 07:20 PM i must have misunderstood the first question... sorry... i'm not sure if you can do that with html though. i know you could definitely do something using dhtml, try dynamicdrive.com they should have something to help you. mS_cLaiRe 08-03-2003, 07:03 PM OH!! you would want a sliding marquee, which scrolls then stops at a certain point, but i'm not sure of the code for halfway sliding marquees..sry =\ anime_rose 09-06-2003, 06:22 PM i was recently faced with this problem, and i found that you can postition your marquee anywhere, and customize its width and height... look here: <marquee behavior=scroll direction="RIGHT OR LEFT GOES HERE" scrollamount="5" style="position:absolute; top:HOW MANY PIXELS FROM THE TOP OF THE PAGE IT WILL BEpx; left:HOW MANY PIXELS FROM THE LEFT OF THE PAGE IT WILL BEpx" width="WIDTH OF MARQUEE" height="HEIGHT OF MARQUEE"> <a href="URL *if any* IT'S LINKING" target="_blank"><img src="YOURIMAGENAME.jpg/gif/whatever" width="WIDTH OF YOUR PIC" "height="HEIGHT OF YOUR PIC" border="0"></a> </marquee> This way, you can make the marquee stop scrolling at a certain point on the page, without it going over the whole thing. does that make sense? i hope so! lol. you can also make the marquee be at the bottom left or midway center or wherever you want it with the 'top:somethingpx' and 'left:somethingpx' i hope this helped! p.s. if you just want to have an image marquee, without havng the images link to a site, then just cut out the '<a href="URL *if any* IT'S LINKING" target="_blank">' part. you can also add more images by using '<a href="URL *if any* IT'S LINKING" target="_blank"><img src="YOURIMAGENAME.jpg/gif/whatever" width=">WIDTH OF YOUR PIC" "height="HEIGHT OF YOUR PIC" border="0"></a>' again and again, but make sure that </marquee> is always below those new images! Andy_WebGuru 09-07-2003, 10:58 AM Another way: <table width=100% cellspacing=0 cellpadding=0 border=0> <tr> <td width=50%> <marquee>YOUR TEXT</marquee> </td> <td width=50%> </td> </tr> </table> |