peterman5 Posted November 14, 2012 Share Posted November 14, 2012 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 Quote Link to comment https://forums.phpfreaks.com/topic/270666-need-a-swapping-image-of-arrays-on-mouseover/ Share on other sites More sharing options...
Muddy_Funster Posted November 14, 2012 Share Posted November 14, 2012 So...you want a custom JQuery function given to you, as well as instructions how to integrate it with php variables? You posted in the wrong section - you need to go to the freelance board. Quote Link to comment https://forums.phpfreaks.com/topic/270666-need-a-swapping-image-of-arrays-on-mouseover/#findComment-1392212 Share on other sites More sharing options...
codefossa Posted November 14, 2012 Share Posted November 14, 2012 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. Quote Link to comment https://forums.phpfreaks.com/topic/270666-need-a-swapping-image-of-arrays-on-mouseover/#findComment-1392214 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.