Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
12-02-2013, 07:40 PM #1
- Join Date
- Dec 2013
- Thanked 0 Times in 0 Posts
I'm making a portfolio site for my graphic design work, so I've created a mySQL database to store all the image and project information. I was hoping that in the design all the image thumbnails would be displayed in a grid, and once clicked, each image would toggle a div that would house a larger image and description of the project. I've gotten all the images to display correctly, but I can't figure out how to get the toggle to work. Right now -something- happens when an image is clicked, but none of the content is showing up, and it's not reversible like a toggle should be.
Also, I don't really know how I'm going to get each image to display its corresponding description when clicked, and ONLY that description, as opposed to one click making all the toggles for each image fire off at once. I've got a little 'i' variable going on with the reasoning that it will count up with each image and thus assign each image a unique id that can be called, but I'm not sure what to do with it now that I've got it... (can you tell I've been using PHP for like, a week). But perhaps that's a question better asked in the PHP forum.
If you're interested in looking at the weird thing it's doing right now, here's my testpage:
Here's my code:
12-03-2013, 12:49 AM #2
Having said that... At least you showed us a demo page so we can go do the VIEW==>>SOURCE ourselves.
Uncaught ReferenceError: $ is not defined -- tag_transition.js
Is that the only problem? No idea. Maybe it would help to carefully read to documentation for that library to see if you are using it right.Be yourself. No one else is as qualified.