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 22. Oct 2017, 21:08

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 26. Mar 2016, 02:28 
Offline

Joined: 26. Mar 2016, 02:25
Posts: 1
Hi, I would like to show my iFrame only on desktop computers and hide it on mobile devices.

I know that I have to use different id's somehow, like below, but how can I just hide the iFrame for iOS and other mobile screens?

[advanced_iframe securitykey="xxx" id=“ios_devices” src="xxx" browser="iphone,ipad,ipod" width="0%" height="0"]
[advanced_iframe securitykey="xxx" id=“other_mobile” src="xxx" browser="mobile" width="0%" height="0"]
[advanced_iframe securitykey="xxx" id=“desktop” src=“xxx” browser="default"]


Top
 Profile  
 
PostPosted: 26. Mar 2016, 13:55 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10498
Please check the documentation. You need to have the SAME id for all

[advanced_iframe securitykey="xxx" id="iframe1" src="about:blank" browser="mobile,iphone,ipad,ipod" width="0" height="0"]
[advanced_iframe securitykey="xxx" id="iframe1" src=“xxx” browser="default"]

Or you make it the other way around and specify "desktop" in the first shortcode and all other devices in the default and hide it there.

Best, Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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® Forum Software © phpBB Group

phpBB SEO