Log in

View Full Version : Page Navigation



MBX
12-27-2006, 05:36 PM
hi all

i'm looking for a specific way of navigating in the page, which is, if you press on next or the forward-arrow it would quickly bring in the content without actually go to a next page like it's usually done (linking to site2.html for example or loading the next page via frameset).

unfortunately i can't find an example now but thsoe sites usually surprised me how their content came in without actually loading a new page, the navigation remained there too. is that done by layered dhtml?

any examples, source scripts and/ or suggestions?

thanks in advance

benniaustin
12-27-2006, 08:51 PM
Easierst way is with an <iframe>. do a google search, and you should find some basic instructions for using one. Works much like a frameset, using names and targets.

The frame:

<iframe width="200" height="200" name="myFrame"></iframe>

The link:

<a href="http://www.google.com/" target="myFrame">link to google</a>

You can use some show/hide div logic with javascript, but that's much more complicated, and not always the right solution either.

MBX
12-27-2006, 09:14 PM
thanks for the hint, i'll have a look through google.