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 25. Apr 2024, 22:15

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  [ 48 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
PostPosted: 1. Mar 2019, 01:47 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
found the problem. I was renaming a method. And I renamed the wrong one... I make a new build and send you a link tomorrow.

Best, Michael


Top
 Profile  
 
PostPosted: 1. Mar 2019, 09:55 
Offline

Joined: 18. Nov 2018, 21:40
Posts: 50
Hi,
Removed
var onload_resize_delay=100;

Now I can see the page again!
Also I do not have the problem in Chrome where the page was clipped at the bottom so I could not see the navigation on the iframe page.

Still the iframe does not show on Chrome mobile (IOS and android).


Top
 Profile  
 
PostPosted: 1. Mar 2019, 10:19 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Please wait for my fix. Because the resize delay fixed the mobile chrome issue.
But the wrapper is now gone. This was the first goal.

Best, Michael


Top
 Profile  
 
PostPosted: 4. Mar 2019, 16:47 
Offline

Joined: 18. Nov 2018, 21:40
Posts: 50
Hi Michael, what is the progess on the fix?


Top
 Profile  
 
PostPosted: 5. Mar 2019, 10:34 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Fix is done but unfortunately In between I was doing some code changes to meet the new code canyon plugin requirements. I need to test everything now again. Still in progress. I maybe can send you a version tonight.

Best, Michael


Top
 Profile  
 
PostPosted: 6. Mar 2019, 00:41 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I just did some tests with my new version. It is is still not stable enough!
If you like I can point to you the place you need to change. you only have to modify 2 places...

Best, Michael


Top
 Profile  
 
PostPosted: 6. Mar 2019, 11:02 
Offline

Joined: 18. Nov 2018, 21:40
Posts: 50
Yes, just let me know where to change and I can test it.


Top
 Profile  
 
PostPosted: 7. Mar 2019, 00:00 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
You need to modify js/ai_external.template.js


There is a method called:
aiResizeLater_PARAM_ID() {
document.body.style.overflow='auto';
}

it needs to be

function removeOverflowHidden() {
document.body.style.overflow='auto';
}

then

if (keepOverflowHidden === 'false') {
var timeoutRemove = onload_resize_delay + 500;
window.setTimeout(aiResizeLater_PARAM_ID, timeoutRemove);
}

needs to be

if (keepOverflowHidden === 'false') {
var timeoutRemove = onload_resize_delay + 500;
window.setTimeout(aiRemoveOverflowHidden, timeoutRemove);
}



Save this file. Then go to the administration and save to generate ai_external.js again.
Retry...

Best, Michael


Top
 Profile  
 
PostPosted: 7. Mar 2019, 10:55 
Offline

Joined: 18. Nov 2018, 21:40
Posts: 50
Hi, I edited the file and now the iframe is not showing at all. In Chrome inspector I see this error:

Uncaught ReferenceError: aiRemoveOverflowHidden is not defined
at aiExecuteWorkaround_frame_content (ai_external.js?vs=35:308

I had to change the code back to original to at least get my iframe to work on desktop browser.


Top
 Profile  
 
PostPosted: 7. Mar 2019, 11:01 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Ah

function removeOverflowHidden() {
->
function aiRemoveOverflowHidden() {

I did a lot of refactoring. e.g. each of the methods now has its own prefix ai...


Top
 Profile  
 
PostPosted: 7. Mar 2019, 11:15 
Offline

Joined: 18. Nov 2018, 21:40
Posts: 50
Good. Page is showing again!

Still does not show on Chrome mobile. Page loads on Firefox mobile and Safari IOS.
https://biofokus.no/narin/


Top
 Profile  
 
PostPosted: 7. Mar 2019, 14:06 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
and now you add

var onload_resize_delay=100;

again.


Top
 Profile  
 
PostPosted: 7. Mar 2019, 15:09 
Offline

Joined: 18. Nov 2018, 21:40
Posts: 50
Thanks I did that and emptied all caches. Still not showing in Chrome mobile.


Top
 Profile  
 
PostPosted: 8. Mar 2019, 02:01 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
strange- was was the setting when on mobile it does work.
About chrome mobile. IOS, Android?

where can I test?

Best, Michael


Top
 Profile  
 
PostPosted: 8. Mar 2019, 10:42 
Offline

Joined: 18. Nov 2018, 21:40
Posts: 50
You can test this page on Chrome mobile:
https://biofokus.no/narin/
Does not work on mobile Chrome. The shortcode is this:
Code:
[advanced_iframe src="https://narin.biofokus.no/indexbio_sa.lasso" id="narinbio" use_shortcode_attributes_only="true" enable_external_height_workaround="true" enable_responsive_iframe="true" hide_page_until_loaded_external="true" url_forward_parameter="ALL" width="100%" height="300"  scrolling="no"]


This page uses the same iframe but different shortcode. Shows only part of the iframe on Chrome mobile:
https://biofokus.no/narin-test/
Shortcode:
Code:
[advanced_iframe src="https://narin.biofokus.no/indexbio_sa.lasso" id="narinbio" enable_responsive_iframe="true" enable_external_height_workaround="true" width="100%" height="300" url_forward_parameter="ALL" scrolling="no"]


I really can't remember if it has worked on Chrome mobile. My old page did work https://biofokus.no/narin-test2
It uses same shortcode as the first page (/narin/) but different iframe.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 48 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 27 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