Ways different ways according to which two buttons that they have selected

Basically I have a kind of ticks of interaction where I would only the user based on two out of the four buttons to move forward on the next page. However, according to the two buttons, they choose will take you in a different way. Anyway is to animate on Edge?

Thank you in advance,

Louise

Yes, use variables and check them.

Example of

initialize your variable here

var selected1 = 1;

var selected2 = 1;

On your click event to check the value of the variable, and then reset the variable for the following clicks.

That goes on the top 2 choices

{sym.$("Button1").bind ('click', Function ()}

selected1 = 0;   your variable goes to 0 when the conditional checks variable from the choice of the key '2 '.

If (selected1 == 0 & selected2 == 0) {}

ADD YOUR CODE FOR THE EVENT CLICK HERE

selected1 = 1;  When you click on your variable will change to 1

}

});

This is true for the other 2 choices

SYM. $("button3") .bind ('click', function() {}

selected2 = 0;  your variable goes to 0 when the conditional checks variable from the choice of the key '2 '.

If (selected1 == 0 & selected2 == 0) {}

ADD YOUR CODE FOR THE EVENT CLICK HERE

selected2 = 1;  When you click on your variable will change to 1

}

});

Tags: Edge Animate

Similar Questions

  • What are the causes of the log of user account on missing cursor in Windows XP? I have two trays of office that they have this same problem. If you restart them the cursor returns?

    What are the causes of the log of user account on missing cursor in Windows XP? I have two trays of office that they have this same problem. If you restart them the cursor returns?

    Hi DaddyJeff,

    1. don't you make changes before the show?
    2. are you referring to the cursor in the area of user password on the login screen of Windows?
    3. when the cursor goes missing, the mouse pointer works on screen?

    It is difficult to say what is causing this problem. If the mouse pointer freezes or stops working, then we recommend you to reinstall the mouse. To do this, try the following steps:
    a. sign in to Windows.
    b. Click Start, click Run, type devmgmt.msc, and then click ok.
    c. in the list of objects, expand mice and other pointing devices.
    d. right click on the sub element and click on uninstall.
    e. unplug the mouse and plug it back.
    f. the Device Manager, select an item in the list, click the Action menu, click scan for hardware changes.
    g. check if the mouse is detected, if so, then install it.

    See mouse USB which is connected to a USB 2.0 hub is not detected by Windows XP


    Note:
    if the problem persists, restore the computer to an earlier time. See How to restore Windows XP to a previous state

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • If I choose the region Belgium (Dutch), which automatically means that I have to download photoshop in Dutch... but I don't want it in Dutch, I want it for a friend who speaks Spanish... How is possible to change this? Or is it possible to change the lang

    If I choose the region Belgium (Dutch), which automatically means that I have to download photoshop in Dutch... but I don't want it in Dutch, I want it for a friend who speaks Spanish... How is possible to change this? Or is it possible to change the language after you do the download?

    Please see the link below to change the languge

    https://helpx.Adobe.com/creative-cloud/KB/change-installed-language.html

  • I need help to find a way to correct or update the drivers for two DVDs that I have on my PC. Device Manager indicates that they are missing or have been corrupted, and they are a product of microsoft.

    I tried to play a number of different disc, both DVD players and nothing seem to work.

    Your CD/DVD drive is missing or is not recognized by Windows or other programs:

    http://support.Microsoft.com/kb/982116

    Your CD or DVD drive cannot read or write media - Fix It:
    http://support.Microsoft.com/mats/cd_dvd_drive_problems

  • Which add on that I have to disable in order to open my emails?

    One day, I was unable to open emails in hotmail. After reading some chatter of firefox support, I disabled all add ons and started firefox in safe mode. After that, I was able to open e-mail messages without problem.
    The question I have is: How can I find which adds on is responsible for not allowing me to open my mails in hotmail? I hope there is a solution more simple and faster than the "trail and error"?

    Thank you

    Martin

    Trial and error looks like the only way to solve this problem.
    I recommend trying to disable Flashblock or fast Java extensions first.

    If error not working, reply to this message and we will have to try some combinations.

  • Is there a way to link the State buttons?

    Screen Shot 2015-04-18 at 21.57.27.png

    Hi, I would like to know if there is a way to bind the State buttons to activate their steady state together. For example, when the 'Pioneers of Design' link is hovered over, it turns red and links to another page. The yellow image loses the white opaque screen 25% top when it is steady-state and also links to the same page. The two are in separate State buttons. Is there a way to link the two so that when I hover over the image the screen disappears, but also flushed the pioneers link at the same time and vice versa during the overflight of the pioneers link? I know that both can be assembled into a button of the State, but this means that the huge gap between the image and the text would create the hover state as apposed to single during the overflight of one or the other. In addition, I don't know what will happen, because the text links remain fixed when scrolling and the image links are not. Is there a way to do what I'm talking about? Thank you.

    I have the latest version of Muse CC 2014

    There is no built-in way to do reversals rambling, but if you are looking for on the web, you should be able to understand how the respective CSS rules and their implementation as custom HTML or after the publication of the site.

    Mylenium

  • Works on two buttons ActionScript, ActionScript on once is not.

    For some reason, the ActionScript code I have the two buttons in my game. When the program starts, it goes to the first page, which has two buttons leading to other scenes. These two buttons work. One of them is a button of the route leading to the instructions page. I have another button on my page of directions I want to go back to the title page, the scene with the two buttons. (By the way, I use ActionScript 2)

    The code I used for the first two buttons:

    {DirectionsButton.onRelease = function ()}

    gotoAndPlay ("Directions", 1);

    }

    {PlayButton.onRelease = function ()}

    gotoAndPlay("Game",1);

    }

    ------------------------------------------------------------------------------------------ --

    The code I used for the button to return to the scene of Directions:

    {BackButton.onRelease = function ()}

    gotoAndPlay("Title",1);

    }

    ------------------------------------------------------------------------------------------ ---

    For some reason, it is in the same format and exactly the same way as the other two buttons, but it WILL NOT work. The cursor turns into the hand instead of the arrow, but nothing happens when I click it. The codes are in the background of every scene, and each of them are buttons. Two of them work, but the other does not work!

    It's really boring, so please help me. Thank you in advance!

    Not that it of any consolation, but using scenes is not recommended practice - if you only do so for your classes, you should plan on oblivion of their use in the future.  Your can be troublesome without reason as you discover.  Just as an additional test, rather than use off all gotoAndPlay ("Directions", 1);   try to use _root.gotoAndPlay ('Directions', 1);

  • I tried for AN HOUR to find a way to put the two different fonts on the same line

    Pages is crap. I tried for AN HOUR to find a way to put the two fonts on the same line, even if I highlight 1 WORD, the whole line changes (if you know how to do that please tell me, I'll me CRAZY!). Wouldn't recommend, that Word is 100 x better and easier to use

    < published by host >

    Hi varn,.

    Seems to work here (Pages of screen capture):

    Select (highlight) the text you want to change. Click on the Format brush, and then click Style. Choose the font you want to use.

    The example above is in the text layer. I also tried in a text box and a table cell.

    I also tried to change the font for a single word of a line of text in Pages for iOS. The police has changed to the selected word, while the rest of the line remained in the police, he had previously.

    Cannot test it in 5 Pages, because I have not installed. The above example is Pages ' 09.

    It is possible that you have applied to a paragraph Style, what would change everything in the paragraph containing the insertion point.

    Kind regards

    Barry

    PS: MS Word is available for OS X, if you feel the need to switch.

    B

  • Way to know which component is called a function

    Hi all.

    I think I saw a way to know which component is called a function. For example, lets say that I have two datagrids, each with a similar list from items in a database, but with of different ComponentID. A datagrid control ID is dg1, and the other is dg2. I remember having seen a way to NOT have to hard code each dg ID in the service, but to recognize which component calling the function. In my view, that it was something like 'thisComponent' or "theComponent" or something like that.

    So, if I click on an item in a list, I call the getComponentDetails() function.

    private function getComponentDetails (): void {}
    var setComponentID = thisComponent.selectedItem.ComponentID;

    ... use now to get the data from the database and send it to the Manager of...
    }

    Anyone know what it was / is or someother way to do this.

    Thank you. Gary

    Well, it seems that the answer is event.currentTarget.selectedItem.ComponentID. Hope this helps you to someone else.

    Gary

  • I'm having a problem with the FireFox browser. I have attached two files that describe the problem. I have marked their A &amp; B. A is the way it should lo

    I'm having a problem with the FireFox browser. I have attached two files that describe the problem. I have marked their A & B. A is how it should look like and B what happens once I have, I opened several tabs. I can get it back to normal if I click VIEW, click Customize. When the window customize appears that Firefox returns to its normal state. I have to click on the done button and go back to what I did. I tried to reset FireFox back to the default settings, but that has not fixed the problem.
    It started happening a month. Is there a way I can fix this? Thanks for your help. I don't know how to fix my 2 attachments that shows the problem I'm having.
    [email address removed to protect your privacy and security]

    Try disabling hardware acceleration in Firefox.

  • [ADF, JDev12.1.3] Which is the best way to define the properties of CIU/fragments of pages. Is the approach that I have used a good choice (for a beginner)?

    Hallo,

    in my app, that I have a lot of pages and fragments in which properties (for example rendered text, disabled, Selected,...), lots of user interface components must be set, before/when the page is displayed, depending on the session and pageFlow scope attributes.

    So far I have created for each page/one backingBean brought bean fragment in which I defined an attribute for each property defined (e.g. 2 properties for each UIC: UIC is 10...) "I have 20 attributes to manage in the bean).

    Then, I linked each attribute of the bean to the respective UIC property. You can see in this my thread (unfortunately without answers ) [ADF, JDev12.1.3] backingBean bean: a lot of properties to set for lots of CIU... is better by using the properties of the binding or access code (created by ID) UIC? a small example. I put the attributes the bean Builder (or in a function of 'action' if the APP properties must be set based on the interaction of the user).

    I would like to know:

    • If it is a good approach / recommended / safe or if there is a better way;
    • If the scope backingBean is OK, or if a larger scope would be better.

    As I asked in the thread in the link above, the situation can become difficult to manage if the PPP for which setting, properties are very different.

    So I'd like if there is no alternative that I can use to get the same result with less effort.

    For example, using the class ComponentReference or invokeOnComponentAPI could simplify my life? And their use could I always use backingBean brought beans?

    Thank you

    Federico

    Federico, please understand that this forum has no sla. I have other work to do, who pays my bills. I will do my best to help, but you can not expect the instant replay.

    (1) you must not use the bean to init your beans. You can delay load or init your beans instead.

    (2) as Frank and says you can use a bean to view range and use it to make your calculations as long as you know how their parameters go to the btf

    (3) you should always use the reference of the component if you bind a component to a bean. Make a habit of all scopes.

    As we do not know how you calculate the State and how often it changes while the Working Group is on the page, it is difficult to give further advice.

    Timo

  • a form two buttons send to different URLS

    I have a confirmation page to two buttons will be sent to the payment page, the other needs to access anthers URL and I'm totally stuck on how to do it. I've added comments where the button should sit and where to go,

    That's what I

    the script

    <? PHP

    $editFormAction = $_SERVER ['PHP_SELF'];

    If (isset {}

    $editFormAction. = « ? ». htmlentities($_SERVER['QUERY_STRING']);

    }

    If ((isset($_POST["MM_insert"])) & & ($_POST ["MM_insert"] == "form1")) {}

    $insertSQL = sprintf ("INSERT INTO beaubeau_orders (OrderID, CustomerID, OrderDate, shipping, Discount, tax, Total, TransactResult, imx) VALUES (%s, %s %s, %s, %s, %s, %s, %s, %s)", ")

    GetSQLValueString ($_POST ["OrderID"], "text").

    GetSQLValueString ($_POST ["CustomerID"], "int").

    GetSQLValueString ($_POST ["OrderDate"], "date").

    GetSQLValueString ($_POST ['shipping'], "double").

    GetSQLValueString ($_POST ['Discount'], "double").

    GetSQLValueString ($_POST ["tax"], "double").

    GetSQLValueString ($_POST ['XC_Amount'], "double").

    GetSQLValueString ($_POST ['TransactResult'], "text").

    GetSQLValueString ($_POST ["'imx"], "int"));

    @mysql_select_db ($database_beauSS15, $beauSS15);

    $Result1 = mysql_query ($insertSQL, $beauSS15) or die (mysql_error ());

    }

    X Cart

    $useSessions = false;

    $XCName = "beaubeau;

    $XCTimeout = 1;

    $XC_ColNames = array ("StockID", "ProductID", "Size", "Quantity", 'Name', 'Price', 'Stock', 'Total');

    $XC_ComputedCols = array ("","","","","", "", "","Price");

    require_once('XCInc/XCart.inc');

    $colname_rsCustomer = "1";

    If (isset($_SESSION['MM_UserAuthorization'])) {}

    $colname_rsCustomer = $_SESSION ["MM_UserAuthorization"];

    }

    @mysql_select_db ($database_beauSS15, $beauSS15);

    $query_rsCustomer = sprintf ("SELECT * FROM beaubeau_customers WHERE the beaubeau_customers.") (CustomerID = %s", GetSQLValueString ($colname_rsCustomer,"int"));

    $rsCustomer = mysql_query ($query_rsCustomer, $beauSS15) or die (mysql_error ());

    $row_rsCustomer = mysql_fetch_assoc ($rsCustomer);

    $totalRows_rsCustomer = mysql_num_rows ($rsCustomer);

    to pass URL parameters

    If (! session_id()) session_start();

    If (isset($_SESSION["x_urlstr"])) {}

    $x_reqstr = $_SESSION ["x_urlstr"];

    session_unregister ("x_urlstr");

    }

    Repeat XCart region * (do not remove this label)

    Redirect if XCart is empty *.

    $XC_RedirectIfEmpty = "SS15cart.php";

    If (isset($_SERVER["QUERY_STRING"])) {}

    $XC_RedirectIfEmpty. = « ? ». htmlentities($_SERVER["QUERY_STRING"]);

    }

    If (isset(${$XCName}["contents"]) & & (sizeof(${$XCName}["contents"][0]) == 0)) header ("Location:".) $XC_RedirectIfEmpty);

    validate x limit

    $XC_invalidItems = "";

    $XC_lim = "";

    $iCol = array_search("Quantity",${$XCName}["ColNames"]);

    $iSrc = array_search("Stock",${$XCName}["ColNames"]);

    for ($iVal = 0; $iVal < sizeof(${$XCName}["contents"][0]); $iVal ++) {}

    {If (${$XCName} ['material'] [$iCol] [$iVal] > {${$XCName} ["content"] [$iSrc] [$iVal]})}

    If ($XC_invalidItems! = "") $XC_invalidItems. = «- » ;

    $XC_invalidItems. (string) = ($iVal + 1);

    If ($XC_lim! = "") $XC_lim. = «- » ;

    $XC_lim. (string) = ${$XCName} ['material'] [$iSrc] [$iVal];

    }

    }

    If ($XC_invalidItems! = "") {}

    $XC_invalidItems = "(".) " $XC_invalidItems. "by";

    $XC_lim = "(".) " $XC_lim. "by";

    $x_limErr = "the articles $XC_invalidItems exceed the available stock of $XC_lim";

    }

    Add delivery according to area: fixed

    @mysql_select_db ($database_beauSS15, $beauSS15);

    $XC_ShipSource = "SELECT Value FROM beaubeau_shipbyzone WHERE the area = '". $row_rsCustomer ['country']. "'";

    $XC_rsShip = mysql_query ($XC_ShipSource, $beauSS15) or die (mysql_error ());

    $row_XC_rsShip = mysql_fetch_assoc ($XC_rsShip);

    $XC_Shipping is $row_XC_rsShip ['value'];. When free shipping, done using the varialble

    $XC_Shipping = 0;

    $XC_rsShip = null;

    DISCOUNT NEW QUERY.

    @mysql_select_db ($database_beauSS15, $beauSS15);

    $query_rsDiscount = "SELECT * FROM beaubeau_discounts";

    $rsDiscount = mysql_query ($query_rsDiscount, $beauSS15) or die (mysql_error ());

    $row_rsDiscount = mysql_fetch_assoc ($rsDiscount);

    $totalRows_rsDiscount = mysql_num_rows ($rsDiscount);

    $discountName = $row_rsDiscount ["discountName"];

    $discountExpire = $row_rsDiscount ["discountExpire"];

    $discountAmount = $row_rsDiscount ["discountAmount"];

    NEW APPLICATION OF DISCOUNT END.

    new discount code

    If (isset($_POST['discount']) & & $_POST ['discount'] == "BOO")

    {

    $multiplier = 0.8;

    }

    on the other

    {

    $multiplier = 1;

    }

    Calculate the Total general

    $XC_GranTotal = ($XCart_sumTotal * $multiplier) + $XC_SalesTax + $XC_Shipping;

    before this reduction * $XC_GranTotal = $XCart_sumTotal + $XC_SalesTax + $XC_Shipping-$XC_Discount;

    query string

    $x_urlstr is "amount =". number_format ($XC_GranTotal, 2). '& firstname ='. UrlEncode ($row_rsCustomer ['FirstName']). '& lastname ='. UrlEncode ($row_rsCustomer ['LastName']). '& cemail ='. $row_rsCustomer ['email']. '& caddress ='. UrlEncode ($row_rsCustomer ['Address']). '& clocation ='. UrlEncode ($row_rsCustomer ['Town']). '& cprovence ='. UrlEncode ($row_rsCustomer ['County']). '& czip ='. $row_rsCustomer ['postal code']. '& ccountry ='. UrlEncode ($row_rsCustomer ['Country']);

    $_SESSION ["x_urlstr"] = $x_urlstr;

    session_register ("x_urlstr");

    Save XCart contained in table *.

    require_once('XCInc/XCsaveAction.inc');

    If (isset($_GET['XC_SaveCartToTable']) & & ($_GET ['XC_SaveCartToTable'] == '1')) {}

    $XC_destColName = array("SKU","ItemID","UnitSize","Quantity","","UnitPrice","","Total");

    $XC_destColType = array("num","str","str","num","num","num","num","num");

    $XC_orderId = $_SESSION ["OrderID"];

    $XC_tableName = "beaubeau_orderdetails";

    $XC_OrderIDCol = "OrderID";

    $XC_OrderIDType = 'NB ';

    $XC_AddToTableRedirect = "SS15paypal.php?$x_reqstr";///these is the URL where the buttons should send. "

    $XC_AddToTableRedirect = ' paypalpro1.php?$x_reqstr";//// here's the URL where the buttons should send .

    $XC_conName = "beauSS15";

    require_once('XCInc/SaveXCartToTable.inc');

    } ? >

    the form is here

    < do action = "<?" PHP echo $editFormAction;? ">" method = "POST" name = "form1" id = "form1" >

    < input name = "Button" type = "image" src = "images/proceed.jpg" value = "Pass to secure the server" / > "

    "< input name ="Button"type ="image"src =" images/proceed.jpg"value =" PAY BY CREDIT CARD "/ > <!--this is the second button-->

    < input name = "OrderID" type = "hidden" value = "<?" PHP echo $_SESSION ["OrderID"];? ">" / >

    < input type = "hidden" name = "Shipping" value = "<?" PHP echo $XC_Shipping;? ">" / >

    < input name = "Discount" type = "hidden" value = "<?" PHP echo $XC_Discount;? ">" / >

    < input type = "hidden" name = "Tax" value = "<?" PHP echo $XC_SalesTax;? ">" size = "32" / >

    < input type = "hidden" name = "XC_Amount" value = "<?" PHP echo $XC_GranTotal;? ">" / >

    < input type = "hidden" name = "CustomerID" value = "<?" PHP echo $row_rsCustomer ["CustomerID"];? ">" size = "32" / >

    < input type = "hidden" name = "OrderDate" value = "<?" PHP echo date("Y-m-d")? ">" / >

    < input type = "hidden" name = "MM_insert" value = "form1" / >

    < input type = "hidden" name = "XC_Limit" value = "<?" PHP echo @$x_limErr;? ">" / >

    < input name = "TransactResult" type = "hidden" value = "awaiting payment" / >

    < input name = "imx" type = "hidden" value = "2" / >

    < / make >

    There must be a right of liquidation?

    How many times I have to tell you that the syntax is incorrect. Please read the previous answers posted carefully, otherwise it's a complete waste of time

    YOU HAVE BRACKETS LACK IN THE CODE YOU HAVE POSTED (BELOW IN RED)

    If (is_numeric($_POST['buttonClicked']) & ($_POST ['buttonClicked'] == 1))

    ElseIf (is_numeric($_POST['buttonClicked']) & ($_POST ['buttonClicked'] == 2))

    You must get the right code until it had a chance to work - its just not good 'hoping' its going to work.

    You took the code I provide in my example and tested, you will find that it works. It's the starting point at which you should engage and whenever you introduce a new piece of test code.

  • Is there a way to remove the Favorites button in the menu bar?

    Is there a way to remove the Favorites button in the menu bar? I use the Google toolbar to organize my favorites because Google bookmarks can be accessed from any computer and my phone. By habit, I continue to go click on the Favorites button in the menu bar in Firefox, but there is nothing there. Can I remove it? I want to talk about real "Bookmarks" option in the menu bar across the top of the window: file | Change | View | History | BOOKMARKS | Tools | Help

    See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files

    Add code to userChrome.css below @namespace.

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    #bookmarksMenu {display:none!important;}
    
  • Using the bookmark Library, I can locate specific bookmarks, but there is no way of knowing which of my cases, it is in. Is it possible to do this?

    Using the bookmark Library, I can locate specific bookmarks, but there is no way of knowing which of my cases, it is in. Is it possible to do this? I have about 15 cases of bookmarks with a total of about 150 bookmarks. The research of the Library bookmark gives good results insofar as find the specific bookmark, but I IN. WANT to KNOW WHO MY RECORDS THE SPECIFIC BOOKMARK IS how can I do this?

    Take a look on these modules:

    https://addons.Mozilla.org/en-us/Firefox/addon/7372/
    https://addons.Mozilla.org/en-us/Firefox/addon/7377/

  • problem of installing active sync 6.1 64-bit with active sync. you have a known issue with the compatibility. you have a work around where the way to get these two together?

    problem of installing active sync 6.1 64-bit with active sync.  you have a known issue with the compatibility. you have a work around where the way to get these two together?

    See: http://answers.microsoft.com/en-us/winphone/forum/wp6n-sync/microsoft-windows-mobile-device-center-61-driver/4cd26ba2-9583-47b7-b5e7-32b382cee0b2

Maybe you are looking for

  • Update delete the recovery partition?

    I have a computer laptop g6-2123us with windows 7. When I bought last year they offered low-cost Windows 8 and I bought but never installed. Now that the 8.1 came out I would try first to install Win 8 then let it update to 8.1. If I do this I lose t

  • NOR CAN arbitration IDs failure

    What is the breakdown of arbitration extended message ID? Is this: | x | x | 1. standard 11-bit | 18 - bit extended | ^                ^ ^                ^ Lsb msb lsb MSB or | x | x | 1. 18 - bit extended | standard 11-bit | ^                ^ ^    

  • Blocked account please help

    Hi How are you please help me that my account has been banned in your email, nor I see the Inbox {Removed by moderator} {Removed by moderator} {Removed by moderator}

  • Web Services for Playbook link does not work

    Guys, When I click on the link below, it downloads a file named RSSReader.fxp. I need a tool to open it or the link of the Junk? any help? Code example Boost the development of your applications with the example code below: Using Web Services

  • Sync settings

    I'm looking for the timing of Photoshop setting option in the preferences, as far as I know that adobe does not remove it?