Reply
how to run two different script on one page
Old 07-22-2006, 07:24 PM how to run two different script on one page
Novice Talker

Posts: 6
Hello everyone,
I am trying to use one dhtml script and one authomatic date script on one page.The date script works fine but the dhtml ticker doesnt work.
i state the scripts below,for you to look at if you may.
I thank for any suggestions & assistance in advance


script1
<script language = "JavaScript">
var now = new Date();
var dayNames = new Array("Sunday","Monday","Tuesday","Wednesday","Thu rsday","Friday","Saturday");
var monNames = new Array("January","February","March","April","May"," June","July","August","September","October","Novem ber","December");
document.write("" + dayNames[now.getDay()] + " " + monNames[now.getMonth()] + " " + now.getDate() + ", " + now.getFullYear());
</script>

script2
<td height="97" colspan="12" valign="top"><p>
<!-- Ticker start -->
<table border="0" cellspacing="0" cellpadding="0" width="605
">
<tr height="16">
<FORM name="ticker1">
<td class="ticker_font"
align="center" onClick="revert_ticker('ticker1')" onMouseOver="stop_ticker('ticker1')"
onMouseOut="start_ticker('ticker1')">
<input name="scroll" class="ticker_font" size="141">
<script language="javascript">
init_ticker("ticker1", " SimplytheBest DHTML Scripts - a large collection of selected DHTML scripts and Javascripts. Most scripts are free to use and clearly explained ", 100, 1);
</script>
</td>
</FORM>
</tr>
</table>
<!-- Ticker end -->&nbsp;</p>
maksinx is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Reply     « Reply to how to run two different script on one page
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11045 seconds with 12 queries