10 Replies Latest reply on Oct 23, 2013 10:21 AM by jbowden

    I cannot get a simple rollover button to work

    JanHelle

      It does not respond to mouseover movements.

       

      You can see what I try to do on this URL: http://www.janmartinproductions.co.uk/publish/web/first_page.html

       

      Fore each button I have e.g. client_button and client_button_over

       

      For the over button I do have for mouseout and touchend :

       

      // insert code to be run when the mouse is moved off the object

      // Hide an Element.

      //  (sym.$("name") resolves an Edge Animate element name to a DOM

      //  element that can be used with jQuery)

      sym.$("client_button_over").hide();

       

      and I also have a click:

      // insert code for mouse click here

      // Navigate to a new URL in the current window

      // (replace "_self" with appropriate target attribute for a new window)

      window.open("http://www.janmartinproductions.co.uk/clients.html", "_self");

       

      For the normal button I have:

      // insert code to be run when the mouse enters an element

      // Show an Element.

      //  (sym.$("name") resolves an Edge Animate element name to a DOM

      //  element that can be used with jQuery)

      sym.$("client_button_over").show();

       

      and for the site I have for compositionready:

       

      $("#Stage").css("margin","auto")

      // Hide an Element.

      //  (sym.$("name") resolves an Edge Animate element name to a DOM

      //  element that can be used with jQuery)

      sym.$("client_button_over").hide();

      // Hide an Element.

      //  (sym.$("name") resolves an Edge Animate element name to a DOM

      //  element that can be used with jQuery)

      sym.$("contact_button_over").hide();

      // Hide an Element.

      //  (sym.$("name") resolves an Edge Animate element name to a DOM

      //  element that can be used with jQuery)

      sym.$("logo_blue_green").hide();

       

      But it does not show any change at all when I move the cursor.

       

      I have tried many alternatives without success, so please help me

       

      Thanks in advance

      Jan