Page 1 of 1

DYNAMIC ID

Posted: Thu Mar 24, 2011 9:49 pm
by fugix
Hey guys,
I'm trying to figure out something that maybe you can help me with, im using the mouseenter() and mouseleave() on images so that it changes the picture size when your cursor is over the mouse. Anyway, in my PHP i have an img set to display for every row that there is an image in my database. now i want each image that is made to have a unique id or something of the sorts so when a user hovers over a specific image it enlarges only that image. Any thoughts? Thank you

Re: DYNAMIC ID

Posted: Fri Mar 25, 2011 10:48 am
by Kurby
Can you show the code of how you are pulling and displaying the images? You can more then likely use the id value of a <div> or something.