Sie sind nicht angemeldet.

esys

Fortgeschrittener

  • »esys« ist der Autor dieses Themas

Beiträge: 267

Wohnort: Balazé France

Beruf: photographer

  • Nachricht senden

1

Donnerstag, 30. Juni 2011, 16:53

Browser history button ?

Hi,

I've a pano built for android, iphone and desktop. I need a back button to come back "home". There's two ways to reach this pano. One from a web site designed for desktop, an other from a web site designed for mobiles etc.. Problem is i need to write two "back" plugins with a different URL each time i build a multi devices pano.!

Is there a way to adapt this kind of plugin : history button
then, instead of the plugin history, it would be the browser history ?

Any help would be pleased.
Thanks. *smile*
Steph.
Steph

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

2

Donnerstag, 30. Juni 2011, 18:48

Call with js function
javascript: history.go(-1)

or google javascript history, javascript back.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

3

Freitag, 1. Juli 2011, 01:28

the swfaddress plugin would make the default brouser buttons work for desktops but as of now that will not work for anything else. i think i read that jaydee is going to try to get swfaddrerss working for JS also then it would work in all senarios.

esys

Fortgeschrittener

  • »esys« ist der Autor dieses Themas

Beiträge: 267

Wohnort: Balazé France

Beruf: photographer

  • Nachricht senden

4

Freitag, 1. Juli 2011, 12:33

Thanks, both of you.

Sachagriffin, do you have an example about the way to use your method. Do i have to write a special javascript ?

VN, i thought the jaydee plugin was designed only for use it in a tour... I've just bought it for a big tour, to get separate URL.

A friend of mine try to write a plugin for me. I'll know in a couple days if he succeed.

Thanks for your time. *thumbsup*
Any other infos would be appreciate.

Steph.
Steph