Combobox and javascript onclick

  • Hi, it looks that combobox doesn't call js function onclick ?

    Here is my code :

    Code
    <plugin name="share" url="%SWFPATH%/skin/icons/share.png" zorder="2" align="bottomleft" x="10" y="7" keep="true" onclick="plugin[combobox].openList();"/>
    <plugin name="combobox" url="%SWFPATH%/plugins/combobox.swf" alturl="%SWFPATH%/plugins/combobox.js" keep="true" native="false" visible="false" parent="share" >
        <item name="item1" caption="Partager sur Facebook" onclick="js(add_to_facebook());" />
        <item name="item2" caption="Partager sur Tweeter" onclick="js(add_to_twitter());" />
        <item name="item3" caption="Partager sur Google+" onclick="js(add_to_googleplus());" />
    	<item name="item4" caption="Envoyer par email" onclick="js(send_by_email());" />
    </plugin>

    When clicking on any items it just don't do anything...
    I tried my js functions calling the js with the "share" plugin onclick and it works...

    Is there a solution ?

    For example go to http://www.360images.fr/360/bretagne/gouffre.html with an iphone or ipad...
    Many thanx !

    Edited once, last by jeromebg (January 17, 2012 at 9:48 AM).

  • Hi,

    this has nothing to do with krpano,

    you were using 'window.open' in your html file to open new browser windows,
    but the iPhone/iPad browser will block such 'popup' windows by default,

    change the Safari popup-blocker setting and they will work:

    best regards,
    Klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!