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
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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.