PDA

View Full Version : Help With Masking



themoose
July 12th, 2005, 11:15
Right so heres the story:

I own a site and have started again with the forums in ipb, but now the forum address is sumthing like http://s12.invisionfree.com/forumname and i want it to look like www.mysite.com/forum(.html).
I kno the basic masking:


<frameset rows="100%,*" frameborder="NO" border="0" framespacing="0">
<frame name="main_frame" src="http://www.example.com/">
</frameset>

But i still want visitors to link to a certain thread, which is not possible like this. How would you place a small cross [x] in the top-right corner so they can remove the masking?

Thanks

Meksilon
July 13th, 2005, 00:46
<a href=http://s12.invisionfree.com/forumname/... target=_top>[x]</a>A better way might be automatically break-out of frames when people click on a forum thread. To this just add "target=_top" (without quotes) to the anchors linking to threads... alternatively you could just put in the <HEAD> tags <base target=_top> which would replace the default being _self.

jmiller
July 13th, 2005, 01:38
Meksilon, that doesn't actually give the user the option of breaking out should they want to, it forces them to.

If he wanted to do that, he wouldn't have posted the question to begin with.

--

If possible, I would place the following in a header somewhere on your forum:

<a href="" target="_top">[x]</a>

This should break out of the frame and load the current page.

themoose
July 13th, 2005, 10:25
thanks jmiller that worked perfectly.

jmiller
July 13th, 2005, 12:57
No problem. Glad you got it all worked out. =)