DYNAMIC ID

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
fugix
Forum Contributor
Posts: 207
Joined: Fri Mar 18, 2011 8:01 pm

DYNAMIC ID

Post 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
Kurby
Forum Commoner
Posts: 63
Joined: Tue Feb 23, 2010 10:51 am

Re: DYNAMIC ID

Post 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.
Post Reply