Welcome Guest   | Login   
  Search  
  Index |  Recent Threads |  Register | 


Quick Go »
Thread Status: Normal
Total posts in this thread: 4
[Change thread status] [Delete this Thread] [Move this Thread]
[Add To My Favorites] [Watch this Thread] [Post new Thread]
Author
Previous Thread This topic has been viewed 270 times and has 3 replies Next Thread
Mel74
New Member



Joined: Sep 10, 2011
Posts: 5
Status: Offline

Edit this Post   linking out of iframe to a full page Reply to this Post
Reply with Quote
[Delete this Thread]

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?
[Sep 25, 2011, 1:02:48 PM] [24.47.83.216] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
support
localendar Expert
Member's Avatar


Joined: Aug 9, 2022
Posts: 6438
Status: Offline
Edit this Post   Re: linking out of iframe to a full page Reply to this Post
Reply with Quote
[Delete this Post]

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
[Sep 28, 2011, 7:50:47 PM] [68.198.253.122] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
Mel74
New Member



Joined: Sep 10, 2011
Posts: 5
Status: Offline

Edit this Post   Re: linking out of iframe to a full page Reply to this Post
Reply with Quote
[Delete this Post]

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.
[Sep 29, 2011, 4:52:57 PM] [24.47.83.216] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
support
localendar Expert
Member's Avatar


Joined: Aug 9, 2022
Posts: 6438
Status: Offline
Edit this Post   Re: linking out of iframe to a full page Reply to this Post
Reply with Quote
[Delete this Post]

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
[Oct 5, 2011, 8:48:22 PM] [68.198.253.122] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
[Show Thread Printable Version] [Post new Thread]

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