Page 1 of 1

wrong behavior of panorama menu offset

PostPosted: Fri Feb 07, 2014 6:16 am
by jschrader
i have a panorama menu placed in the left corner, spanning the entire screen width.
i did so because i want the menu text to be left bound.

when i enter an x offset of 50 to move the menu bar to the right, the bar will be cut on both left and right ends.

when i instead use a centered menu bar, the offset works as expected.
but i don't want the text to be centered, so this is no acceptable workaround.

fyi, my personal score to recommend ptp to anybody is below zero now.

Re: wrong behavior of panorama menu offset

PostPosted: Fri Feb 07, 2014 7:57 am
by Destiny

Re: wrong behavior of panorama menu offset

PostPosted: Fri Feb 07, 2014 8:02 am
by jschrader
No.
Your example shows the control bar.
I'm talking about the panorama menu plugin.

Re: wrong behavior of panorama menu offset

PostPosted: Fri Feb 07, 2014 9:22 am
by benji33
Ok I understand width a 100% width menu + positive x-offset the right part of the bar is going out of the screen.
You would like the offset on the "buttons" rather than on the menu it self.

I'll have a look today on how to do it to help you on your project.

Re: wrong behavior of panorama menu offset

PostPosted: Fri Feb 07, 2014 9:42 am
by mediavets
benji33 wrote:Ok I understand width a 100% width menu + positive x-offset the right part of the bar is going out of the screen.
You would like the offset on the "buttons" rather than on the menu it self.

I'll have a look today on how to do it to help you on your project.


I think the x offset should be applied at both ends of the bar.

This illustrates the issue:

Re: wrong behavior of panorama menu offset

PostPosted: Fri Feb 07, 2014 9:43 am
by Destiny
Its a strange feature Benjamin... It needs a LOT more parameters.. Radius on chosen corners, off-sets, text under the thumb which I remember asking for a long time ago.. Stroke around the edge.. and more......

I managed to provide an option by added two pano menus, one with alpha thumbs but its not the best solution....

http://www.destinyvirtualtours.com/PTPV ... /menu.html

Destiny...

Re: wrong behavior of panorama menu offset

PostPosted: Fri Feb 07, 2014 9:54 am
by mediavets
benji33 wrote:Ok I understand width a 100% width menu + positive x-offset the right part of the bar is going out of the screen.
You would like the offset on the "buttons" rather than on the menu it self.

I'll have a look today on how to do it to help you on your project.


Checking the 'Extend menu to the tour size' option appears to solve the problem - unless I don't understand the original complaint.

Re: wrong behavior of panorama menu offset

PostPosted: Fri Feb 07, 2014 10:08 am
by jschrader
Ideally need to change the menu bar from the plain white/headline bar to the other with company logo/link and the spacers.

As I understand it the PTP menu bar is not able to handle this through the guy so I want to try it manually.

I need more space on the left.
Set x-offset, one would assume.

But with x-offset instead a margin is set to both sides as in the example from Andrew.

Surprisingly, if one choses a centered menu bar and uses the offset, then this will appear as expected only on the left side.

And besides that, Destiny is totally right, the entire menubar thing parameter-wise is totally crippled, as I already had mentioned long time ago, when some essential features only were available through workarounds. Luckily this has changed, but there's sill a lot missing and misleading as we can see here.

Need more surprises?
Resize your browser window with a left bound menu bar and with a centered menu bar and compare.

Re: wrong behavior of panorama menu offset

PostPosted: Fri Feb 07, 2014 10:52 am
by jschrader
moving just the text seems not an option, or if the editor decides it is acceptable to have the logo on the right in case the bar cannot be moved.
Because how the hell do I get the logo to appear on top of it, when a high zorder doesn't do the trick?!

Re: wrong behavior of panorama menu offset

PostPosted: Fri Feb 07, 2014 10:56 am
by Destiny
Not so easy...

It needs something like this...

Destiny..

ptplugin name="panoramaMenu" engine="kolorMenu">
<settings>
<option name="position" value="topleft" type="string" />
<option name="orientation" value="horizontal" type="string" />
<option name="sub_orientation" value="vertical" type="string" />
<option name="left_margin_x" value="220" type="int" />
<option name="right_margin_x" value="0" type="int" />

<option name="margin_y" value="0" type="int" />

Re: wrong behavior of panorama menu offset

PostPosted: Fri Feb 07, 2014 12:29 pm
by jschrader
I know, been there since long.
But these values are the same as those changed through the gui.

So both will result in the same wrong behavior.
The error must be in their js code.

Yes, i still think it is an error because there is no logic behind it.
But that's nothing new in PTP, eh?

However, I played some tricks on PTP and they seem to work.
I just created a "fake" menu item by copy and paste and gave it a unique id :lol: