Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 29. Mar 2024, 15:16

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 31. Dec 2014, 19:20 
Offline

Joined: 31. Dec 2014, 19:16
Posts: 6
Hi,

The anchors doesn't works in iFrame when i use Firefox browsers. In fact when i disable the iframe elevator, the anchors doesn't works.

Have you ever encountered this problem?

Best regards.


Top
 Profile  
 
PostPosted: 1. Jan 2015, 23:00 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
What does

"In fact when i disable the iframe elevator, the anchors doesn't works."

mean?

And again: How have you defined the anchors?

Best, Michael


Top
 Profile  
 
PostPosted: 7. Jan 2015, 16:23 
Offline

Joined: 31. Dec 2014, 19:16
Posts: 6
Hi,

I use the option cookies in your plugin to calculate de height of iframe. That's works great.

The anchor are defined like :

Code:
<ul>
<li><a href="#introduction">Introduction</a></li>
<li><a href="#a-model-for-the-promoter-activation-rate">A model for the promoter activation rate</a></li>
<li><a href="#the-hog1-induced-gene-expression-model">The Hog1-induced gene expression model</a></li>
</ul>

<div id="introduction" class="section level3">
<div id="a-model-for-the-promoter-activation-rate" class="section level3">
<div id="the-hog1-induced-gene-expression-model" class="section level3">


it works with all browsers except Firefox.

Best regards.


Top
 Profile  
 
PostPosted: 7. Jan 2015, 16:56 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
This seems to be a bug in firefox.
See: https://www.google.de/search?q=anchor+don%27t+work+in+firefox+iframe&ie=utf-8&oe=utf-8&gws_rd=cr&ei=wUatVM6AOYnaPczIgfAC#q=anchor+doesn%27t+work+in+firefox+iframe

There is also a bug created
https://bugzilla.mozilla.org/show_bug.cgi?id=638598

And there seems to be a workaround:
If it can help anyone else, the workaround described in http://matthewmanela.com/blog/making-linking-between-anchors-in-an-iframe-work-in-firefox-11-and-above/ worked for me.

Best, Michael


Top
 Profile  
 
PostPosted: 7. Jan 2015, 17:03 
Offline

Joined: 31. Dec 2014, 19:16
Posts: 6
Where I can copy/paste the code in the page above ?

http://matthewmanela.com/blog/making-linking-between-anchors-in-an-iframe-work-in-firefox-11-and-above/

Is it possible to add this fix in a future update of your plugin ?

Best regards,


Top
 Profile  
 
PostPosted: 7. Jan 2015, 21:52 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
You need to copy this to your iframe page. But are you on the same domain?
Because otherwise this script does not work....

Also see here: http://stackoverflow.com/questions/9687085/jump-link-inside-an-iframe

Best, Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy