Team:Penn/test
From 2012.igem.org
(Difference between revisions)
Line 34: | Line 34: | ||
/*Example message arrays for the two demo scrollers*/ | /*Example message arrays for the two demo scrollers*/ | ||
- | + | ||
var pausecontent=new Array() | var pausecontent=new Array() | ||
pausecontent[0]='<a href="http://www.javascriptkit.com">JavaScript Kit</a><br />Comprehensive JavaScript tutorials and over 400+ free scripts!' | pausecontent[0]='<a href="http://www.javascriptkit.com">JavaScript Kit</a><br />Comprehensive JavaScript tutorials and over 400+ free scripts!' | ||
Line 151: | Line 151: | ||
</head> | </head> | ||
<body> | <body> | ||
- | + | <br><br><br> | |
<script type="text/javascript"> | <script type="text/javascript"> | ||
//new pausescroller(name_of_message_array, CSS_ID, CSS_classname, pause_in_miliseconds) | //new pausescroller(name_of_message_array, CSS_ID, CSS_classname, pause_in_miliseconds) | ||
- | |||
new pausescroller(pausecontent, "pscroller1", "someclass", 3000) | new pausescroller(pausecontent, "pscroller1", "someclass", 3000) | ||
document.write("<br />") | document.write("<br />") |
Revision as of 03:00, 26 October 2012