| |
frumau Junior Googler

Joined: 19 Jun 2005
2259.75 GC$
Items
|
Posted: Thu Jun 30, 2005 11:58 pm Post subject: automatic scrolling text |
|
|
|
Has anybody any idea how to create an easy automatically scrolling text on a website? One that will work in Firefox, Netscape and Internet Explorer?
Cheers,
Jasper
wwww.gateway2thailand.com _________________ Jasper
gateway2thailand |
|
| Back to top |
|
|
super3boy Googler

Joined: 06 Jul 2005
480.90 GC$
Items
|
Posted: Wed Jul 06, 2005 2:18 pm Post subject: |
|
|
|
do a google search for "automatically scrolling text" "html" _________________ Forum: http://www.nystic.com
Forum for Nerds and Geeks |
|
| Back to top |
|
|
Randy Former Moderator

Joined: 17 Jun 2004
18197.20 GC$
Items
|
Posted: Wed Jul 06, 2005 2:23 pm Post subject: |
|
|
|
super3boy: NOT appropriate.
frumau: Are you wanting a horizontally scrolling marquee? |
|
| Back to top |
|
|
frumau Junior Googler

Joined: 19 Jun 2005
2259.75 GC$
Items
|
Posted: Wed Jul 06, 2005 11:19 pm Post subject: |
|
|
|
| Randy Johnston wrote: | super3boy: NOT appropriate.
frumau: Are you wanting a horizontally scrolling marquee? |
No, an automatic scrolling text, one going from the top to the bottom(so horizontally yes..). I will put the latest items in it with clickable links. I would like to place it inside a table cell and make it work in explorer, netscape and firefox.
Thanx for the help! _________________ Jasper
gateway2thailand |
|
| Back to top |
|
|
Justin Google Freak

Joined: 28 Nov 2004 Location: Dickson, TN 1477.05 GC$
Items
|
Posted: Thu Jul 07, 2005 6:48 pm Post subject: |
|
|
|
Top to bottom would actually be vertical.
http://www.google.com/search?hl=en&q=vertical+scrolling+text+html >> http://www.hypergurl.com/marquee.html
| Quote: | <div
align="center"> <marquee bgcolor="#000080" scrollamount="2"
direction="up" loop="true" width="35%"> <center>
<font color="#ffffff" size="+1"><strong> THIS
IS A COOL WAY<br> TO MAKE YOUR TEXT<br> SCROLL UPWARDS<br> <br>
IT IS EASY AND FAST LOADING </strong></font> </center> </marquee></div> |
That should work. |
|
| Back to top |
|
|
frumau Junior Googler

Joined: 19 Jun 2005
2259.75 GC$
Items
|
Posted: Thu Jul 07, 2005 11:07 pm Post subject: |
|
|
|
Thanks. That works excellent! By the way..is there a way to add some code that makes the scrolling stops when your mouse goes over the marquee area? A sort of mouse over effect?
Regards,
Jasper _________________ Jasper
gateway2thailand |
|
| Back to top |
|
|
frumau Junior Googler

Joined: 19 Jun 2005
2259.75 GC$
Items
|
Posted: Sat Jul 09, 2005 1:51 am Post subject: |
|
|
|
I found all the necessary information. This is what a decided to use in the end:
<marquee bgcolor="#FFFFFF" scrolldelay="300"(together with scroll amount this function handles the scrolling speed) onMouseover="this.scrollAmount=1"(when the mouses passes over the text) onMouseout="this.scrollAmount=2"(when the mouse leaves the text area
direction="up" loop="true"(continuous news feed) width="120">
There is only one thing bothering me. In Firefox the text is first displayed as ordinary text before the browser realizes there is a marquee and displays it scrolling...
Any suggestions? _________________ Jasper
gateway2thailand |
|
| Back to top |
|
|
neno.tu Google Freak

Joined: 10 Oct 2004 Location: Caracas - Venezuela 5951.00 GC$
Items
|
Posted: Fri Jul 29, 2005 6:27 pm Post subject: |
|
|
|
It's very easy to do with javascript...
Try creating a loop...
Like this...
function scrolling(){
window.scroll+=speed;
}
settimeOut("scrolling"),100);
An speed will be the lines to scroll...
so declare: var speed;
at the top of the script...
and that will do... If you want to change the scrolling speed you can add "speed=(your speed)" to any event... and set speed=0 to stop scrolling...
I did an autoscrolling text to show the top 10 posts on a forum at the home page and stuff like that...
Hope I have help... You can email me for a complete source code...  _________________
NenO-tU Freelancer Web Designer and Programmer |
|
| Back to top |
|
|
frumau Junior Googler

Joined: 19 Jun 2005
2259.75 GC$
Items
|
Posted: Sat Aug 13, 2005 3:46 pm Post subject: |
|
|
|
Muchas gracias por the answers. I have fixed the problems by now. (-: _________________ Jasper
gateway2thailand |
|
| Back to top |
|
|
darrenstraight Site Admin & Platinum Member


Joined: 25 Jul 2004 Location: England 173385.09 GC$
Items
|
Posted: Sat Aug 13, 2005 4:33 pm Post subject: |
|
|
|
| frumau wrote: | | Muchas gracias por the answers. I have fixed the problems by now. (-: |
vale, good to hear youve managed to fix it, thanks for letting us know. _________________ My Blog | Microsoft Discussion |
|
| Back to top |
|
|
Sponsored Links
|
Posted: 5 Dec 2008 11:40 am Post subject: Advertisements |
|
|
|
|
|
|
| Back to top |
|
|