JavaScript Forum JS Made Easy: Free JavaScripts Tutorials Example Code
About This Product
The Business Internet
Find it on This page:
| Over 5000 Free Fonts | Tutorials | Javascript Forum | Other Javascript Resources | Cheat Sheet

Jsmadeeasy Forums Home   Search   Login   Register   Member List  
JS Made Easy  > JavaScript programming  > Re:  
Display using:  
Previous Thread :: Next Thread 
 Author Thread: Scripts confused??
MQCarpenter is not online. Last active: 7/28/2004 3:52:08 PM MQCarpenter
Joined: 28 Jul 2004
Total Posts: 1
Scripts confused??
Posted: 05 Jun 2002 12:27 PM
I am not too good with JS, so bear with me please.

Short version:

I am using 2 scripts on a page to do a drop menu and an image slideshow

The menu makes a call as follows:

<script language="JavaScript1.2" src="menu_data.js"></script>
<script language="JavaScript1.2" src="dqm_script.js"></script>

Then the menu is created after this, making img src calls for the images, etc.

Then the slideshow script is inserted, and also makes an src statement:

<img src="../images/HLT1_before_adjust.jpg" name="slide" border=0 style="filter:blendTrans(duration=3)">

If I delete the call to the 2 js files it is fine. What am I doing wrong to get them to work happily together? TIA

qsaaiman is not online. Last active: 5/30/2006 4:23:08 AM qsaaiman
Top 25 Poster
Joined: 28 Jul 2004
Total Posts: 21
Posted: 07 Jun 2002 03:55 AM
I do not have the files to play with, but maybe this could work.

Take the code in the 2 js files & put it all in one js file.that way you will only have to call one js file.


Quintin Saaiman
Department of Labour
IT Systems

Quintin Saaiman
Previous Thread :: Next Thread 
Goto to page:  Prev Next  > JS Made Easy  > JavaScript programming  > Re: