HTMLHTML TutorialHTML Codes/Generators
HTML Background Code
HTML TagsHTML Color HTML Color Chart HTML Comment Box Code HTML Scrollbox Code HTML Text Code HTML Image Code HTML Marquee Code HTML Music Code HTML Video Code HTML Form Code HTML Frames Code HTML Entities HTML Examples HTML Help/Cheat Sheet HTML Templates More Codes... HTML Generator HTML Table Generator Marquee Generator Music Code Generator HTML Text Generator Text Box Generator MySpace Generators More Generators... HTML 5 Tags Create a Website
Sponsored Links
$1.99 Domain Names
With every new non-domain purchase thru ZappyHost, you get a domain name for only $1.99. |
Stopping & Starting HTML MarqueesThis page contains code that allows you to stop and start HTML marquees with your mouse. Therefore, your website users can stop/start your HTML marquees with their mouse too. These codes use JavaScript, and therefore, will not work on your MySpace page. You can still use marquee codes on your MySpace page though, you just won't be able to stop/start them with JavaScript. Clicking the MarqueeThis example allows the user to stop the marquee when they click on the mouse (i.e. onmousedown). The marquee then continues when the user releases the mouse (i.e. onmouseup). This code results in: Hovering over the MarqueeThis example allows the user to stop the marquee when they hover over the marquee with their cursor (i.e. onmouseover). The marquee then continues when the user hovers away from the marquee (i.e. onmouseout). This code results in: Start/Stop Buttons:You can add "start" and "stop" buttons that enable the user to start and stop the marquee as required. To do this, simply add an "id" attribute to the marquee, then reference that from your buttons (created using the input tag). This code results in: Stopping Multiple Marquees:You can add "start" and "stop" buttons for as many marquees as you like. Just make sure you give each marquee a unique "id". For example, if you name your first marquee "marquee1", name the second marquee "marquee2" etc. This code results in: Slowing Down Your MarqueeYou can also make the marquee slow down instead of just stopping/starting. Here's the code to slow down & speed up your marquee. MySpace UsersUnfortunately, you can't use the above examples in your MySpace profile. This is because MySpace doesn't allow you to put JavaScript in your profile (these examples use JavaScript to stop and start the marquee). You can however, use the examples on the HTML Marquee Codes page. More Marquee TricksHere are more tricks you can use with your marquees: |
Sponsored Links
Need Website Content?
Get unique, quality digital content for your website.
|