SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: Tickertape....
-
Sep 10, 2003, 03:57 #1
- Join Date
- Dec 2001
- Location
- Market Harborough, UK
- Posts
- 206
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Tickertape....
Hi,
Me again!
Ok, what I'm now trying to do is to place a scrolling marquee at the bottom of the page. This is going to hold information about system status and similar stuff. Some of this information will be links to further details.
So far so good, what I want to do, however, is to use the mouseover() event of the links to stop the marquee from scrolling (and start it again when the mouseout() event happens). How do I access this property of the marquee?
Also, I'd like to have the text continuous. Is it possible to set one up so that the beginning of the repeat of the marquee text immediately follws the end, rather than waiting until the text has disappeared off the left before starting again?
Yet again, thanks in advance!Paul Simpson, BSc, MCNI, MCNE
-
Sep 10, 2003, 06:41 #2
- Join Date
- Feb 2000
- Location
- where the World once stood
- Posts
- 700
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
marquee?????? <marquee?????? nope, don't do it. afaik it's ie-only and will probably disappear soon.
see the tutorials at www.htmlgoodies.com for a 'tickertape'
if i'm offbase, post the code you have
VinnyWhere the World Once Stood
the blades of grass
cut me still
-
Sep 11, 2003, 08:54 #3
- Join Date
- Dec 2001
- Location
- Market Harborough, UK
- Posts
- 206
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks Vinny!
Doh! I don't have any code (yet) so nothing to post, I'm afraid.
That's damned anoying, I had a look on the site you mentioned, but couldn't find anything... :-(
Oh well, I'm sure I'll get something sorted!
PaulPaul Simpson, BSc, MCNI, MCNE
-
Sep 11, 2003, 11:47 #4
- Join Date
- Dec 2001
- Location
- Gouda, The Netherlands
- Posts
- 64
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Here's a nifty code snippet I scraped off of a web site called DS Effects some time ago.
I think you'll like it.Code:<script type="text/javascript" language="JavaScript"> <!-- var author="www.dseffects.com"; var DS_ScrollText="DS Effects - Cool applets, scripts and midlets"; var DS_Speed=(5-(1))*25; document.write("<form name=\"ds_form\"><input type=\"button\" name=\"ds_scrollb\" value=\"\" onClick=\"java script:window.location.href="http://www.dseffects.com"\" style=\"background-color:#ffffff;font-size:9pt;color:#000000; font-family:verdana\">" ); var DS_ScrollCounter = 0; var DS_I = 0; while(DS_I++ < 4) { DS_ScrollText=" " + DS_ScrollText; } function DS_ButtonScroll() { document.ds_form.ds_scrollb.value = DS_ScrollText.substring(DS_ScrollCounter, DS_ScrollText.length) + DS_ScrollText.substring(0, DS_ScrollCounter); DS_ScrollCounter++; DS_ScrollCounter%=(DS_ScrollText.length); setTimeout("DS_ButtonScroll()", DS_Speed); } DS_ButtonScroll(); //--> </script>
Kiffin
Your average future-famous kind of guy...
-
Sep 11, 2003, 18:26 #5
- Join Date
- Feb 2000
- Location
- where the World once stood
- Posts
- 700
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
took 2 tries search for "text scroller"
this one does it in the status bar, can be modified
http://htmlgoodies.earthweb.com/JSBo...ignment43.html
I seem to remember one or two others there. you might also search www.dynamicdrive.com and www.javascript.com
VinnyWhere the World Once Stood
the blades of grass
cut me still
Bookmarks