• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

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

Enthusiast ,
Apr 05, 2018 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

Views

748

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
community guidelines

correct answers 1 Correct answer

Guide , Apr 05, 2018 Apr 05, 2018

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

David

Creative Muse

Votes

Translate

Translate
Guide ,
Apr 05, 2018 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

Votes

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
community guidelines
Enthusiast ,
Apr 06, 2018 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.

??

Votes

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
community guidelines
Guide ,
Apr 06, 2018 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

Votes

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
community guidelines
Enthusiast ,
Apr 07, 2018 Apr 07, 2018

Copy link to clipboard

Copied

LATEST

Thank you I appreciate this!

Votes

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
community guidelines