If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

And thank you molendijk but I probably should have mentioned I wanted to avoid iframes A lecturer of ours heavily encouraged us to avoid them these days.

Your lecturer is right to the degree that iframes may be harmful in certain cases. But that's true for almost everything.
Iframes are harmful if there's a risk that they may destroy the history queue. But that's not the case here.
Iframes are valid elements in html5, and YouTube uses them in their new embeds.
So don't be afraid of iframes if you know what you're doing.
But I agree you shouldn't use them if you aren't aware of certain consequences pertaining to using them.
Arie.

Thanks for the advice I've tried a solution using "$("#content").load(href);" which grabs the href from the menu anchors and puts them in my content DIV - however, I'm losing this on refresh. Is there anyway to grab/detect which href is currently within a DIV and code this to persist after refreshing?

At the minute I can get:
window.onbeforeunload = function() {
return "Are you sure you wish to leave the page?";
}

To appear, so I'm just wondering if there's some sort of "#content.getHrefContents" equivalent that I could use when leaving the page, and hopefully put back into #content through some sort of "whenReloading" method? Again I haven't done a lot of web programming so apologies for the stupid method name guessing. Also is this the best way to do this? :/ Or should I give up and try the http://www.dynamicdrive.com/dynamici...axtabscontent/ method that Bernie posted that allows persisting?

It may be better to end up going with my suggestion, however with that method, you could try and retain the current tab using cookies and then if the cookie is set open the tab which the cookie refers to.

"Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus TorvaldsAnime Views ForumsBernie

Now for your content, just create a "home.html" page, a "contact.html" page and an "about.html" page with ONLY the HTML for the changing page content inside (no DOCTYPE , <head> or <body> tags, etc - just the fragment of HTML that shows inside the content div).