localendar Forums Homepage

Print at Feb 20, 2026, 11:45:10 PM
Posted by Mel74 at Sep 25, 2011, 1:02:48 PM
linking out of iframe to a full page
I have inserted a calendar to my website using an iframe. For one of my listings on the calendar, I inserted a link to a separate page on my site which describes the event in full detail. However the link opens up only within the iframe. How do you make the link display to a full page?

Posted by support at Sep 28, 2011, 7:50:47 PM
Re: linking out of iframe to a full page
if your link (you may want to edit the HTML) you can specify that the target open up in a new window.

For example:

<a target=_blank href="http://www.yahoo.com">Go to Yahoo</a>

The target=_blank is what causes this behavior.
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news

Posted by Mel74 at Sep 29, 2011, 4:52:57 PM
Re: linking out of iframe to a full page
Thank you, opening to a new page works, but I really don't want a new tab opened. I just want the link to open to a full size page, not just within the iframe.

Posted by support at Oct 5, 2011, 8:48:22 PM
Re: linking out of iframe to a full page
You kind of lost me. The target=_blank should give you that new page (or tab, depending on how the user configures their browser.

Are you saying you want it to "bust" out of the frame and take over the current window they are looking at?

If that's the case.. try this. Put this code at the top of the page on your site where you have the event details:
<SCRIPT LANGUAGE="Javascript">
<!--
if (top.location != self.location) {
top.location = self.location;
}
//-->
</SCRIPT>


That should make that page "bust" out of the frame if a visitor gets to it via your calendar.
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news


Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us