You are not logged in.

Daniel25

Beginner

  • "Daniel25" started this thread

Posts: 20

Location: london

Occupation: photographer

  • Send private message

1

Wednesday, December 15th 2010, 8:11pm

buttons size at a fix ratio

Hi every one,

I'm again here asking for help.

Does any one know How to ensure that when I change the size of the windows the navigation buttons stay in a fix position and change size accordingly to the virtual tour size ?

At the moment they move and stay always the same size while the rest get smaller or bigger.

Thanks

Daniel

VN2009

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

2

Wednesday, December 15th 2010, 9:27pm

if you want things to scale with the window you have to code it all using % instead of pixels.

Zephyr

Professional

Posts: 1,003

Location: Netherlands

Occupation: Web developer

  • Send private message

3

Wednesday, December 15th 2010, 9:40pm

or you could create a flash interface, and use the graphics namespace to create a interface, that always monitors the resize event, and adjusts the size of your interface.

like what I did with www.viadrupsteen.nl

the white bars resize depending on the window size, while the buttons, tabs remain the same. The navigationmap gets fancy scroll handlers if your screen width is smaller then the map width (although in this tour the map is heigh instead of wide, I havent made a height check yet).