Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
URL problem https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4215 |
Page 1 of 1 |
Author: | michga [ 2. Feb 2017, 18:27 ] |
Post subject: | URL problem |
After buying the Pro version of advanced iFrames (which is an amazing piece of software), I am in the process of setting up my first iframe, and got stuck in the following: my site is on a subdomain, like tv.asdfasdf.org, here are the iframe page AND my posts. In the Basic Settings I put the URL as: http://tv.asdfasdf.org/wp-content/plugins/OctoshapePlayer/octoshape.html?file=testestest (I understand that this parameter should point to the content that should open in the iframe) If I open this URL in a normal browser window, the content shows nicely. Now I want to open this in a layer. So I make a link in my Wordpress post with no href and an id="link01": <a id="link01">open layer</a> insert an advanced iframe in the post, and put in the "Advanced Settings" -> "Open iframe in layer" -> Change parent links target: a#link01 and check "Show iframe as layer: "Yes". Now if I click the link in my post, it darkens the screen and draws a rectangle, but no content is coming. What could be the reason? Thank you for your help! Michga PS: If I choose: Show iframe as layer: "No", the webpage shows the correct content, but not in a layer. |
Author: | TinyWebGallery [ 2. Feb 2017, 18:39 ] |
Post subject: | Re: URL problem |
Is this online already where I can see this? Are any errors in the Javascript console? Best, Michael |
Author: | michga [ 2. Feb 2017, 20:33 ] |
Post subject: | Re: URL problem |
I removed the access restriction, you can see the site here: http://tv.globalcountry.org/ Look at the uppermost post ("Test Post"). I do not see severe errors in the console. Best regards, Michga |
Author: | TinyWebGallery [ 3. Feb 2017, 00:06 ] |
Post subject: | Re: URL problem |
Hi The setup is not correct. You have <p style="text-align: left;"><a href="http://tv.globalcountry.org/wp-content/plugins/OctoshapePlayer/octoshape.html?file=Dec_18_2002_MSAE_67D_The_role_of_woman_in_creating_a_peaceful_world" target="_blank">open link</a></p> <p style="text-align: left;"><a id="link01">open layer</a></p> The important link is missing the href! See http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-the-iframe-as-layer Your iframe has no url (about:blank) but the link does need this as this is the link dynamically added as iframe src. Best, Michael |
Author: | michga [ 3. Feb 2017, 15:26 ] |
Post subject: | Re: URL problem |
Thank you for your help, I am progressing now! |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |