I would like to play an animation by click and then play reversed by clicking again...

...like a menu popping out and going back again. How is this possible? Probably very simple.

Elaine,
What's the avantage of using sym.setVariable and getVariable rather than the simple code below? Isn't it basically the same?
// on off button example
var toggle = true,
sym.$("btn").click(function(){
          if (toggle){
                    toggle=false;
                    sym.$('Ellipse').hide();
                    sym.$('btn').html('Off');
          else{
                    sym.$('Ellipse').show();
                    toggle=true;
                    sym.$('btn').html('On');

Similar Messages

Maybe you are looking for

  • Help needed regarding creation of report

    Hi all I am using apex 4.0 and oracle 10g I am creating a classic report and I have columns to display in the report. ex col A, Col B and Col C I am getting the values of Col A and Col B values from the table. I need to get the value of Col C from a

  • Is there any way to create objects in jstl even if its not a java bean

    please someone help me :<( thx in advance for the time you'll spend on my question. i am translating some code in jsp with embedded java to jstl. and in scriptlets they created java object of some class and using it in loop. but that class is not bea

  • ACE load balancing issue

    Hi, I have ACE module and 2 servers the problem i am facing is only one server is been serviced by ACE the other server is not getting much traffic at all. One server gets hit most of the time like 3 pkts goes to server 1 and 1 pkt goes to server 2.

  • IPhone 4s and iOS 8 issues (only for Iphone 4s users)

    I installed iOS 8 on the very release date and since that I encountered different issues: I use to have more than one app opened - Mail, WhatsApp, Safari and Photos - and iOS sometimes crashes while I move from one App to another. I encounter issues

  • How to draw a line on chart

    Hi all, I am working on a chart in Design studio on BI platform. The following screen shot will depict the current state of my chart- Now I need to draw lines of different lengths and colors with certain distance from X-axis, as shown below. (I drew