You are not logged in.

1

Thursday, June 21st 2012, 11:22pm

does krpano support regexp?

I need to play around string variables. does krpano support regexp?
also can I use somthing like this:
if (var == 'value1' or var = 'value2', ....true, ....false) ???
thanks in advance for answers

Posts: 1,857

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

2

Friday, June 22nd 2012, 3:49pm

You can just the js function to call a JavaScript function with a string. Then have the JavaScript function call krpano to set a krpano variable.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour