PDA

View Full Version : How to Make A page Load inside Another Page?



Zacman0311
Apr 17th, 2011, 08:54 PM
On this website... http://livedemo00.template-help.com/wt_33521/index.html# When you click on the Navigation Bar the website pages load inside that page?

How exactly would i go around doing this?

Thankyou

Philip M
Apr 17th, 2011, 09:29 PM
On this website... http://livedemo00.template-help.com/wt_33521/index.html# When you click on the Navigation Bar the website pages load inside that page?

How exactly would i go around doing this?

Thankyou

iframe.


All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.

bullant
Apr 17th, 2011, 10:58 PM
Looking at the source code for that link it appears they are using a combination of various js libraries to show/hide (with animation) various content depending on which button is clicked and/or creating content dynamically based on the clicked button.

VIPStephan
Apr 18th, 2011, 12:19 AM
Actually they are not using an iframe but jQuery’s load() function (which is a “shortcut” for the ajax() function which is making asynchronous requests). Specifically, they are using the “ajaxSlider” plugin which contains that function together with other functionality.

It helps to know JavaScript and/or jQuery to implement this, though.