Using a text only editor like NotePad place the contents of Step 1 in a file. Remove the opening:
Code:
<script language="JavaScript1.2">
and the closing:
tags. Save it as cross_marq.js and put it in the same folder as your pages. On each page where you want the marquee to appear, put:
HTML Code:
<div><script src="cross_marq.js" type="text/javascript">
/*
Cross browser Marquee script- © Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and Terms Of Use, visit http://www.dynamicdrive.com
Credit MUST stay intact
*/
</script></div>
Example:
HTML Code:
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
Some content here.
<div><script src="cross_marq.js" type="text/javascript">
/*
Cross browser Marquee script- © Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and Terms Of Use, visit http://www.dynamicdrive.com
Credit MUST stay intact
*/
</script></div>
Some other content here.
</body>
</html>
Bookmarks