Menu side of trigger with function toggleNavUi()

Hello

in looking at the advantage of the gesture of HTML API, I wonder if there is any parameter to pass to the toggleNavUi() function to display not only the Top Nav menu, but the menu on the left.

What I seeks to achieve is to have an icon hamburger directly in my article, that the onClick event to display the menu on the left.

So far, I reproduce this behavior by having an additional function that display a sidebar inside of the article. But I do not like this approach as it add additional js layer in order to maintain within the article.

Hi Ben, there is no such a parameter in the gesture API, your current approach with your own custom menu is the only solution. Did you make the layer JS global so that it is maintained as a single item, shared between several articles? That requires the use of the API to download shared resources, but it can reduce some of your overhead.

Tags: Experience Manager Mobile

Similar Questions

  • How to trigger a function in CompositionReady with a button?

    Hey all,.

    Probably a stupid question, but I can't very well

    How can I use a button that is clicked to trigger a function within the CompositionReady?

    My overall goal is a button On / Off, the "OnOffStatus" that can be used to determine other factors within the program.
    Any help is greatly appreciated!
    Katherine

    {sym.$('button'). Click (Function ()})

    your code

    });

  • Menu in Flex 4 with a horizontal suckerfish style (work)

    I'm looking to create a menu in Flex 4 with a horizontal suckerfish style.

    http://www.alistapart.com/d/horizdropdowns/horizontal.htm

    Someone could give me a kick start, is it easy to do?

    Note here, the solution does not work very well


    http://forums.Adobe.com/message/2368906#2368906

    Hello

    Thought that it would be a toy little interesting, but then thought to ease the multiple levels, so no real functionality yet but display bases are there.

    I need to decide how the trigger works displaying and freeing from the submenu, for now you need the mouse backward through the 'tree' for submarines to disappear (I was more interested in the appearance of display for the time being, I'll sort the aspect "delete" once I am satisfied with the list of submenu.

    Anyway have a look at tellme what you think, good or bad

    source of http://Gumbo.flashhub.net/SimpleMenu/ included.

    David

  • Is it possible to trigger a function Javascript C++ QML?

    Is it possible to trigger a function Javascript C++ QML?

    Just look at the section of signals and slots that documentation for examples of how to define and send signals of C++. Then in your QML, where you have exposed your C++ object as a property of context (named, for example, "foo"), you would foo.signalName.connect (myJsFunction) in a certain place like maybe onCreationCompleted. Connects the signal to the function, and when it is executed will be called the JS function.

    In short, the real connection between the two is trivial, as long as you already have all the side "C++ object and signal and exhibitors being C++" processed things.

  • How to trigger a function AS via JS?

    I need trigger a function AS when a heavy user the window of the browser. That's what I've done so far... but no luck.

    AS:

    import flash.external.*;
    function test1() {
    //do something
    }


    JS:

    <script type="text/javascript">  
      window
    .onbeforeunload = function(){
      test1
    ();
      
    return 'text here' };
    </script>

    use:

    AS:

    import flash.external.*;

    ExternalInterface.addCallback("jsCallF",null,test1);
    function test1(s:String) {
    //do something with s
    }

    JS:

    and you will need to use the code compatible with the externalinterface class integration.  Swfobject works and there is code in the adobe help files that also works.

    and you will need to use the correct name instead of your_swfs_embed_tag_name.

  • Trigger with a transfer error

    I had a problem in class that to define a trigger that would update a sales table when an order has been placed (this information is stored in another table). Thanks for any help.

    The Question in the gist:

    A trigger is needed so that every time an order is confirmed (when ORDERPLACED is set to 1 in the table bb_basket) the bb_sale_sum table is updated accorddingly.

    This is my code so far:

    CREATE OR REPLACE TRIGGER bb_salesum_trg
    After the UPDATE of orderplaced WE bb_basket
    for each line
    When (old.orderplaced <>1 and new.orderplaced = 1).
    declare
    Number of lv_tot_num (7.2);
    Number of lv_qty_num (7.2);
    number of lv_id_num (3,0);
    Start
    Select b, b.quantity, bi.idproduct
    in lv_tot_num, lv_qty_num, lv_id_num
    of bb_basket b, bb_basketitem bi
    where bi.idbasket = b.idbasket;
    Update bb_sales_sum
    Set tot_qty = tot_qty + lv_qty_num
    where idproduct = lv_id_num;
    Update bb_sales_sum
    Set tot_sales = tot_sales + lv_tot_num
    where idproduct = lv_id_num;
    END;
    /

    Update bb_basket
    Set orderplaced = 1
    where idbasket = 3;


    And then my mistake:

    Error from the 281 in command line:
    Update bb_basket
    Set orderplaced = 1
    where idbasket = 3
    Error report:
    SQL error: ORA-04091: table SYSTEM. BB_BASKET is changing, function of triggering/can not see
    ORA-06512: at "SYSTEM. BB_SALESUM_TRG', line 6
    ORA-04088: error during execution of trigger ' SYSTEM. BB_SALESUM_TRG'
    04091 00000 - "table %s.%s is changing, function of triggering/can not see.
    * Cause: A trigger (or plsql user-defined function that is referenced in)
    This statement) attempted to watch (or modify) a table that has been
    in the Middle being modified by the statement that shot.
    * Action: Rewrite the trigger (or function) so it does not read this table.


    * I guess I get this error because I try to use TOT_QTY & TOT_SALE of my most while I'm updateing as column.* *.


    Here are three tables I think I need for this problem:

    CREATE TABLE bb_Basket)
    idBasket number (5),
    Quantity number (2),
    idShopper number 4,
    OrderPlaced number (1).
    Total part number (7.2).
    The number total (7.2).
    Number (5.2) of the expedition.
    Number (5.2) tax.
    date of dtCreated by DEFAULT SYSDATE,
    Promo number (2),
    ShipFirstName varchar2 (10),
    ShipLastName varchar2 (20).
    ShipAddress varchar2 (40),
    ShipCity varchar2 (20).
    ShipState varchar2 (2),
    ShipZipCode varchar2 (15).
    ShipPhone varchar2 (10),
    ShipFax varchar2 (10),
    ShipEmail varchar2 (25).
    BillFirstName varchar2 (10),
    BillLastName varchar2 (20).
    BillAddress varchar2 (40),
    BillCity varchar2 (20).
    BillState varchar2 (2),
    BillZipCode varchar2 (15).
    BillPhone varchar2 (10),
    BillFax varchar2 (10),
    BillEmail varchar2 (25).
    date of dtOrdered by DEFAULT SYSDATE,
    ShipProvince varchar2 (20).
    ShipCountry varchar2 (20).
    BillProvince varchar2 (20).
    BillCountry varchar2 (20).
    CardType char(1),
    CardNumber varchar2 (20).
    ExpMonth tank (2),
    ExpYear char (4),
    CardName varchar2 (25).
    char (1) default 'n' shipbill,
    Default char (1) ShipFlag 'n',
    Bskt_id_pk KEY (idBasket) PRIMARY, the CONSTRAINT
    CONSTRAINT bskt_idshopper_fk FOREIGN KEY (idShopper)
    REFERENCES bb_Shopper (idShopper));
    Create sequences bb_idBasket_seq
    start with 25;
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (3, 3, 21, 1, 26.60, 32.40, 5.00,.80, 23 January 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (4, 1, 21, 1, 28.50, 34.36, 5.00,.86, 12 February 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (5, 4, 22, 1, 41,60, 48,47, 5.00, 1.87, 19 February 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (6, 3, 22, 1, 149.99, 161,74, 5.00, 6.75, 1 March 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (7, 2, 23, 1, 21.60, 27.25, 5.00,.65, 26 January 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (8, 2, 23, 1, 21.60, 27.25, 5.00,.65, 16 February 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (9, 2, 23, 1, 21.60, 27.25, 5.00,.65, 2 March 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (10, 3, 24, 1, 38.90, 45,65, 5.00, 1.75, 7 February 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (11, 1, 24, 1, 10: 00 am, 3:45 pm, 5.00,.45, 27 February 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (12, 7, 25, 1, 72,40, 83,66, 8.00, 3.26, 19 February 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (13, 2, 26, 0, 20 h 00, 0, 0, 0, 9 February 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (14, 0, 26, 0, 0, 0, 0, 0, 10 February 07 ', 0);
    Update bb_basket
    Set dtordered = dtcreated;
    Update bb_basket
    Set dtordered = NOTHING
    where orderplaced = 0;

    CREATE TABLE bb_basketItem)
    idBasketItem number (2),
    idProduct number (2),
    Price number (6.2),
    Quantity number (2),
    idBasket number (5),
    option 1 number (2),
    option2 number (2),
    CONSTRAINT bsktitem_id_pk PRIMARY KEY (idBasketItem).
    CONSTRAINT bsktitem_bsktid_fk FOREIGN KEY (idBasket)
    REFERENCES bb_Basket (idBasket),
    CONSTRAINT bsktitem_idprod_fk FOREIGN KEY (idproduct)
    REFERENCES bb_Product (idproduct));
    Create sequences bb_idBasketitem_seq
    start with 50;
    insert into bb_basketItem
    values (15, 6, 5.00, 1, 3, 1, 4);
    insert into bb_basketItem
    values (16, 8, 10.80, 2, 3, 2, 4);
    insert into bb_basketItem
    values (17, 4, 28.50, 1, 4, NULL, NULL);
    insert into bb_basketItem
    values (18, 7, 10.80, 1, 5, 2, 3);
    insert into bb_basketItem
    values (19, 8, 10.80, 1, 5, 2, 3);
    insert into bb_basketItem
    values (20, 9, 10 h 00, 1, 5, 2, 3);
    insert into bb_basketItem
    values (10, 21, 10 h 00, 1, 5, 2, 3);
    insert into bb_basketItem
    values (22, 10, 10: 00, 2, 6, 2, 4);
    insert into bb_basketItem
    values (23, 2, 129.99, 1, 6, NULL, NULL);
    insert into bb_basketItem
    values (24, 7, 10.80, 1, 7, 2, 3);
    insert into bb_basketItem
    values (25, 8, 10.80, 1, 7, 2, 3);
    insert into bb_basketItem
    values (26, 7, 10.80, 1, 8, 2, 3);
    insert into bb_basketItem
    values (27, 8, 10.80, 1, 8, 2, 3);
    insert into bb_basketItem
    values (28, 7, 10.80, 1, 9, 2, 3);
    insert into bb_basketItem
    values (29, 8, 10.80, 1, 9, 2, 3);
    insert into bb_basketItem
    values (30, 6, 5.00, 1, 10, 1, 3);
    insert into bb_basketItem
    values (31, 8, 5.40, 1, 10, 1, 3);
    insert into bb_basketItem
    values (32, 4, 28.50, 1, 10, NULL, NULL);
    insert into bb_basketItem
    values (33, 9, 10 h 00, 1, 11, 2, 3);
    insert into bb_basketItem
    values (34, 8, 10.80, 2, 12, 2, 3);
    insert into bb_basketItem
    values (35, 9, 10 h 00, 2, 12, 2, 3);
    insert into bb_basketItem
    values (36, 6, 10 h 00, 2, 12, 2, 3);
    insert into bb_basketItem
    values (37, 7, 10.80, 1, 12, 2, 3);
    insert into bb_basketItem
    values (38, 9, 10 h 00, 2, 13, 2, 3);
    CREATE TABLE bb_sales_sum
    (idProduct NUMBER (2),)
    tot_sales NUMBER (7.2).
    tot_qty, NUMBER (5.2));
    INSERT INTO bb_sales_sum (idProduct, tot_sales, tot_qty)
    VALUES (6, 100, 10);
    INSERT INTO bb_sales_sum (idProduct, tot_sales, tot_qty)
    VALUES (8, 100, 10);

    >
    Well, I didn't belive that's what I do.
    >
    Well that's exactly what you do

    select b.total, b.quantity, bi.idproduct
    into lv_tot_num, lv_qty_num, lv_id_num
    from bb_basket b, bb_basketitem bi
    where bi.idbasket = b.idbasket;
    

    you query the table bb_basket ('from bb_basket') inside the trigger that updates the bb_baske table. This will give the error table mutation as just pointed out.

  • Satellite S50T-B950 - can't dim / brighten screen with function key

    Hello

    So, I can't decrease or brighten my screen with function key. Although things like the volume and function key still works.

    Someone at - it suggestions that I could try? I can't see all the options on how to resolve this problem within the program of 5500 intel HD or in my AMD catalyst thing.

    Anyone ever had this before or have a fix for this?

    Thank you

    Can you please tell us which model of laptop and operating system do you use?
    Are you using the original operating system that you got with your machine or you have installed the clean version?

    Did you remove something from your system?

  • Installed new microcomputer, LibreOffice, but the "open with" function does not recognize it

    I recently downloaded suite desktop LibreOffice, but OPEN WITH function recognizes not all programs.  How can I fix it?

    Contact support LibreOffice.

  • Problem opening pdf files.  I have Acrobat Reader DC/Windows by default, but when I click on the file, a file conversion screen with all these codes. Must use the "open with" function which is a nuisance.  Why it will not default?

    Problem opening pdf files.  I have Acrobat DC/Windows by default, but when I click on the file, a file conversion screen now with all these language codes. Must use the "open with" function which is a nuisance.

    Why it will not open by default when I click on the file?

    Hello

    I guess that you are looking for this:

    Open drive

    Go in Edition > Preferences > General

    Uncheck the option, the online storage see the opening of the files

    Click OK and restart

    Thank you

    Abhishek

  • With functions in the SQL query tuning

    Hello

    I'm trying to settle a query with functions in the select section. You wonder how to see the results of the plan to explain these features included. Will there be a qs to include when you run the explain plan command

    Thank you

    Hilton

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    PL/SQL Release 11.2.0.3.0 - Production

    "CORE 11.2.0.3.0 Production."

    AMT for Linux: Version 11.2.0.3.0 - Production

    NLSRTL Version 11.2.0.3.0 - Production

    Thank you. The function is not in the where clause but in the query using some of the returned columns. I realized that using the trace gave me the plan explanation of each of the functions.

  • Qtr2 calculation with function @PRIORS

    Hi all

    I'm figuring Qtr2 with function @PRIORS.

    Œuvres script to the following: @PRIORS (SKIPMISSING, "Jun");

    Here's my question:
    This logic fails if there is no data in April, may or June. He will continue to seek for the previous period with data that may Feb And it would be a bad value.

    So I would get to a rangelist, as suggested by the Tech Ref: http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/priors.html

    The following script will not work: @PRIORS (SKIPMISSING, "Jun", "April": "Jun");
    This does not work: @PRIORS (SKIPMISSING, "Jun", "Apr", "May", "Jun");

    Any ideas?

    Thank you
    Mehmet

    PS We are on version 11.1.2.1

    Hi Mehmet,

    If I understand you correctly, Jun data should be #mi if April and may are #MI, and may be #mi, but Apr is 100, prior jun should be 100.

    IF (Apr > 0)
    @PRIORS (SKIPMISSING, "Jun");
    ON THE OTHER
    @PRIORS (SKIPNONE, "Jun");
    ENDIF;

    Kind regards
    Robb Salzmann

  • How to trigger the function Listfind

    Hi all

    If the field is empty, this code sets the variable nxtstep depending on the day of the week, check if the form field "is not date" and works very well in this case.

    If the form field is not empty, then it assigns to the variable nxtstep as the date on which is selected what he does, however, he is not checking to see if it is a holiday. It should trigger the function listfind and check to see if that date is a holiday, but it is just to enter the date without going through this review.

    Why does this work? Thank you

    <!--> REQUEST UPDATE
    < cfif isDefined "(form. UPDATEADDBTN") >
    < cfif FORM. GTE ENTID 1 >
    < cfset isCOMPANYNull = iif (len (trim (form.COMPANY)) EQ 0, true, false) >
    < cfset isCOMMENTSNull = iif (len (trim (form.COMMENTS)) EQ 0, true, false) >

    <!--> SET DATE AS FORM FIELD

    < cfset nxtstep = trim (form. ABUNDANCE) >

    <!-SET DATE IF NO DATE ENTERED->
    < cfif not isDate (nxtstep) >

    < cfif DayOfWeek (Now ()) eq 2 >
    < cfset nxtstep = dateAdd ("d", now())) 2, >

    < cfelseif DayOfWeek (Now ()) eq 3 >
    < cfset nxtstep = dateAdd ("d", now())) 2, >

    < cfelseif DayOfWeek (Now ()) eq 4 >
    < cfset nxtstep = dateAdd ("d", now())) 2, >

    < cfelseif DayOfWeek (Now ()) eq 5 >
    < cfset nxtstep = dateAdd ("d", now())) 4, >

    < cfelseif DayOfWeek (Now ()) eq 6 >
    < cfset nxtstep = dateAdd ("d", now())) 3, >

    < cfelseif DayOfWeek (Now ()) eq 7 >
    < cfset nxtstep = dateAdd ("d", now())) 2, >

    < cfelseif DayOfWeek (Now ()) eq 1 >
    < cfset nxtstep = dateAdd ("d", 1, now())) >
    < / cfif >

    <! - IF a DATE IS ENTERED CHECK TO SEE IF it IS a holiday - >

    < cfelse >

    <!-CHECK TO SEE if the DATE ENTRIES IS one day public HOLIDAY AND ADD DAYS-->
    < cfif ListFind (ValueList (hols.holiday), nxtstep) >

    < cfif DayOfWeek (nxtstep) eq 2 >
    < cfset nxtstep = dateAdd ("d", 2, nxtstep) >
    < cfelseif DayOfWeek (nxtstep) eq 3 >
    < cfset nxtstep = dateAdd ("d", 5, nxtstep) >
    < cfelseif DayOfWeek (nxtstep) eq 4 >
    < cfset nxtstep = dateAdd ("d", 2, nxtstep) >
    < cfelseif DayOfWeek (nxtstep) eq 5 >
    < cfset nxtstep = dateAdd ("d", 4, nxtstep) >
    < cfelseif DayOfWeek (nxtstep) eq 6 >
    < cfset nxtstep = dateAdd ("d", 6, nxtstep) >
    < cfelseif DayOfWeek (nxtstep) eq 7 >
    < cfset nxtstep = dateAdd ("d", 2, nxtstep) >
    < cfelseif DayOfWeek (nxtstep) eq 1 >
    < cfset nxtstep = dateAdd ("d", 1, nxtstep) >
    < / cfif >


    < / cfif >


    < / cfif >

    You do several things that can contribute to the problem.  In your first block of code, you use dateadd to assign to a variable datetime nxtstep.  In the following code block, you check to see if this datetime variable appears in a list.

    A list is just a delimited string, looking for datetime variables is doomed to failure unless you convert these variables in a string.  You can use dateformat for that.  Choose the right format should also fix your another of your variables of datetime whose part of the time, while your list of holidays is probably not.

    I remember vaguely similar issues on your part.  You should re-read the answers you got.  You may be ignoring some of them.

  • Trigger a function when a transition is complete?

    I'm creating an intro where a sequence of tweens and transitions are triggered. The problem is that I can not understand how to get an event occurs when a transition is completed. How can I me 'headTitleTm' to trigger the function of "sigIn" once it's done?

    Thank you!

    Code:

    function headTitleTransition(event:TweenEvent):void{
            var headTitleTm:TransitionManager = new TransitionManager(headTitle);
            headTitleTm.startTransition({type:Photo, direction:Transition.IN, duration:.20, easing:None.easeNone});
    
            headTitleTm.addEventListener(Event.COMPLETE, sigIn);
    }
    
    function sigIn(e:Event):void{
         trace('sigIn');
    }
    

    myTtransition.addEventListener ("allTransitionsInDone", doneTrans);

    What is that

  • trigger with: new and: old to compare the values

    Jin
    I want to use the trigger with: new: old to compare the old values with new ones.
    I have an employee of the table

    Name Null? Type
    ENO NOT NULL NUMBER 4
    ENAME VARCHAR2 (20)
    SALARY NUMBER (10.2)

    now I want to set up a trigger so that it checks everything by inserting the values as part of if
    the insertion of salary value is greater than the last salary (line) table. If it fails, then it will be
    raises an application error.
    I can't write this code as is return errors.
    Thank you

    Published by: user13371438 on Sep 6, 2010 03:00

    Please share the code you have written to achieve so far.

  • Lip Sync works only with Side View trigger

    Hello

    I tried to set up a character with a trigger for side view and the Lip Sync does not work, when the trigger is pulled.

    Whenever I press the trigger (1 in my case for the view on the right side) all States to mouth appear at a time instead of switching corresponding to the sound.

    The animation of mouth of façade still works fine.

    I tried to configure the character as a full view (whole body in + before and + folder on the right side) and the head, but none of these approaches do not work.

    Any idea?

    Hi Kai... You will have to remove face and lip of the puppet of top-level sync behavior and add them to each subpuppet specific display. See how the puppet of Wendigo is implemented in the project of character animator examples .

Maybe you are looking for

  • Apple TV 4 Dynamic Range

    There is certainly a problem with the dynamic range on the Apple TV 4.  Watching movies on iTunes, the difference between strong and soft sounds is considerably reduced. This has happened since the Apple TV 4 has been released. Yes, the setting for t

  • Re: Toshiba Gigaframe Q81 - audio how custom as alarm

    Hello guys,. I hope someone can help me. I use my photoframe as a wake-up call, but I can not set up audio as an alarm. There are two positions of the alarm settings: 'default' and 'music', but there is no difference between these two modes, the gadg

  • HP Elite 8000 LTS

    Just bought a refurbished 8000 Elite, specifications: Intel Core 2 Quad 2.83 GHz 8 GB Ram HARD DRIVE 750 GB Optical drive DVD - RW Win 7 Professional 64 bit Restore CD, apparently no recovery on the HARD drive partition 1 year distributor warranty pa

  • How to install the Synaptics pointing device driver

    Hello I accidentally uninstalled my Synaptics pointing device driver. So now I can't use my touchpad like before. It won't scroll now for example. Could someone help me even download and get my touch pad will work as before. I have a hp laptop Pavili

  • Optimization of the battery turns off automatically

    Hello.. In marshamallow optimization of battery option turns off automatically. After update, it worked very well, but about 2-3 days later. I noticed that it turns off not only during the charge, but also normally. Please solve this problem.