PDA

View Full Version : side-scrolling transparent image-containing textarea???



cococomics
November 26th, 2004, 23:00
Hi. I was just wondering if it was possible, and if so, how, to create a side-scrolling text area that has the same scrollbar settings as the rest of the page and the same background color and could contain the content in the tables at www.cococomics.net/superc.html (http://www.cococomics.net/superc.html) . If anyone could help, I would really appreciate it!!

mjz
November 27th, 2004, 04:15
pretty much just add the marquee tag before the content and you're all set... :)

this would make it scroll upward... to make it scroll sideways you need to change your page so the different comics line up sideways and not under each other...



<marquee bgcolor="orange" width="700" height="200" direction="up" scrollamount="2" scrolldelay="50">
</marquee>

cococomics
November 27th, 2004, 12:44
Hmm.. Is there any way to let the viewer control the scrolling??

mjz
November 27th, 2004, 14:04
the easiest way would be to add mouseover and mouseout functions that stops the scrolling when the user hovers the marquee area and starts the scrolling up again when they dont... :)

like this using the previous code:



<marquee bgcolor="orange" width="700" height="200" direction="up" scrollamount="2" scrolldelay="50" onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=2">

cococomics
November 28th, 2004, 13:11
Thanks! Thats perfect!! :D

mjz
November 28th, 2004, 15:16
yeah, should do... if you want to allow your users more control you could add clickable links or buttons like this:

http://seecover.site.voila.fr/test.html

just view the source :)