Removable top/bottom div navigation?

Reformed

Banned
Joined
Oct 31, 2006
Messages
125
I used to have the code for this but seems I have lost it. I can't find an example of it now either. What I am looking for is this: showing an external website with a top or bottom menu that is removable by clicking a link should anyone want to get rid of it, but if not they can easily get back to my site by using the other links on it. The menu used to remain on the top - or bottom - wherever they went on the net. It was using divs. Very neat it was too. Anyone seen any example of it on the net so I can go take a look at the code, or might know how to set it up?
 

Shovel

Can't get enough of FH
Joined
Dec 22, 2003
Messages
1,350
There are a few ways, inevitably involving frames in some way or other, probably an IFRAME if it's modern. Always struc me as somewhat pointless. Anyway, you can set the @src attribute of the IFRAME to any page on the net and following links of that page will remain in the IFRAME. Alternatively, you can use server-side scripting to load the page content and dynamically rewrite all the URLs in the page, but that's highly likely to break lots.

Examples that come to mind are Kelkoo and Google Images.
 

Reformed

Banned
Joined
Oct 31, 2006
Messages
125
Google Images.

Taken a look at their setup. Dead simple way of achieving the same thing I suppose though there are some drawbacks. For one thing they are collapsing the top frame by simply using an url with the target="_top" control. Only problem with that it is url specific and whatever url you are using will show when you decide to remove the frame. Should the viewer move off the initial page then they could get a bit confused. Probably though I will use this method. I want to show guitar tuning and chords etc off a site not by showing a popup but moving the user off my site fully but still enabling them to return with the links at the top. I don't like opening lots of windows when viewing a site. The method I used to have would have kept the same page they were viewing when or if they decided to remove the top menu. It didn't use frames though but divs. Still the Google Images setup will do for sure. Thanks.
 

Users who are viewing this thread

Top Bottom