Page 1 of 1

GGPKG panorama & responsive design

Posted: Tue Sep 23, 2014 1:58 pm
by Vitaly
I always used my panoramas only in dedicated window without any floating text beside.
Now I have to insert panorama in standard Joomla article. Panorama must be floated by some text.
I started to use GGPKG package format. Panorama occupies fixed width of a page.
To make it responsive, I tried to insert panorama code into div:

Code: Select all

<div style="width: 60%; float: right;">
{ggpkg file="pool.ggpkg" display_userdata="false" display_map="false"}
</div>
When I resize page (making it smaller by width), panorama remains in its fixed size. It is possible make GGPKG responsive?

Re: GGPKG panorama & responsive design

Posted: Wed Sep 24, 2014 2:47 pm
by trev
Try setting the width to 100% in the properties for the ggpkg plugin. I have just tried it and it seems to work OK.

Trevor

Re: GGPKG panorama & responsive design

Posted: Thu Sep 25, 2014 10:03 am
by Vitaly
I saw the plugin settings, but I thought that px size is only allowed value. Just tried 100% - it works! Thank you.
But because of fixed height there is some disproportion of panorama size while page resizing. Well that may be acceptably.

Anybody knows why I don't receive notification about new answers although "Notify me when a reply is posted" is checked?