View Full Version : Dynamic load web pages into div

10-19-2008, 12:22 AM
Not sure if this is the correct board but I hope so.

Hello everyone. I really hope someone can help me, I think what I need help with is a fairly simple issue, and I have found good stuff on the web, but just cant get exactly what I need.

Its really simple, I just want to dynamically load a few divs so my users don't have to load a new page every time they click a button. Its for my portfolio. for example from the home page there is button called Audio/Video Production. On click I want it to update 3 divs. One called "media" where the videos will play, a div next to it that holds text, that describes the video playing.

and the third div (lets call it media buttons) below the original navigation buttons that loads up buttons for more videos. The buttons in this third div would then also dynamically load material into the media div and text div (so all these buttons in the third div called media buttons would need to dynamically load two divs)

Does this make sense?
Sorry I'm more of designer, but I do understand HTML,and some basic AJAX and PHP. Enough to know what I want and that it can be done, but not quite enough to pull it all together. I found many good sites, including this one (http://nodstrum.com/2007/02/27/ajaxcontentload/) that got me some good help but I just couldn't apply it to my web page.

The problem I think is that these site have good solutions, but there written by programmers, and they don't explain very well how to use or implement the code. It might make sense to other programmers, but its a little over this designers head.

I'm not a newbie, I went to school for media design, and understand a good portion of what I am reading on these other sites, but if someone can help with the solution, and please explain it to me like I'm a child that would really help. Lots of step by steps instruction if you got the patience.

I wanted to include a diagram of my site to better illustrate what I want to do, but the size limit makes it hard. If you want to see what I have please let me know.

10-19-2008, 03:00 AM
do you have anything online to look at? have you built any of the html pages you want to open? have you considered just building one page with all the tools, and updating the content of the divs using javascript?

I'm not an ajax expert, but loading a web site into a div just to change the content seems excessive if the content is primarily media;)