SIDE MENU - Load an Image instead of a Scene

  • Hi,

    I'm using the SIDEMENU plugin to laod the differents scenes and it works perfectly.

    On one Group Name I'd like to laod an Image instead of a scene with the FLYIN option.

    Here is my code :


    Of course, " onclick="flyin( zoombild );" doesn't work ... *angry*

    Someone can help me to solve this ?

    Thanks for your feedback and help. *smile*

  • Glad SideMenu is working fine for you. In your case now, yes you can do what ever you want with onclick event and flyin should also work fine.
    Why you have defined hotspot zoombild as nested element of the <group> ?
    Try putting it outside the <group> definitions and use keep="true" attribute.
    For the rest I can help as I don't see your code. How Flyin action looks like but If you use Krpano's code than all should work like a charm

  • Hi Umalo,

    thanks for feedback.

    Here is my code :

    As you can see I have insert the Flyin / Flyout Action.

    The Hotspot "Zoombild" is now define outside the <Group>.

    But It doesn't work.

    When you click on "Afficher le Plan", nothing happend ... *huh*

    Thanks for your help. *smile*

  • I found the solution :

    Here is the code :

    Replace :

    Code
    <group name="object_6"   value="Afficher le Plan" onclick="flyin('zoombild');" />


    By

    Code
    <group name="object_6"   value="Afficher le Plan"  link="flyin(zoomplan);" />
  • Now I'd like to add a thumbnail, like this :

    Code
    <group name="object_6"   value="Afficher le Plan"  link="flyin(zoomplan);" thumb_url="images/image-zoom1.png />

    But it doesn't work ... *angry*

    Hope you can help me. *wink*

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!