You are not logged in.

virtual pete

Intermediate

  • "virtual pete" started this thread

Posts: 245

Location: Nerja

Occupation: Holiday rentals Nerja Costa del Sol

  • Send private message

1

Saturday, September 12th 2015, 10:36am

align issues

Hi, I have a button in my tour that opens a floor plan. All works fine
on windows PC but on my ipad the button image has shifted too far to the
left and obscures the skin logo.

In the xml I have this code



<layer name="fbbtn" url="fp.png" scale="1.00" align="topleft" x="5"
y="150" keep="true" zIndex="1000" onclick="switch(layer

[floorplan].visible);" />



<layer name="floorplan" url="floorplan/tsr0161fp.jpg" scale="0.80"
align="center" keep="true" visible="false" />

<layer name="skin_logo" url="plugins/teamstarlogosmall.jpg" scale="1.00" align="lefttop" opened_onclick="openurl

('http://www.teamstarholidayrentals.com',_blank);" />


Here is the comparison of images PC on top and iPad on bottom





Any help much appreciated *smile*

Kev-in-spain

Intermediate

Posts: 152

Location: Barcelona

Occupation: VR Photographer

  • Send private message

2

Monday, September 14th 2015, 8:05am

Hi Pete,
I just used your code to replicate your problem to see if I could help (had something similar going on with a plugin not long ago) but with 'x="5"
y="150"..' it puts the button up in the top left corner so I'm not sure why, in your attached images, it shows near the centre,top of your screen.

If it's the centre you want it, why not use:

<layer name="fbbtn" url="hotspots/video_button.png" scale="1.00" align="top,center" x=""
y="5%" keep="true" zIndex="1000" onclick="switch(layer

[floorplan].visible);" />

This seems too obvious so I imagine you've tried it and I've missed the point completely *wacko*

virtual pete

Intermediate

  • "virtual pete" started this thread

Posts: 245

Location: Nerja

Occupation: Holiday rentals Nerja Costa del Sol

  • Send private message

3

Monday, September 14th 2015, 5:11pm

Thanks for that Kev, I think I have it ok now. It works ok on ipad but not on iphone but I can live with that until I investigate more.