Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join Zeta Resources, you'll be able to access member-only sections, and use many member-only features such as requesting free skins, for both Zeta Boards and Invisionfree. It doesn't end there, we also offer free Graphics, Codes and even Affiliation! Registration is simple, fast, and completely free.


Join Zeta Resources!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Common Marquee Script; HTML
Topic Started: Nov 28 2007, 09:28 PM (311 Views)
Viral
Member Avatar

Common Marquee HTML Script by Viral/Viralize of Zetaresources.com
Not to be redistributed without the author's permission.


Step 1

Code:
 

<body>

</body>



Define it in the body.


Step 2

Code:
 

<body>
<marquee>scrolling text</marquee>
</body>


Defined a marquee using the marquee tag.


Step 3

Code:
 

<body>
<marquee direction="right">scrolling text</marquee>
</body>


Changed the direction of the marquee from left to right. Left is default.


Step 4

Code:
 

<body>
<marquee direction="right" width=500>scrolling text</marquee>
</body>


Made the width of it 500 pixels, after that it starts again, default is Screen width.


Step 5

Code:
 

<body>
<marquee direction="right" width=500 scrollamount=3>scrolling text</marquee>
</body>


Defined how many pixels to move every second or so (cant remember fully).


Step 6

Code:
 

<body>
<marquee direction="right" width=500 scrollamount=3 onMouseover="this.stop()">scrolling text</marquee>
</body>


Makes it so, when you put your mouse over the marquee, it will stop.


Step 7

Code:
 

<body>
<marquee direction="right" width=500 scrollamount=3 onMouseover="this.stop()" onMouseout="this.start()">scrolling text</marquee>
</body>


Now, when you move your mouse away from the marquee, it will start scrolling again using the settings from your 'scrollamount'.


Your finished!


A very easy Marquee code.


Copyright to Viral of Zeta Resources. Not to be used without permission.
Offline Profile Quote Post Goto Top
 
Crazymofoman
Member Avatar

Very nicely done Viral! I didn't actually know anything past the basic marquee tag until I saw this.
Offline Profile Quote Post Goto Top
 
Viral
Member Avatar

Thanks, it was a pretty simple tutorial.
Offline Profile Quote Post Goto Top
 
luciferxm
Member Avatar

i have own basic code for marquee..but thx for tutorial..i may be dumb-founded sometimes..but tutorials are alsways helpful. also, is there way to make bg flash? like a pulse effect?-or flash in the borders?
Offline Profile Quote Post Goto Top
 
Viral
Member Avatar

Yes, there is, but that would require Javascript, and so would not be able to be put into signatures.
Offline Profile Quote Post Goto Top
 
Ben29
No Avatar

These sort of tutorials are whats needed to keep new people in coding, it all seems to complicated at first but this makes it simple.
Nicely done.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Coding Tutorials · Next Topic »
Add Reply