View Full Version : Basic javascript scroller?
--ss--
26-07-2008, 03:14 PM
Hihi,
I'm in need of an DHTML text scroller which is easy to use , whereas all I have to do is define an div id in the JS and it does the rest.
It should have all the same propeties off a normal Marquee element but it must be XHTML valid!
+Rep to people who find me it.
Moved by Invent (Forum Moderator) from Designing & Development: Please post in the correct forum next time, thanks :).
cunning
26-07-2008, 04:18 PM
I don't know, but javascriptkit.com/script/cut... (http://www.javascriptkit.com/script/cutindex3.shtml).
--ss--
26-07-2008, 06:43 PM
I don't know, but javascriptkit.com/script/cut... (http://www.javascriptkit.com/script/cutindex3.shtml).
Nope :(
I want something which is just like an normal <marquee> but I want it to be an XHTML valid JS code :(
Stepheen
26-07-2008, 06:57 PM
use javascript.
<script>
document.write('<marquee>');
</script>
Omg its moving, it's moving, its moving WOOOOO!
<script>
document.write('</marquee>');
</script>
Not exactly valid but it's the way I do it (:.
--ss--
26-07-2008, 07:03 PM
use javascript.
<script>
document.write('<marquee>');
</script>
Omg its moving, it's moving, its moving WOOOOO!
<script>
document.write('</marquee>');
</script>
Not exactly valid but it's the way I do it (:.
I might aswell just type without the js if it aint going to valid lol? +Rep anyway ;).
Grr i've been searching Google all day, can't find a decent simple one >.<
Tom-743
26-07-2008, 07:22 PM
Whats wrong with using <marquee>?
wsg14
26-07-2008, 07:24 PM
Whats wrong with using <marquee>?
It's not valid.
--ss--
26-07-2008, 07:24 PM
Whats wrong with using <marquee>?
It's not an valid XHTML tag ;).
Dentafrice
26-07-2008, 07:26 PM
http://www.ruinsofmorning.net/marquee/
Tom-743
26-07-2008, 07:26 PM
It's not an valid XHTML tag ;).
Althogh valid code is ment to load in your browser faster, i don't think 1 un-valid tag will make a big differance.
--ss--
26-07-2008, 07:53 PM
http://www.ruinsofmorning.net/marquee/
Thanks <3333 , Gotta spread for you though :(
Althogh valid code is ment to load in your browser faster, i don't think 1 un-valid tag will make a big differance.
Well then I wouldn't be able to say it's a valid piece of code, I just like all my coding to be valid Xhtml and CSS it's kinda upto an higher standard ;).
Dentafrice
26-07-2008, 07:58 PM
Don't worry about it, you have repped me enough throughout the years <3 haha.
Jahova
26-07-2008, 08:34 PM
use javascript.
<script>
document.write('<marquee>');
</script>
Omg its moving, it's moving, its moving WOOOOO!
<script>
document.write('</marquee>');
</script>
Not exactly valid but it's the way I do it (:.
I see you've found the answer but..
Shove the above in a JS file and wollah?
You have your valid XHTML =D
Thats what I have been doing, and it works? (I think)
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.