vmicchia Posted June 8, 2010 Share Posted June 8, 2010 Ok what I want to do is have some images on the right hand side of the screen and when you click one the image appears on the left part of the screen. I know how to do this normally but I want to do this without the page refreshing. Basically the images are pulled from a database and populated in this list using php. This is going to be made more complex as it goes along but I need somewhere to start. Thank you so much for any ideas or help. Quote Link to comment Share on other sites More sharing options...
F1Fan Posted June 8, 2010 Share Posted June 8, 2010 You actually don't need to use Ajax for this. You can use fairly simple JS. Just create a JS function that changes the source of the left image. Then, when you load the page, and the thumbnails on the right, just pass the large image source into that JS function with an onclick event. Quote Link to comment 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.