Topic-icon Open window from iframe target parent

Active Subscriptions:

8 years 7 months ago #33553 by plezi69
I am looking to open this link below in target_parent but I don't know how to do that with this code.. the component opens in the iframe instead

<a href="javascript:void(0)" onclick="jfbc.login.login_custom();">
The topic has been locked.
Support Specialist
8 years 7 months ago #33566 by alzander
You'll need to edit the /components/com_jfbconnect/includes/jfbconnect.js file. Search for "self.location" and you'll find a line like below:
Update that self.location to top.location and that should work on the main window, not just the inner iframe.

Let me know how that goes, but if you need anything else, we'll be here.

The topic has been locked.
Social Stream
Hide. Seek. Play!

Countdown Hide & Seek Game

Countdown, the new hide & seek toy, is available now! Designed and developed by the founders of SourceCoast, it's the perfect toy to get your kids moving at all ages.

Learn More About the Hide and Seek Toy