Jump to content

Recommended Posts

Hello

 

I have multiple images from a mysql database, I want to swap all these images onmouseover, IE, onmouseover, swap allthe images, each after some 3 4 seconds

 

I amsure this will be done with javascript and probably jquery, So I need the Javascript (Or Jquery) function, and how to pass php parameters

 

Naturally , there is a group of images, each will have more than one image to be swapped

 

Many Thanks

Get the image locations and stick them into an array. Check the $.hover() function and change it when it triggers. I don't know what PHP parameters would be necessary unless it's to get a certain list of images. Either way you just do this before the page loads. If you really want to do it after the page loads, then check out Ajax.

 

Since you didn't do any work, most likely you won't find someone here to just do it for you. We're here to help, not become your unpaid employee.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.