Jump to content
xisto Community
Sign in to follow this  
FaLgoR

Marquee What is and how to use

Recommended Posts

Thee HTML tag <marquee> is used to make an text move on html pages. It's very simple, you will need only one line of html, but it's really cool and very usefull :)

Here we go.

 

<marquee behavior="scroll">Text here</marquee>

The code above will make the text move from the left side to the right side of the page. Behavior is what the text will do. It can be scroll to make the text scroll from the left side to the right side, alternate make thetext do the same thing, but instead of the text get hide when it is on the limit of the page, it will go back to the left side, and when it is on the limit of the left side, it will go to the right side... Let's make another marquee style:

 

<marquee behavior="scroll" direction="up">Your<br>Text<br>Here</marquee>

With the code above, the text will move from the bottom to the top. Cool, huh? :ph34r:

I'll show you something you can do with this code. Make an simple table in html:

 

<table border="1"><tr><td>My other sites</td></tr><tr><td><marquee behavior="scroll" direction="up" OnMouseOver="this.stop()" OnMouseOut="this.start()"><a href="http://mysite.com"><img src="button.jpg" width="88" height="33"></a><br><a href="http://mysite.com"><img src="button.jpg" width="88" height="33"></a><br><a href="http://mysite.com"><img src="button.jpg" width="88" height="33"></a><br></marquee></td></tr></table>

Its one of my favourites html effects. In the code above, you will show an table with your other sites or allied sites. The 88x33 buttons will go up, and, when someone try to click them, the text will stop moving, and the visitor will easilly click the button. When (s)he move the cursor out the table, it will start moving again. I just love this effect =D

Here is an example: http://forums.xisto.com/no_longer_exists/

 

The site is in portuguese, but it doesn't matter. Look at the right side, you will see a table with 3 buttons moving up, when you put the cursor on it, it will stop :)

 

Hope you liked it as I liked to write it :D

 

By FaLgoR

 


I CAN'T SAY HOW HAPPY I AM TO SEE THIS. I HAVE BEEN LOOKING FOR WAYS AND HOW TO DO THIS FOR MONTHS NOW. THANK YOU THANK YOU THANK YOU....

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.