harkly Posted December 17, 2009 Share Posted December 17, 2009 I have this code that won't work without the double quotes "" and I can't figure out how to get it to work in php. All is does is change an image to the one selected. Can anyone help? <div id='smImg'> <div class=smImg-shadow> <a href='javascript:setIMG('img/1.jpg');'><img src='img/1.jpg' border='0px' width='55' height='55'></a><br> <a href='javascript:setIMG('img/2.jpg');'><img src='img/2.jpg' border='0px' width='55' height='55'></a><br> <a href='javascript:setIMG('img/3.jpg');'><img src='img/3.jpg' border='0px' width='55' height='55'></a><br> <a href='javascript:setIMG('img/4.jpg');'><img src='img/4.jpg' border='0px' width='55' height='55'></a><br> <a href='javascript:setIMG('img/5.jpg');'><img src='img/5.jpg' border='0px' width='55' height='55'></a><br> </div> </div> Quote Link to comment Share on other sites More sharing options...
harkly Posted December 17, 2009 Author Share Posted December 17, 2009 Never mind find the solution!! \" Always happens as soon as I post the question 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.