View Full Version : Resolved Image change on the click of a button?

11-17-2012, 07:10 PM
Hello everyone,

I'm currently creating a page to advertise different bundles for a product and I was wondering if it'd be possible to have three buttons which all display a different image.

For example, in the middle of the page would be a banner, on the click of button 2 this would then change to a different header. I'm not too sure if this is possible through PHP but any help would be fantastic :)!

11-17-2012, 07:13 PM
not really specific enough and you haven't shown any examples, but you will most likely want to do this client side with JavaScript as if you did it with just PHP you'd have to refresh the page on every click.

11-17-2012, 07:45 PM
I managed to find a suitable method via JQuery, would've seemed more appropriate to use JavaScript/JQuery. Thanks!