Images and Javascript - Changing an image using the mouseover command
Thanks. I am pretty new to javascript. By any chance do you have an example of this script?
Thanks. I am pretty new to javascript. By any chance do you have an example of this script?
Anonymous posted this at 19:24 — 20th May 1999.
They have: 5,633 posts
Joined: Jan 1970
i'll will send it to you via e-mail, this boxes are driving me mad.......
Anonymous posted this at 23:17 — 20th May 1999.
They have: 5,633 posts
Joined: Jan 1970
I have an example of what you want at
discoverynet.com/~tekguy I don't remember which page it is but I think it is the woofaroni page. The javascript for the sound causes the page to load slow the first time you load it but is fast after that. If you want a page with just the images on it let me know.
----------
My goal in life is found in Phillipians 4:8-9
cldennis posted this at 03:33 — 21st May 1999.
They have: 11 posts
Joined: Apr 1999
Here is the situation. I have an image that I want to change depending on which navagational button the mouse is over. There are four buttons. Here is my problem. I want to start with one image and then have that image change as I move my mouse over each button. So the original image can change four different times. Is it possible to do this with mouseover?
Anonymous posted this at 03:53 — 21st May 1999.
They have: 5,633 posts
Joined: Jan 1970
this works of you always use the same image-number in the script:
function changepic(picture)
{
window.document.images[number of the image].src = picture.src;
then call the script with onMouseOver ="changepic(Highlight1)"
the rest is like programming any other mouseover effect, you only have to obey, not to change the number of the image!
cu
patrick
ps: did i ever mention, i hate this nasty little window to type in?!?
JP Stones posted this at 17:24 — 21st May 1999.
They have: 2,390 posts
Joined: Nov 1998
Jim, I tried to have a look at your new projects but noting loads up in the windows for individual projects...
JP
----------
The Webmaster Promotion and Resource Center.
http://www.what-next.com
Anonymous posted this at 00:31 — 22nd May 1999.
They have: 5,633 posts
Joined: Jan 1970
JP
Give it LOTS of time. When you go to the second pages your JVM has to start up. Takes lots of time The site was not designed to ever be active, just a wiz bang see what we can do site.
----------
My goal in life is found in Phillipians 4:8-9
cldennis posted this at 03:04 — 22nd May 1999.
They have: 11 posts
Joined: Apr 1999
Thanks. It did the trick.
JP Stones posted this at 23:07 — 22nd May 1999.
They have: 2,390 posts
Joined: Nov 1998
Yep, you're right.
You really have talent at designing catchy websites you know!
JP
----------
The Webmaster Promotion and Resource Center.
http://www.what-next.com
Anonymous posted this at 01:49 — 23rd May 1999.
They have: 5,633 posts
Joined: Jan 1970
cldennis,
You got the script in use yet? I would like to see it.
----------
My goal in life is found in Phillipians 4:8-9
cldennis posted this at 03:17 — 25th May 1999.
They have: 11 posts
Joined: Apr 1999
I sure do it is www.jitis.com. I am having a problem with i though. It works well with IE howvever when tested on Netscape 4.5 None of the javascript works. Any ideas? I checked it with browser compatability software (Browserola) and it works fine however thepublished version doesn't work?
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.