Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Merge 2 java scripts
Name: wiredsj Date: June 14, 2004 at 22:38:50 Pacific OS: WinXp Pro SP1 CPU/Ram: 1.8 ghz / 512k
Comment:
Hi,
I have one java script that perform an image swap on mouseover. I haver another java script that will swap another image besides itself when you mouseover. I've tried combining them but with no success.
What i'm after is for the button you're about to click to swap (pretty standard) but i also want a second image to load somewhere else on the page that gives a brief description (with graphics) pertaining to the page you're about to be directed to. I have the main part working but can't get teh image i'm clicking to swap at the same time the the decription is loading. Any help would be appreciated.
If I understand you correctly, you probably have two functions...One to swap the image you're hovering over, the other to swap some other image somewhere on the page. This isn't difficult...But you need to combine them into one function (just copy and paste, it doesn't matter which order you do it in), and set the new, longer function as the onMouseOver event handler.
Of course, copying and pasting might cause some problems if the functions share variable names, etc. If you can post a link the code, we can be more specific.
Summary: I would like to use the following java script in my website but it only works in IE. By any chance does anyone know if there is something that can be changed to make it work with firefox? <!DOCTYPE...
Summary: Greetings all, I am new here. Wondering if i can get any help from this forum. I am new to Java script/HTML Recently our Internet application teacher gave us a problem. Hope I can get some idea here....
Summary: I have two separate java script files in the same directory.I want to call a function written in one java script file from another.Please help me how to do it? Regards, Subodh Sharma...