Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

iFrame internal links redirecting off page
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=3858
Page 1 of 1

Author:  jareth21 [ 9. May 2015, 23:08 ]
Post subject:  iFrame internal links redirecting off page

I'm certain this already been addressed, but I cannot find anything that makes plain sense to me.

What I am attempting to do in frame a series of html pages on my domain into the WP page. iFrame is the best solution since the pages are updated daily through an automated CSV exporter. The issue I am running into is that the HTML pages have a built in menu system and when you click on of the links, it takes you to the un-framed page.

I LOVE the idea of this being a lightbox, but I cannot figure out how to make it work. I would settle for it just being able to keep everything in a single frame on a single page; otherwise I am looking at over 30 framed pages.

Any help?

Author:  TinyWebGallery [ 10. May 2015, 21:44 ]
Post subject:  Re: iFrame internal links redirecting off page

The menu is inside the iframe? But on the same domain? You have the option in the pro version to change the link targets.
I don't understand where/how you want to use a lighbox.

Best,
Michael

Author:  jareth21 [ 12. May 2015, 05:24 ]
Post subject:  Re: iFrame internal links redirecting off page

I thought I saw an option to use a light-box rather than just having it be a plain old iframe. Like if I clicked on a link in the menu, it would load the new page in the light box rather than a new tab.

If that's not the case, its no big deal, what I really NEED is the links to just open in the frame.

You say it can do that, and I have PRO...but I am struggling to make it work.

Author:  TinyWebGallery [ 12. May 2015, 09:39 ]
Post subject:  Re: iFrame internal links redirecting off page

The lightbox is for links on the parent page! See
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/change-links-targets#e34

On the same page you see 2 more examples where the link targets of links inside the iframe are changed.
I think this is what you need that the links stay in the iframe.

Best, Michael

Author:  jareth21 [ 22. May 2015, 05:52 ]
Post subject:  Re: iFrame internal links redirecting off page

That code should be what I want...but I cannot get it to work.

Author:  TinyWebGallery [ 22. May 2015, 12:26 ]
Post subject:  Re: iFrame internal links redirecting off page

I is always tricky to find the right elements. What do you have so far?

Best, Michael

Author:  jareth21 [ 23. May 2015, 01:46 ]
Post subject:  Re: iFrame internal links redirecting off page

I decided to just use multiple pages and remove the original HTML menu.

Thanks though.

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/