Highlighted

How to open an iframed Muse page link in same browser window?

Enthusiast ,
Apr 05, 2018

Copy link to clipboard

Copied

See the diagram below.  I have a Muse page iframed on a page.  When I add links to the round buttons and you click on one, the new page (which is not a Muse page) opens in the iframe window.

Using target=blank works as it will then open the non Muse page in a tab.  But what I need to do is have the link open in the same browser window.

Does anyone know how I can integrate some code into Muse to make this happen?  Thanks.

diagram.jpg

Use target=“_top” or target=“_parent”. This should open the iFrame links in the way you require.

David

Creative Muse

Views

507

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

How to open an iframed Muse page link in same browser window?

Enthusiast ,
Apr 05, 2018

Copy link to clipboard

Copied

See the diagram below.  I have a Muse page iframed on a page.  When I add links to the round buttons and you click on one, the new page (which is not a Muse page) opens in the iframe window.

Using target=blank works as it will then open the non Muse page in a tab.  But what I need to do is have the link open in the same browser window.

Does anyone know how I can integrate some code into Muse to make this happen?  Thanks.

diagram.jpg

Use target=“_top” or target=“_parent”. This should open the iFrame links in the way you require.

David

Creative Muse

Views

508

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 05, 2018 0
Guide ,
Apr 05, 2018

Copy link to clipboard

Copied

Use target=“_top” or target=“_parent”. This should open the iFrame links in the way you require.

David

Creative Muse

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 05, 2018 1
Enthusiast ,
Apr 06, 2018

Copy link to clipboard

Copied

Thank you but here is the catch.  Can I add this inside of Muse before exporting to HTML?  When you add a link inside the Muse software, it only has a check mark that says "open this in a new window" but there's no way to tell it to use top or parent.

??

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 06, 2018 0
Guide ,
Apr 06, 2018

Copy link to clipboard

Copied

You can. It’ll take a bit of work, though. Create your button graphics. Instead of placing them on the page, use the Add Files for Upload option in the file menu. Now go to Object > Insert HTML and add the following, replacing the page/image name and width of the image (that’s optional):

<a href=“yourpage.html” target=“_top”><img src=“assets/imagename.png” width=“40px”></a>

Do this for each button in turn.

David

Creative Muse

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 06, 2018 2
Enthusiast ,
Apr 07, 2018

Copy link to clipboard

Copied

Thank you I appreciate this!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 07, 2018 1