Topic: Bust a frameset when links are clicked (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=28129" title="Pages that link to Topic: Bust a frameset when links are clicked (Page 1 of 1)" rel="nofollow" >Topic: Bust a frameset when links are clicked <span class="small">(Page 1 of 1)</span>\

 
butcher
Paranoid (IV) Inmate

From: New Jersey, USA
Insane since: Oct 2000

posted posted 06-27-2006 00:41

For the first time I have found an instance where using frames will make things so much easier for me that I can't afford not using them. Let me give a little background...

I need to sqeeze a vBulletin install into my company's new site layout and trying to customize the vBulletin install to look and act like the site in question will take more time than I have if it's even possible. So... I've taken my sites header and put it in one frame and stripped out of vBulletin what I don't want and put it in another frame.

Now for my problem. I still want the nav links in the top frame to work like they did originally but of course they don't affect the frame that the vBulletin is in. How would I go about making any links in the top nav except for the link to the forums bust the frame and load the link in a full window.

Thanks to anyone that stayed with me through that rambling explanation.

- Butcher -

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 06-27-2006 01:01
code:
<a href="something.html" target="_top"/>



Should work on those.



.:[ Never resist a perfect moment ]:.

_Mauro
Maniac (V) Inmate

From:
Insane since: Jul 2005

posted posted 06-27-2006 02:14

Yuppers, the good old style. Other than that, you can have them pop-up in a new window using something like
target="_blank", just in case, but it's not a standard anymore...

No biggie, but a little javascript snippet could also
do the trick while keeping it standard. onclick="javascript:window.open('_top',this.href);" for example, inside the a tag (instead
of the target).

If I am not mistaken, it's late and this is old to me.

butcher
Paranoid (IV) Inmate

From: New Jersey, USA
Insane since: Oct 2000

posted posted 06-27-2006 02:15

Thanks Bit and _Mauro

Boy do I feel foolish ranting on for something that simple.

- Butcher -

(Edited by butcher on 06-27-2006 02:16)



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu