Jump to content

Portolio with php and ajax


designeren

Recommended Posts

Hello

Im totally noob coding ajax, i need help making a portfolio:
http://jacob.hfabc.dk/portfolio/

As you can se is there 3 pictures in each collum. Every picture is small and when you click it open a larger.
All scould work from mySQL, so i upload a picture with comment and link. Then it resize it self.

how can i make that system?
Link to comment
https://forums.phpfreaks.com/topic/26041-portolio-with-php-and-ajax/
Share on other sites

I'm not sure where to start on this.  If you're a complete noob, go read the tutorials on www.ajaxfreaks.com .  What you need to do is make the larger picture area the container for the updated content.  Then each smaller picture has an onclick event which calls a JavaScript function that will pass data to the server and retrieve the right data from the server and display the bigger picture on the right in the big div.

But you have to learn a lot to go from what you have to the AJAX functionality.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.