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 19. Apr 2024, 17:46

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  [ 8 posts ] 
Author Message
 Post subject: two iframe side by side
PostPosted: 10. Mar 2016, 22:16 
Offline

Joined: 10. Mar 2016, 22:13
Posts: 8
Hello,
I like to have two iframe (advanced pro) side by side on the same page, but for now they are one below the other.
I can not put them side by side, there is there a possibility?
Thank you in advance for your help.


Top
 Profile  
 
PostPosted: 10. Mar 2016, 23:03 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Sure. you can give the iframe also styles. So use float:left on both for example.

Best, Michael


Top
 Profile  
 
PostPosted: 11. Mar 2016, 09:37 
Offline

Joined: 10. Mar 2016, 22:13
Posts: 8
I have tried this before, but it does not work.
However ca works for two image but when it comes to tags [advanced pro iframe] it does not work.

for example :

[advanced_iframe securitykey="key" src="url internet" use_shortcode_attributes_only="true" id="classement A" allowfullscreen="true" show_iframe_loader="false" scrolling="no" height="1000" width="1000" show_part_of_iframe="true" show_part_of_iframe_x="40" show_part_of_iframe_y="400" show_part_of_iframe_width="450" show_part_of_iframe_height="550" show_iframe_loader="true"]

[advanced_iframe securitykey="key" src="url internet" use_shortcode_attributes_only="true" id="resultats A" allowfullscreen="true" scrolling="no" height="1500" width="1000" show_part_of_iframe="true" show_part_of_iframe_x="40" show_part_of_iframe_y="420" show_part_of_iframe_width="450" show_part_of_iframe_height="800" show_iframe_loader="true"]


Last edited by boumboum on 11. Mar 2016, 14:50, edited 1 time in total.

Top
 Profile  
 
PostPosted: 11. Mar 2016, 10:29 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Because the feature you use renders additional divs around. You need to set show_part_of_iframe_style=""

or you put your own divs around and style these.

Best, Michael


Top
 Profile  
 
PostPosted: 11. Mar 2016, 12:15 
Offline

Joined: 10. Mar 2016, 22:13
Posts: 8
Thanks for your help

but I still do not manage to make it work, I applied this:

[advanced_iframe securitykey="key" src="url" use_shortcode_attributes_only="true" id="classement A" allowfullscreen="true" show_iframe_loader="false" scrolling="no" height="1000" width="1000" show_part_of_iframe="true" show_part_of_iframe_x="40" show_part_of_iframe_y="400" show_part_of_iframe_width="450" show_part_of_iframe_height="550" show_iframe_loader="true"show_part_of_iframe_style = float:"left"]

[advanced_iframe securitykey="key" src="url" use_shortcode_attributes_only="true" id="resultats A" allowfullscreen="true" scrolling="no" height="1500" width="1000" show_part_of_iframe="true" show_part_of_iframe_x="40" show_part_of_iframe_y="420" show_part_of_iframe_width="450" show_part_of_iframe_height="800" show_iframe_loader="true"show_part_of_iframe_style =float:"right"]


Last edited by boumboum on 11. Mar 2016, 14:51, edited 1 time in total.

Top
 Profile  
 
PostPosted: 11. Mar 2016, 13:29 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Because this not valid short code what you have written:

show_iframe_loader="true"show_part_of_iframe_style = float:"left"]
->
show_iframe_loader="true" show_part_of_iframe_style="float:left;"]

Best, Michael


Top
 Profile  
 
PostPosted: 11. Mar 2016, 14:10 
Offline

Joined: 10. Mar 2016, 22:13
Posts: 8
I'm sorry to annoy you with this problem.

I think I properly applied your advice but it still does not work.
If what I have set is good, there would he not an option, attorneys in the raglages plugin which shall prevent run?

code :

[advanced_iframe securitykey="key" src="url" use_shortcode_attributes_only="true" id="classement A" allowfullscreen="true" show_iframe_loader="false" scrolling="no" height="1000" width="1000" show_part_of_iframe="true" show_part_of_iframe_x="40" show_part_of_iframe_y="430" show_part_of_iframe_width="450" show_part_of_iframe_height="500" show_iframe_loader="true" show_part_of_iframe_style="float:left;"]

[advanced_iframe securitykey="key" src="=url" use_shortcode_attributes_only="true" id="resultats A" allowfullscreen="true" scrolling="no" height="1500" width="1000" show_part_of_iframe="true" show_part_of_iframe_x="40" show_part_of_iframe_y="420" show_part_of_iframe_width="450" show_part_of_iframe_height="800" show_iframe_loader="true" show_part_of_iframe_style="float:right;"]


Top
 Profile  
 
PostPosted: 11. Mar 2016, 15:27 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Your area is 1000 px wide - so 2 iframes mean 2000px - is your screen that wide? Because if you flat left and you have less than 2000 px in the sourounding element the frames are shown below each other.

so you might want a div around this with a size > 2000 px.

And than it also depends on your css of the theme. Maybe there are additional borders or styles you have to take into account and maybe you also have to overwrite them.

Best, Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

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