peterman5 — 2012-11-14T03:55:24-05:00 — #1
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
Naturally , there is a group of images, each will have more than one image to be swapped
cups — 2012-11-14T04:42:49-05:00 — #2
Are the images in the database, or are the paths to the images kept in the database?
PHP/Mysql will only be responsible for outputting a load of html (containing img links) into the html source code of your page.
The behaviours which then do your image swopping are then done in JS (or use a JQuery library if you prefer) with that source code.
peterman5 — 2012-11-14T05:05:12-05:00 — #3
cups — 2012-11-14T05:19:35-05:00 — #4
JS will not get them out of your database.
JS will help add behaviours on the client browser.
Have you got the images out of your database yet then?
peterman5 — 2012-11-14T08:49:27-05:00 — #5
My Dear Friend
Thank you for your support
I will do the rest with php
and in the body the process of invoking the rest
So if you forget about php mysql database, and have the function, I can do the rest
Many Many thanks for your help
peterman5 — 2012-11-14T08:51:01-05:00 — #6
Many Many Thanks My friend
cups — 2012-11-14T09:04:22-05:00 — #7
In that case, as you have now explained that you are able to get the images into JS arrays it is time to say you are in the wrong forum, sorry
I will ask this thread be moved to the JS forum, there you will be able to find the help you need.
system — 2014-10-07T23:13:22-04:00 — #8
This topic is now closed. New replies are no longer allowed.