How to use the jquery UI slider object in Edge to control the play head

Edge seems to automatically load jquery {I think} because I see a lot of $.{...} code in the code file. I want to do something like ... add the jquery UI slider as a symbol into my assets library then place an instance of the slider on my stage. Then I can start coding event handlers that get the position of the slider and then reposition the play head to the trigger associated with the number returned from the slider. The slider seemed to be controlled in jquery and the play head control is in the Edge api.  they both seem to work with js functions ...  so I'm looking for a way to get them working together in the Edge code that I see for a stage.

You could try to load jquery ui and then apply it to the symbol.
There are serveral ways to load a script.
Example 1 for draggable
$.getScript("js/jquery-ui-1.9.1.custom.min.js", function() {
var info = sym.$("info");
info.draggable({ disabled: false });
info.draggable({ snap: true });
info.draggable({ axis: "x" });
Example 2
yepnope(
    nope:[
        'js/jquery-ui-1.9.1.custom.min.js',
    complete: init
function init() {
    var mySymbol= sym.getSymbol("symbolName");
    // do something

Similar Messages

  • How to use ADO(Microsoft ActiveX Data Objective 2.8 Library) to execute the store procedure of database in SQL server

    how to use ADO(Microsoft ActiveX Data Objective 2.8 Library) to execute the store procedure of database in SQL server?
    Does any body can tell me about this?
    thanks
    [email protected]

    Hi 
    Did you succeed to execute the procedure?
    How ?
    Thanks
    Shimon Zerbib

  • I am using my Description as the caption on Slideshow.  I ticked the "Show Title Slide" button and iPhoto physically copied the description on the first slide onto the end of every other description.  I can find no way of removing them other than by hand.

    I am using my Description as the caption on Slideshow.  I ticked the "Show Title Slide" button and iPhoto physically copied the description on the first slide onto the end of every other description.  I can find no way of removing them other than by hand.  Unticking the "show title slide" did not reverse the situation back to my required state.   Any ideas why it might have happened or how it might br resolved?   Regards, Marshfrog1

    Attached is Dennis Linam’s Audition – “Log File” and “Log – Last File”
    Contact information Dennis [email protected]
    Previous contact information with your organization (DURIM):
    Dennis - i just finished my audition trial and bought the subscription the 2014 version.
    created by durin in Audition CS5.5, CS6 & CC - View the full discussion 
    DURIM - Okay.  I would expect the "Cache Warning" message because your default directories would not be the same as the ones in the settings file I generated.
    If you go back to the "7.0" directory and open the "Logs" folder, can you copy the "Audition Log.txt" file and send it as an attachment to [email protected]?  We'll take a look in that logfile and see if it gives us more information about why this is failing now.
    Also, do you have any other Adobe applications installed on this machine, such as Premiere Pro?  If so, do they launch as expected or fail as well?
    I do have the trial Pro version of Adobe reader, but I have not activated it, because I fear the same thing will happen did it. I cannot afford to activate the subscription for that product and take the chance of it not working either. I depend on those two programs religiously. Here is the files that you requested. I appreciate any help you can give me to get this audition program started
    Audition Log- file
    Ticks = 16       C:\Program Files (x86)\Common Files\Adobe\dynamiclink\7.0\dynamiclinkmanager.exe
    Sent from Windows Mail

  • I'm trying to create a list using CustomSchemalXml property in ListCreationInformation object in CSOM. But, the code throws an error "Invalid List Schema".

    I'm trying to create a list using CustomSchemalXml  property in ListCreationInformation object in CSOM. But, the code throws an error "Invalid List Schema". Any pointers on how to set the CustomSchemalXml property?
    Sri

    Hi Lakshmanan,
    Thanks for your reply.
    I checked this post and there was no solution to the problem there. I undersand we cannot create a list based on custom template in CSOM, but what I'm looking for is how of form xml and set it to CustomSchemalXml
     property, so that everytime when I want to create a list with similar content types and stuff, I can just set the
    CustomSchemalXml  property. 
    Sri

  • Question on how to use a variable in report object's horizontal formula to shift back and forth at refresh interval.

    Hello All;
    I have an SSRS Report that displays some slider objects. The report auto-refreshes every 5 minutes.
    This report is displayed on a big screen TV and I want to shift the images back and forth every time it refreshes to prevent possible burn-in on the screen.
    I see you can use a formula on the Horizontal position of objects, and I think a variable that gets added 10 and then subtracted by 10 every refresh could be used to display the objects in different positions each iteration, but I don't know how to do that
    in SSRS. I have read up on variables, and I think I need a global variable, but not sure how to update it on each refresh iteration.
    I read the links on using Silverlight to shift things, but that adds a whole other level of complexity.
    I could even do something in the DB and then pull that into the formula field if needed.
    Thanks in advance.
    George Hicks

    Hello All;
    I have an SSRS Report that displays some slider objects. The report auto-refreshes every 5 minutes.
    This report is displayed on a big screen TV and I want to shift the images back and forth every time it refreshes to prevent possible burn-in on the screen.
    I see you can use a formula on the Horizontal position of objects, and I think a variable that gets added 10 and then subtracted by 10 every refresh could be used to display the objects in different positions each iteration, but I don't know how to do that
    in SSRS. I have read up on variables, and I think I need a global variable, but not sure how to update it on each refresh iteration.
    I read the links on using Silverlight to shift things, but that adds a whole other level of complexity.
    I could even do something in the DB and then pull that into the formula field if needed.
    Thanks in advance.
    George Hicks

  • How come, that the shadow of an object on one layer effects the view of an image, that is on a different layer

    one layer has a shadow - on a second layer I have my image - how come, that  the image-view is effected by the shadow of an object of a different layer? is this only a view-effect or does this effects the prints as well? if so, how can I change it?
    thanks for advice!
    angelika

    Basic rule is that transparent object affects other objects behind it. So if you bring some object to front of transparent object (or upper layer), transparency flatteners doesn´t flatten it during transparency flattening. There are some exceptions to that rule, but I almost categorize those as bugs...
    Use Window>Output>Flattener Preview panel to see which objects are affected...
    If you export PDF, it makes a difference if you use PDF1.3 as compatibility. Using that PDF-version triggers Transparency Flattener and resulting PDF has no live transparency. All the other compatibility options preserve live transparencies....
    http://www.adobe.com/products/creativesuite/pdfs/dgt.pdf is quite good white paper about transparencies in CS softwares, it´s a bit old but most of the things have not changed since CS2...

  • How to use ThreadPoolExecutor / ArrayBlockingQueue with event objects

    I am having some trouble figuring out how to use the new java.util.concurrent library for a simple thread pool that has custom threads pulling off event objects from a queue.
    I started with this kind of code below, which I know is not right but am having trouble seeing the correct approach. Any help is appreciated. Thank You!
    -Paul
    public class testThreadPool {
    public static void main( String [] args ) {
    //work queue actaully only takes runnables,
    //but I need to add my event objects to this queue ??
    ArrayBlockingQueue<Runnable> workQueue = new ArrayBlockingQueue<Runnable>(20);
    ThreadPoolExecutor pool = new ThreadPoolExecutor(10,//pool size
    20,//max pool size
    1,
    TimeUnit.SECONDS,
    workQueue);//the work queue
    //this will ensure that the pool executor creates worker
    //threads of type MyThreadWorker
    pool.setThreadFactory(new MyThreadFactory());
    pool.prestartAllCoreThreads();
    //throw some events on the queue and let the pool workers
    //start to execute with the given event object
    workQueue.add(MyEvent);
    workQueue.add(AnotherEvent);
    class MyThreadFactory implements ThreadFactory {
    public Thread newThread(Runnable runnable) {
    return new (Thread)MyThreadWorker();
    class MyThreadWorker implements Runnable {
    private boolean m_run = true;
    public void run(){
    Object obj;
    while (m_run) {
    obj = null;
    //get the event object from the blocking queue
    try {
    obj = workQueue.take();
    } catch (InterruptedException e) {
    if ( obj == null ) continue;
    if ( obj == null ) continue;
    if (obj instanceof MyEvent) {
    //do this
    } else if (obj instanceof AnotherEvent) {
    //do this
    public void stopRunning(){
    m_run = false;
    this.interrupt();
    }

    What database and connection type are you using? Are you connecting the report directly to the database, or trying to assign the datasource to object data?
    It sounds like you might be trying to use a linked list, collection or other C# construct to pass your data in. This currently isn't supported by the Crystal Reports SDK. You can use a DataSet or a DataTable, and possibly also an IDataReader depending on which version of Crystal Reports you're referencing in your project. Of course you can also connect directly to the database, even if the database isn't on the same machine as the application.
    The way to show master records with detail information is through the use of subreports and linked subreport parameters. Linked subreports take their parameter value from a record in the main report, so that only the data appropriate to that master record is displayed. The guys over in the [report design|SAP Crystal Reports; forum can help you out with this if you have questions on the specifics.

  • How to use Fireworks JQuery Mobile Theme with Custom Icons in Dreamweaver CS6?

    I understand how to create the custom theme in FW, I created one extra icon using the icon placeholder option. I then export the theme. FW spits out 5 css files and the png sprites. What do I do with the css files for the different png dimensions?? I don't understand how to get what I created in FW to work properly in DW. I can get the theme working but DW creates the jquery folder with the default icons, I need to get my custom png sprite in there. When I do this, it seems that it shifts everything since the dimensions are wrong. The theme css that FW spits out has a @import url for the css files styling the diff sprites but it still doesn't work. I'm at a loss as to how to get it all to work together.

    Sorry, no knowledge of FW themes, but it would seem easier to adjust the positioning code
    than to try redo your sprite image.

  • I managed to transfer the music from 1 pc to 1 other pc (to be played by iTunes). Bit didn't fixe the transfer of the meta data (for example the rating). Does anyone know how to use your old playlists, etc..(= meta data) on the other PC? So, please help!

    I managed to transfer the music from 1 pc to 1 other pc (it is played perfectly on the other PC (Windows 7- pc) by the newly downloaded and installed iTunes, version 10.6.1.7). But I didn’t fix the transfer of the meta data (for example the rating). Does anyone know how to use (or import) your old playlists, etc..(= meta data) on the other PC? So, short: how to migrate the meta data from one pc to an other pc?
    It's a pity that it seems not to be possible to import on the new pc e.g. the ratings!!!
    I don't want to start again with rating my (beautiful classical) music!
    Thanks, from Amsterdam, NL

    Did you do the move via Home Sharing, astro?
    If so, perhaps try the instructions from the following post:
    Re: i transfered itunes to my pc playlists did not go

  • How to use shared variables to address multiple Watlow controller​s on the same COM port

    Hello,
    I am trying to use LabVIEW 2010 to control 4 Watlow temperature controllers on one COM port. 3 are Model 96 and 1 is an EZ zone controller. Each controller has a unique modbus address, and I am trying to read from and write to individual registers (such as closed loop setpoint) using shared variables. I am getting return data when reading (although the data appears to be invalid), but am unable to change the value in the register by writing. How can I be sure that the Modbus server is sending commands to the correct controller?
    Chuck
    Solved!
    Go to Solution.

    Peter,
    Thanks for the reply. I have actually solved that problem. I realized that the Modbus server address has to be the same as the controller's Modbus address.
    I have, however, run into another problem. Perhaps you could help me with that. I have a system with 4 Watlow controllers, 3 are series 96 controllers, one is PID only and 2 are ramping. The 4th controller is an EZ zone. I am using RS485 for communications and the controllers are all wired in parallel for communications and power.
    I have set up 2 Modbus servers for 2 of the controllers.
    This is the first I have ever worked with Modbus based communications. I have successfully programmed using the Modbus read/write VIs, and am wanting to move to shared variables. My questions right now revolve around addressing, Modbus I/O servers and COM ports. Specifically, at this point, I know the addresses need to match up between the server and the slave device (Watlow controller in my case), how many servers can I create and use on one COM port? If the number is limited, is there a way I can specify an address that I want the server to talk to? Will the broadcast mode work to request data values from the controllers?
    I'd appreciate any information you can help me with, or if you could point me to some sort of concise 'How-To' for Modbus communication.
    Thanks.
    Chuck

  • How to use pl/sql procedure or function as part of validate the entity obj?

    Hi,
    we are migrating from oracle forms to jdeveloper 11g.
    I have a req. that,i wanted to use oracle pl/sql procedure to validate a attribute in an entity created with ADF BC?
    Is it possible to implement this?
    And how to show the error message from pl/sql procedure?
    Regards
    Murali.

    Hi,
    It is possible by using a method validator for the entity attribute.
    Create a transient attribute 'X'.
    In the validation section of the attribute to be validate, choose method validator.
    In the Error Message tab set error message as {0}.
    Below the value for tokentoken should source.X (X is the transient attribute name)
    In the java code of method validator, call the stored procedure and set the value of transient attribute X with the error message from SP.
    Use setX("ErrorMessage").
    Regards,
    Srinidhi

  • How to use OLE to start a Diadem vbs Script, that starts the Measurement

    Hi there,
    i try to use OLE to start a Diadem Script that start my measurement. I always get the Error-Message "The Measurement can only be startet in the first instance". How can i make this work? At this time i use DDE to start my Scripts and i want to use OLE to get direct Channel Access and to prevent the lousy dde-timeouts.
    IDIACommand = CreateObject("diadem.tocommand")
    command="Scriptstart  etc
    IDIACommand.CmdExecuteASync(command)
    Thanks
    Diademi

    Hello diademi!
    Depending on a registry setting DIAdem will treat the interface creation in two different ways:
    Starting always a new instance of DIAdem and connect to this
    Start a new DIAdem if there is no DIAdem already running. Then connect to the started or the already running DIAdem
    The second mode will be right for your use case. Have a look at the key 'HKEY_CLASSES_ROOT\CLSID\{285E4FB2-F633-11D1-85DC-008048D9A408}\StartParameter' in the registry. The value 'Intancing' defines the behavior. Search the DIAdem help to get the definition (don't use the help index, it is missing there!).
    Matthias
    Matthias Alleweldt
    Project Engineer / Projektingenieur
    Twigeater?  

  • How to use a GPIB card's LabView drivers to communicate with the card?

    I have an axiomtek AX4810P PCI-GPIB card and i have aquired LabView drivers from the manufacturer.
    This has put VI's for the GPIB functions on the 'user palette' but i can't work out how to use them to communicate with the card. can anyone help? please.

    LS,
    Thank you for contacting National Instruments.
    Unfortunately, since you are not using a National Instruments GPIB card, I do not have access to the drivers that were provided to you by your card's manufacturer. I would suggest contacting Axiomtek directly to obtain support using their drivers.
    However, I did write a small VI that demonstrates how to use similar National Instruments drivers with a National Instruments GPIB card. Keep in mind, this example VI is not intended to work with your particular card. The drivers you obtained from Axiomtek may have similar functions, however, and you can use my VI as a guide. My VI allows you to send a command to an instrument at address 2 on the GPIB card.
    Hope this helps!
    Matthew C
    Applications
    Engineer
    National Instruments
    Attachments:
    GPIB_Communication.vi ‏23 KB

  • How to use OO40 to read geometry objects ??????????

    How to use OO4O to read & write geometry objects?

    What is OO4O ?
    Joel P�rez

  • How to use LTE on iPad 4 (A1460) from US (Verizon) in the UK (EE)

    If you purchase the iPad 4 model A1460 in the US on the Verizon network, it will not connect to 4G LTE on the UK EE network - you will only get 3G.
    To enable LTE you must do a full factory reset (Settings -> General -> Reset -> Erase all Content and Settings).
    Once the iPad restarts it will connect to LTE.  Note you should backup any data first and then you can restore it afterwards and will still have LTE.
    This seems to be a recurring problem from discussions with the EE store and helpline who could not diagnose the problem.  Apple telephone support eventually suggested the above steps which are due to Verizon's LTE network settings being stored on the iPad and there seems to be no other way to switch to the UK ones other than a full erase.
    Hope this helps others!

    Hi Dave,
    Verizon is somewhat different from normal GSM/HSPA/LTE carriers in the respect that it still offers some of it's service over CDMA EVDOx1 A/B. The CDMA protocol is not usually delivered using a sim card only, and there are carrier settings in the iPad which are for this purpose.
    I do not believe the iPad is locked to Telstra as 4th generation iPads are all unlocked by default. You need to give the MEID and IMEI number to Verizon. When they have been added to Verizon's network, then insert the Verizon sim card and completely factory reset the device. You will lose everything. When the device reboots, it should come up onto Verizon. If you restore, you may lose the Verizon carrier settings.
    The 4th generation A1460 iPad seems to be a dual mode device between CDMA and non CDMA carriers. And the mode seems to be set upon the first encounter with a sim card after a complete reset.
    To confirm the device is not locked, pop a T-Mobile or AT&T sim card into it. If it is locked, you will get a message stating that it is carrier locked. If not, you should see 3G service on either of those networks.
    I would strongly recommend finding a small techie independent dealer who can probably help with this more than the staff in Verizon. Verizon is a very controlled network and BYOD is not massively supported at the best of times. They are unlikely to have experience of this and their text book response would be that they do not support it.
    I'm also unsure as to whether or not Verizon offers LTE data on Prepaid plans so if it is a prepaid plan, you would only get 3G (CDMA) which after using Telstra would not impress you much speed-wise.
    What may be an easier solution although not as desirable would be putting a prepaid T-Mobile sim card in. They now support DC-HSPA on 1900Mhz in many markets and it is nearly as fast as Verizon's LTE and quite cheap too. (With this T-Mobile solution, no reset would be required).
    Good luck.
    J.

Maybe you are looking for