Busy using Modernizr in border

Hi all
I try to use modernizr in animated border to check the capabilities of touch, but I can't make it work.
I get this error message > Javascript error in the event handler. Type of event = element.
This is my code so far:

in creationComplete


yepnope({)

load: ['libs/1.1.0/js/min/EdgeCommons.js', 'libs/1.1.0/css/style.css', 'libs/js/modernizr.js']

});

in compositionReady


sym.inTouchMode = function() {}

If {(Modernizr.touch)

Console.log ("Touch Me!");

}

else {}

Console.log ("can't touch this!");

}

}

sym.inTouchMode ();

Any help would be appreciated. Thank you!

Hello

When you call your function, the loading process is not finished. As a result, it returns an error.

Please, give the code yepnope and use the library panel to load js files.

(1) library panel > Scripts > + button > your file

(2) compositionReady: if (Modernizr.touch) {console.log ("Touch Me!")  } else {console.log ("can't touch this!")}

Tags: Edge Animate

Similar Questions

  • How to build a business using Muse and British Colombia

    Hello

    I thought to create a small business using Muse and British Colombia.

    But before to do this, I need answers to some essential questions.

    This 'flow' would work with BC and Muse.

    1. the customer contacted me about a Web site they want.

    2. they give me information such as what should be included in the site (portfolio, version mobile etc.)

    3. I design everything in Muse

    4. I created an account for them with the domain requested in British Colombia (so they sign up and pay monthly in British Colombia)

    5. I have download the design of Muse to their account of BC.

    6. they can change in the browser.

    Fact.

    It is a process that would work with Muse and BC?

    Here it is:

    1 will they buy Muse and BC or BC only if they go only to update text and documents not design (templates)?

    2. can I download my account to Muse on their account of BC (because it's two different Adobe ID)

    3. will they be able to update the mobile version too, even without Muse?

    4. will they be able to create pages that will appear in the navigation only using BC?

    Best regards

    GraphicalMarc

    Hello

    Q1. They can only buy BC, because they can update the text using Inbrowser edition.

    http://helpx.Adobe.com/Muse/tutorials/in-browser-editing-Muse-part-1.html

    Q2. To do this, you must be administrator on their site, so while edition of Muse, you will get the site listed in muse.

    Q3. In the edition browser for the Mobile Version also works well. Check this thread http://forums.adobe.com/message/6157870#6157870

    I hope this helps.

  • Adobe CC single license for business use

    Hi guys,.

    The reason why this was brought to my attention, is that earlier, representatives of the two companies here in Singapore told me that it is illegal to use a single license for businesses.

    I don't speak on behalf of the companies, but one of them is a reseller of Adobe software and other applications "authorized to communicate with your company/institution name of Adobe with respect to the right of the software & legalization of accompaniment in Singapore."

    I saw a few posts in the forums which is not really answering the question:

    "Individual licenses can be used for businesses?

    I just had a live chat with adobe, our conversation, I am convinced that it is legal to use an individual for a professional use license.

    Screenshot attached the live chat and the two screenshots I sent to the course on chat session to make sure that we are on the same page when we are referring to 'individual licence' and ' operating '. Please ignore the part that I talked about Denave Pte Ltd. This is a topic for another post.

    So, in short. Can we get some official clarifications on this question (s)?

    adobe CC livechat.jpg

    adobe CC individual license.jpg

    adobe CC business license.jpg

    Post edited by: Vincent Goh

    In short, if you are an individual who has purchased an individual CC, you can use it for your business as a photographer, only you can connect with the registered Adobeid & use it.

    If you have a team of 2 to 3 people, it is preferable to use CC for the team.

    Concerning

    Baudier

  • Use different 'fx-border-image-source"to the first tab and remaining tabs

    Hello

    I'm using something like this
    . Tab {}
    -fx-padding: 0px 5px - 2px 5px;
    0 0 0;
    -fx-background-color: transparent;
    -fx-text-fill: #c4d8de;
    -fx-border-image-source: url("images/tab5.png");
    -fx-border-image-slice: 20 20 20 20 fill;
    -fx-border-image-width: 20 20 20 20;
    -fx-border-image-repeat: stretch;
    -fx-font-size: 22px;
    }
    . Tab: selected {}
    -fx-border-image-source: url("images/tab-selected5.png");
    -fx-text-fill: #333333;
    /*
    -fx-background-color: red; * /
    }

    to customize the appearance of the tab of a TabPane.

    That has worked well. But I need to use a different set of images for just the first tab. Does anyone know how?

    Thank you.

    After you add the tab to a scene pane active, searching the first tab of the scene, it is id the first-tab value and style of the first tab via css.

    import javafx.application.Application;
    import javafx.scene.*;
    import javafx.scene.control.*;
    import javafx.scene.layout.*;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Rectangle;
    import javafx.stage.*;
    
    public class ThumbTabPane extends Application {
      public static void main(String[] args) { launch(args); }
      @Override public void start(Stage stage) {
        // create some tabs.
        TabPane tabPane = new TabPane();
        Tab tab1 = new Tab("Sites"); tab1.setContent(new Rectangle(400, 200, Color.LIGHTGREEN));
        Tab tab2 = new Tab("Favorites"); tab2.setContent(new Rectangle(400, 200, Color.LIGHTSTEELBLUE));
        Tab tab3 = new Tab("Loves"); tab3.setContent(new Rectangle(400, 200, Color.PINK));
        tabPane.getTabs().addAll(tab1, tab2, tab3);
        tabPane.setMaxSize(Region.USE_PREF_SIZE, Region.USE_PREF_SIZE);
    
        // layout the stage.
        StackPane layout = new StackPane();
        layout.getChildren().add(tabPane);
        layout.setStyle("-fx-background-color: cornsilk; -fx-padding: 10;");
        Scene scene = new Scene(layout);
        scene.getStylesheets().add(ThumbTabPane.class.getResource("stylishtabs.css").toExternalForm());
        stage.setScene(scene);
        stage.show();
    
        Node node = scene.getRoot().lookup(".tab");
        node.setId("first-tab");
      }
    }
    
    // file stylishtabs.css
    .tab {
      -fx-border-image-source: url("http://th33.photobucket.com/albums/d73/siewsammuk/th_icon_cool.gif");
      -fx-border-image-slice: 20 20 20 20 fill;
      -fx-border-image-width: 20 20 20 20;
      -fx-border-image-repeat: stretch;
    }
    .tab:selected { -fx-border-image-source: url("http://www.panic.com/blog/wp-content/themes/panic/images/icon_smile.png"); }  
    
    #first-tab.tab { -fx-border-image-source: url("http://roi.ltcdn.com/roidsn/en/main/icon_6.jpg"); }
    #first-tab.tab:selected { -fx-border-image-source: url("http://pensacolatodo.com/icon_images/icon_wordpress.gif"); }
    
  • Views of business used for multi languages

    Hi all

    When generate us the view of the company by logging in using the language English bad code as follows the search values in English (e.g. see wshbg_deliveries).

    DECODE (status_code
    , "CL", "closed".
    , "CO", "confirmed".
    , 'IT', 'in Transit '.
    , 'OP', 'open '.
    , "PA", "packaged".
    , "SA", "shipping notice received.
    , "SC", "cancellation of delivery request.
    , "SR", "sending asked."
    NULL)

    If I generete the business view using the french language, it overrides the above code as follows.

    DECODE (status_code
    , "CL", "closed".
    , "CO", "confirmed".
    , 'IT', "en Transit".
    , 'OP', 'open '.
    , 'PA', 'Colosseum '.
    , "SA", "delivery notice received.
    ", 'SC', ' demand" cancellation of delivery "
    , "SR", "requested delivery.
    NULL)

    How can I generate the business view that includes both.

    Thanks in advance
    RAM

    Hello

    Support in the views of Business for languages is uneven. Some areas are covered and others appear to be.

    Rod West

  • Impossible to catch the flaws of business using the strategy of fault

    Hi all

    I'm coming down for lack of business in politics of the fault. I'm not able to save the details of the company's fault. Here are the details-

    Lack of exercise using the Throw activity - Code below

    < fault > < part xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" name = "payload" > < ip:error xmlns:ip = "http://xmlns.oracle.com/BPELProcess5" > invalidPayload < / ip:error >
    < / piece > < / failures >

    Section faults defined in the strategy of fault

    < faultName xmlns:ip = "http://xmlns.oracle.com/BPELProcess5" name = "ip:invalidPayload" >
    < condition >
    $fault.payload / ip:error = "invalidPayload < test >" < / test > "
    < Ref action = "ora-java" / >
    < / condition >
    < / faultName >

    Is a synchronous process. Politics of fault works for RemoteFault and BindingFault. Am I missing something here?

    He does... Just throw the process2 back on the partnerlink client company's fault... and on the invoke of termpol1 you can "take" with use of the framework

  • Re: Unable to activate Windows Vista Business using the Microsoft key

    I am facing difficulties to activate the microsoft package, whenever I enter the product key printed on the label attached to my pc, it says wrong key.
    Help, please.

    The key to Microsoft, that you can find on the lower side of your laptop is not a kind of universal key and this key belongs to Vista preinstalled on your laptop. You got your laptop with Vista preinstalled. With your laptop, you have paid a license and an operating system.

    After recall of Toshiba you must create Toshiba Recovery DVD or this facilities you can use if often you want with your laptop. This version of Vista belongs to you and can only be used with your laptop.

    If you are using Microsoft facilities DVD you must have the key for this version. If you do not, you must purchase a key online and activate a preinstalled Vista version.

  • How to do to recover more then 200 features in business using Eloqua API Version 1.2?

    Hello

    I am new to Eloqua and created my own windows App in .net for recover data from Eloqua-10 companies using Eloqua API version 1.2. There when I ask company entity using the following code:

    queryResult = service.serviceProxy.Query (contactEntityType, searchQuery, fieldList.ToArray (), currentPage, pageSize);

    where if I give pageSize over 200, it gives a msg of error without reason. While I have only a few records (less than 20, but growing up) and I want to retrieve all in one query with a largest number of County.

    Could someone help? Thank you very much.

    Biao, see this post, I think it can be useful Eloqua graphic API - supported operations.

    Base of the table objects column links to how-to posts.

    You have to use SOAP for visitors and prospects, because they are not supported by the REST.

  • Business using the NoSQL in Oracle database application development

    Hello

    I followed the link given by Lai Re, to develop the application of Kvitter using the NoSQL database below. But there is no link to the code example in the blog below.

    Developing applications using the NoSQL of Oracle database

    Please help me with the link for the Code of the Kvitter Application.

    Thank you.

    Concerning

    Jean-Luc Reynaud

    Hi, Aymeric

    Here is the direct link to the source code for the sample program above. The link is also displayed under the programs section of demo/sample.

    HTH
    Anuj

  • Using JSON in border animated

    Hello together,

    I'm trying to use JSON in edge animate.

    My goal is to put all the texts and images of edge animate in a JSON file.

    The text file looks like:

    var = JSONObject

    {

    Text of the page

    "text':"Hello. "

    'image': {}

    'src': ' images/test.png '.

    }

    };

    There is no problem with the reading of the text of the file:

    sym.setVariable ("text", JSONObject.text);

    SYM.$("text").html (sym.getVariable ("Text"));

    But it doesn´t work with the loading of the image. I tried like

    sym.setVariable ("image", JSONObject.image.src);

    SYM. $("test_image") .css ({' background', sym.getVariable ('image')});

    but no luck. Can someone help me?

    Hello

    (1) your error: you do not use the property CSS background as required.

    SYM. $("test_image") .css ("background-image", "url (" + sym.getVariable ('image') + ")");


    (2) another solution: previous post.

  • The call using two Business service split join in osb

    Hello

    While he was trying to call two business using Split to join the BSO I get failure message from selection in the em Bpel console. I use call activity to invoke the BS and assign to assign to the entry. the entitlement, I am assigning * $request.payload/input * to input.payload . In the em console I get entry like this


    receiveInput
    June 19, 2012 call 17:05:45 received 'process' partner 'bpelprocess1_client '.
    payload of <>
    < variableentree >
    < name of party 'payload' = >
    XXXXX < customer: process > < / customer: process >
    < / part >
    < / variableentree >
    Assign (pending)
    June 19, 2012 17:05:48 error in assessing <>expression "65 online." The result is empty for the XPath: ' / process: client / customer: entry.
    payload of <>
    xxxxxx < customer: process > < / customer: process >
    June 19, 2012 17:05:48 the following exception occurred while trying to execute the operation of copy on line 63
    payload of <>
    < bpelFault >
    < faultType > 0 < / faultType >
    < selectionFailure / >
    < / bpelFault >
    June 19, 2012 17:05:57 "BPELFault" has not been taken by a catch block.
    June 19, 2012 17:06 the transaction has been restored. Work for bpel '650002' instance has been restored, but the audit trail has been recorded for this instance. A synchronization request, please refer to the customer's request. If it is an asynchronous request, please recover from the recovery console to resend the message to invoke.


    Can anyone help on this?

    Thanks in advance...

    Hello

    I created a sample split join to assign you with a similar use cases that you tried, before the invoke activity that you call a Business Service, an activity Assign Action and write the payload of body in the field of expression and in the variable field, I chose my input activity Invoke variable which is InvokeInput.payload.

    Payload body I pasted in the expression field looks to...

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

    Input samples

    -----------

    Hope this helps,
    N

  • View my pictures with a black border?

    When you edit a photo, in that it appears a black border that one I find it really increases my photos.

    As I browse through photos in an album, I want to see with the same black border.  I think it improves their and would help me to decide which photos to keep and throw away.

    I can't find a way to use a black border, it is just white.

    This is not a feature of Photos - suggests to Apple - http://www.apple.com/feedback/photos.html

    LN

  • Using Skype Professional license agreement

    Hello

    I'm looking Web page full Skype, but could not find anything related to my question about the license agreement for professional use.

    Can someone tell me (or show me the link) to the page where it says that I can or can't use Skype for business use? We are a company of 60 people in the Netherlands, and we want to use Skype in our company to make calls to other users aroud the world. I want to know it's legal.

    We are not the full version with etc. screen sharing. Only the video and audio with more than two people in more places around the world is very good.

    Everything is covered on the legal page.

    http://www.Skype.com/en/legal/

    Some people want to use subscriptions for their companies, but they are usually for personal use (and not 1 account to be used by multiple users in a company).

  • Vista Business Home Premium vs:

    I have a desktop running Vista Home Premium.  I have vista original home premium and key for this drive.

    I also have a laptop running Vista Business.  This OS has been pre-installed (OEM) when I got it.  I got the key stuck label

    on my laptop.  I want to reinstall vista on my laptop (because I want to format the hard drive) but only the

    system backup disks that were created after that I got the laptop.  Question: Can I reinstall Vista Business using Vista Home

    Drives high-end but with my Vista Business key?  (Authentication key won't be a problem because I have legal)

    OS authenticated on the desktop and the laptop.)

    Hello

    "I have a desktop running Vista Home Premium.  I have vista home disc premium and key to it original. »

    You tell us if the desktop came with Vista pre-installed Vista OEM license (Dell, etc.).

    If this is the recovery of an OEM license disk manufacturing; No, you can not use it on the laptop.

    "system backup disks that were created after that I got the laptop."

    If they are recovery disks, the software of the manufacturer of the laptop computer created when you followed the instructions, use them to re - install.

    To do what you want to do with the laptop you need a DVD of Microsoft Vista, not the manufacturer's recovery disk (Home Premium or other)

    Read about it:

    You can use a Microsoft Vista DVD, which contains the files for the different editions of Vista (Home Basic, Home Premium, Business and Ultimate) must be installed. The product key on your computer / Laptop box determines what Edition is installed.

    Other manufacturers recovery DVDs are should not be used for this purpose.

    And you need to know the version of 'bit' for Vista, as 32-bit and 64-bit editions come on different DVDs

    Here's how to do a clean install of Vista using a DVD of Vista from Microsoft:

    "How to do a clean install and configure with a full Version of Vista '

    http://www.Vistax64.com/tutorials/117366-clean-install-full-version-Vista.html

    And once the operating system is installed, go to your computer manufacturer's website and get the latest drivers for your particular model or laptop computer.

    And phone Activation may be necessary when you use the above installation method.

    "How to activate Vista normally and by Activation of the phone '

    http://www.Vistax64.com/tutorials/84488-activate-Vista-phone.html

    See you soon.

    .

  • Vista Business / XP Pro downgrade question

    I bought a computer with Vista professional which has been downgraded to XP Pro.  The product key that comes with it is for Vista Business.  I can't install Vista Business using the key provided with the computer?

    Contact the manufacturer of your computer on the downgrade rights and recovery DVDs:

    Can I downgrade my OEM version of Windows Vista business to Windows XP Professional?

    Yes. Right of demotion OEM desktop operating systems PC apply to Windows Vista business and Windows Vista Edition full, as stated in the terms of the license. Please note, downgrade versions OEM Windows Vista business and Windows Vista Ultimate are limited to Windows XP Professional (including Windows XP Edition Tablet PC and Windows XP x 64 edition). End users can use the following media for their downgrade: Volume Licensing media (provided that the end-user has a Volume License Agreement), trade retail (FPP) or System Builder hologram CD (provided that the software is acquired in accordance with the Microsoft OEM System Builder License). Use of degraded operating system is governed by the Windows Vista Business license terms, and the end user cannot use the downgrade and professional Windows Vista operating system. There is no right of demotion for Windows Vista Home Basic or Windows Vista Edition Home Premium.

    See you soon.

    Mick Murphy - Microsoft partner

Maybe you are looking for