Click to See Complete Forum and Search --> : frames (groan)


bloke
04-24-2003, 06:07 AM
Hi

This is probably very simple but I don't use frames very often. I have a number of frames on a page with the main frame forming the page content (nav on left, banner at top etc). Now, I need a 'home' link within the main frame which will close all navigation and return the user back to the home page - as if they were clicking refresh on the browser. I've tried <a href='javascript:history.go()'>Home</a> but this only refreshes that particular frame.

Can anyone help?!

Cheers

bloke
blokeinthekitchen.com

Charles
04-24-2003, 06:41 AM
Be careful of creating a JavaScript dependant site. At least one in ten users do not use it.

<a href="index.html" target="_top">Home</a>

bloke
04-24-2003, 06:44 AM
Cheers mate, just the trick. Tar. I knew it would be something simple!

Thanx again.


bloke
blokeinthekitchen.com