TIP: Cycling/Cancelling Animation using jQuery

Thought this would be worth sharing with you folks if you're wondering how to cancel animations midway or force cycling et cetera...
From the page...
Animate wide on mouseEnter
Animate back on mouseLeave
No matter what, perform a complete wide/back cycle
Not queue up animations on multiple hovers
Be smooth
http://css-tricks.com/examples/jQueryStop/

yes but:
1) Edge UI provides:
mouseenter
mouseleave
We known that .hover() use both mouseenter and mouseleave.
And we known that mouseenter and mouseleave work better than mouseover and mouseout using apple devices.
2) Edge API provides:
isPlaying()
isPlayDirectionReverse()
isPlaying
Description: Returns a boolean that indicates whether the default timeline is playing.
Example
if (sym.isPlaying()) { console.log("Timeline is currently playing."); }
isPlayDirectionReverse
Description: Returns a boolean that indicates whether the default timeline play direction is reverse.
Example
if (sym.isPlayDirectionReverse()) { console.log("playing backwards through the timeline"); }
Therefore:
(':not(:animated)') or (!$(this).hasClass('animated')) can be replaced by sym.isPlaying().

Similar Messages

  • How to create the animation div dyanimcally using jquery+javascript

    Hello,
    after a week of researching and without getting the full result i decided to upload new discussion here and maybe some of you guys will help me.thanks in advance.
    include the file:
    <!--Adobe Edge Runtime-->
        <meta http-equiv="X-UA-Compatible" content="IE=Edge">
        <script type="text/javascript" charset="utf-8" src="animate_edgePreload.js"></script>
    <!--Adobe Edge Runtime End-->
    html code:
    <div id="Stage" class="EDGE-70798230"></div>    if i put it like this of course everthing works fine..i can put more with different id's and they will work fine...
    my problem:
    i dont know how many of this animation i will need...depends of what my server will give me in the response...so i need to create them dynamically...
    i tried lots of things:
    $("#newAnimation").append('<div id="Stage2" class="EDGE-70798230"></div>');    of course with this nothing happend...it even dont get the symbols under stage..and not any of the css...
    $(".EDGE-70798230#Stage").clone().appendTo("#newAnimation");
    $("#newAnimation").children('#Stage').prop('id','Stage2');   then mroe css changes and just then i can see the animation but it doesnt work..."play is not defind" when i try to run the animations..
    i know there is some function that called createChildSymbol/createSymbolChild but none of them work for me...
    i use jquery mobile..so to start the animation for example i do $.Edge.symbol.get($("#Stage")).play();
    i tried to use the loadResources etc....doesnt work too..
    anyone have some idea what i can do? it is possible?

    joel pau thank you for all the support.
    now i will explain the anwer if anyone else will be stuck with the same problem.
    first of all in edge animate need to mark all the things that created and "convert to symbol"(mark all and right click).
    second:
    in the top of your html file you got the script to the edge_preLoad.js .....
    so now in your js code:
    lets say we use append to add new div to our code and now we got <div id="new"</div>.
    $.Edge.getComposition("yourCompositionID").createSymbolChild("yourSymbolThatCreatedInStepO ne","#new");
    like this you can get new animation of the same composition.
    if you want to conroll the animation you just need to take the id of the new symbol your created using jquery or any way you like.
    and example of control it:
    $.Edge.symbol.get("#theNewID").play();

  • Using JQuery In Apex

    I am using Apex 4.1
    I am trying to animate a list, so wanted to use JQuery
    So I edited my page and placed the following in Javascript box.
    $(function() {
            $("#MAIN").show("slide", { direction: "up" }, 500);
    }); I gave my list region the id MAIN.
    Unfortunately the animation does not work.
    I believe the Jquery file required to make this work is jQuery UI Effects, which I believe is loaded automatically in Apex 4
    or am I wrong
    Cheers
    Gus

    Gus C wrote:
    I have now placed the following in to my page template
    <script src="#IMAGE_PREFIX#libraries/jquery-ui/1.8.14/ui/minified/jquery.ui.effects.core.js" type="text/javascript"></script>
    <script src="#IMAGE_PREFIX#libraries/jquery-ui/1.8.14/ui/minified/jquery.ui.effects.slide.js" type="text/javascript"></script>Still nothing
    GusThe problem is in your paths that has file names spelled wrongly and also the point you are loading the files is before the *#HEAD#* tag, these files should be loaded after the *#HEAD#* tag because the actual jQuery file is loaded at that point by APEX
    You should load the files with these names
    <script src="#IMAGE_PREFIX#libraries/jquery-ui/1.8.14/ui/minified/jquery.effects.core.min.js" type="text/javascript"></script>
    <script src="#IMAGE_PREFIX#libraries/jquery-ui/1.8.14/ui/minified/jquery.effects.slide.min.js" type="text/javascript"></script>Check your app/page now
    Edited by: VC on Jun 21, 2012 9:22 AM

  • Animation using JavaScript

    Hi,
    I have created an animation exercise for an eLearning lesson in a program that uses JavaScript as the scripting for a Windows executable. A retired social worker who creates these eLearning materials as give-away's to help people in the community improve health, it would be a big help to reaching more people if instead of a Windows executable version, the animation could be developed in a web page. A lot more people could view the eLearning and try this exercise which trains people in pacing their breathing.
    The animation has a 300X300 circle on the canvas with a couple of text input boxes and a start button. The JS < 50 lines of script, but since it was not developed for a web page, it has no tags and it depends on objects like the circle or button (or 2 audio files to craete the inhale/exhale sounds) that were already placed on the canvas in the Windows executable program.
    I'm not very skilled using Dreamweaver CS5, but with help, reading, references can try to convert this JS into a web version, if it's possible. Not sure how to do this and would appreciate any help.
    I am adding a screenshot of the interface and the JS functions that are called by the start button.
    //JS: ( bar1 is the variable entered by the use as breaths per minute-BPM; time1 is the exercise length; the variables initially are set as follows: time1=15, //volume=100)
    var time1
    function minuteTimer()
    breakLoop = false
    stopLoop = false
    fork (calcBreathing)
    for (var i=0;i<time1;i++)
        wait(60)
        breakLoop = true
        Submit.Show()
        Text122.Show()
        Text12.Show()
        TextInput22.Show()
        TextInput2.Show()
        Submit2.Hide()
        TextInput2.SetTransparency(0,false)
        TextInput22.SetTransparency(0,false)
        Text12.SetTransparency(0,false)
        Text122.SetTransparency(0,false)
        Text5.SetTransparency(0,false)
        Frame12.SetTransparency(0,false)
        Submit.SetTransparency(0,false)
        TextInput2.Enable(true)
        TextInput22.Enable(true)
        Debug.trace("\n minutes elapsed "+(i+1)+"\n")
    stopLoop = true   
    function calcBreathing()
        var bar2 = 60/bar1
        for (loop = 0;loop<bar1;loop++)
            mySound.Play(1,volume)
            Vector8.Scale(.5,.5, bar2*.3)
            mySound.Stop()
            wait (bar2*.05)
            mySound2.Play(1,volume)
            Vector8.Scale(-.5,-.5,bar2*.6)
            mySound2.Stop()
            wait (bar2*.05)
            if (breakLoop) break
        breakLoop = false
        if (bar1 > 6) bar1--
        if (!stopLoop) calcBreathing()
    Any help appreciated. Thanks very much.
    Kind Regards,
    saratogacoach

    joel pau thank you for all the support.
    now i will explain the anwer if anyone else will be stuck with the same problem.
    first of all in edge animate need to mark all the things that created and "convert to symbol"(mark all and right click).
    second:
    in the top of your html file you got the script to the edge_preLoad.js .....
    so now in your js code:
    lets say we use append to add new div to our code and now we got <div id="new"</div>.
    $.Edge.getComposition("yourCompositionID").createSymbolChild("yourSymbolThatCreatedInStepO ne","#new");
    like this you can get new animation of the same composition.
    if you want to conroll the animation you just need to take the id of the new symbol your created using jquery or any way you like.
    and example of control it:
    $.Edge.symbol.get("#theNewID").play();

  • Developer-Online: Create a Digg login style using jQuery and CSS

    Create a Digg login style using jQuery and CSS
    Hello Friend, today We'll see how to create a Digg Login panel using only CSS3 and a bit of jQuery script. You'll see how is simple present a login feature using a modal window creates by js. You'll find the .ZIP tutorial visiting: http://www.beatfly.com/download.php
    Tags:    tips & tricks | JS
    Author: patrizio Quatrini
    Posted: 2010-02-04 10:57:48
    Brought to you by: Developer-Online

    Thanks Leonard
    On the surface that looks a mighty powerful product that probably goes far beyond what we require. Looking at the system requirements, it seems that some specific Application Servers are needed (is this correct?), which we won't have. Am I correct in thinking this is a modular based product, in that I buy a base product (being LiveCycle ES ... not sure what this product does on it's own) and then add a module such as PDF Generator to it?
    It's difficult to glean from the product web site exactly what this product is all about but my gut feel is it'll be a few steps beyond what we need to achieve. I might be wrong, so feel free to pull me up there but it seems this is along the lines of a total back-end Adobe solution.
    If you have any other suggestions I'd be grateful, otherwise I may need to continue down the "clunky yet serviceable" HTML to PDF route
    Adrian 

  • Accessing animation through jQuery

    Am trying to do two things here, outside of the Edge animation.
    The scene
    3 boys in idle status.
    Action
    - Click on any of the boy.
    - Replace 'opened' mouth PNG with a 'closed' mouth PNG.
    Am trying to bind each character using jQuery in my HTML page through
    $(this).on('click', function (){ 
    //Close the mouth
    The code am using is from the documentation (which has limited description on how to access animate instance through jQuery).
              var comp = AdobeEdge.getComposition("act0_introduction");
              var stage = comp.getStage();
              console.log("Stage: "+stage);
    The error am receiving through Chrome is:
    Uncaught TypeError: Object #<Object> has no method 'getComposition'

    If you have a timeline animation for the fade, you can lose
    it based on what I think you want. You need to set the _alpha
    property of whichever image lies on top based on the time of day,
    which you can acquire using the Date class.
    Look thru the help files for these two things and you should
    be able to find enough info to try to code it.

  • What are the implications of using jquery version 1.10.2 rather than the version (1.7.1) that Adobe

    What are the implications of using jquery version 1.10.2 rather than the version (1.7.1) that Adobe uses? Thanks
    Bob

    I am having trouble when my Edge Animate composition (banner ad) appears on a web page that uses jquery version 1.8.23. Some of the functionality of the host page no longer works. This occurs only when my composition is present & the functionality returns when another ad is displayed (either a Flash ad or a gif). It happens in Chrome Version 31.0.1650.63 m, Chrome Version 33.0.1738.0 canary & IE 11.
    I had edited my Edge Animate files to use the Adobe CDN option & to point to another server (mine) so only the html file was needed to be placed in the ad rotator & on the host's server. I now have edited them again to include the Google CDN locations for version jquery 1.10.2 (http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js). I am waiting for the host site to try this updated html file. When I visit just this new page & the old one that pointed to 1.7.1 for that matter, it works fine.
    Thank you for taking the time to read and answer my message.
    Bob

  • Setting row level field in table using jQuery

    Hi,
    I'm utilising the following to read and then set values in the same row within a report.
    Re: Referencing a row level field value in an Interactive Report using jquery
    Consider the following snippet
    // read information eg
    var row = $x_UpTill(this.triggeringElement, 'TR');
    var dateCompleted = $('input[name="f03"]', row)[0];
    console.log(dateCompleted.value);
    // write information eg
    var dateBooked = $('input[name="f02"]', row)[0];
    //dateBooked.value = 'xyz'; // sets to xyz, as expected
    dateBooked.value = return_date; // sets the actual code, not returning stringAll works as I'd expect except the last line. I have a js function returning a formatted string (Set Date With Javascript but in this case my field now contains the actual code definition, not the date string the function actually returns.
    I'm thinking I'm just misunderstanding a simple concept for JavaScript here?
    A simple workaround could be to create field P0_SYSDATE, calculated to TO_CHAR(SYSDATE,:F_DATE_FORMAT), then apply
    dateBooked.value = $v('P0_SYSDATE');but I'm trying to improve my understanding of javascript/jQuery...
    Cheers,
    Scott

    So are you saying that return_date is an actual javascript function that returns the formated string/date you want?
    If so, then I think you simply need parenthesis to run the function:
    dateBooked.value = return_date();Or... am I missing something here?
    Thanks
    -Jorge

  • Once I create a html5 animation using the 'Toolkit for CreateJS' in flash, how do I then insert it..

    Once I create a html5 animation using the 'Toolkit for CreateJS' in flash, how do I then insert it into a webpage via Dreamweaver:
    This has been sending me round in circles for over a week - can anyone let me know how I do this or can they point me in the direction of a tutorial?  Thank you in advance - d;-)

    There are some tutorials on Adobe site:
    <http://www.adobe.com/devnet/createjs/articles/getting-started.html>
    <http://tv.adobe.com/watch/adc-presents/toolkit-for-createjs-part-1-designing-game-assets/>
    <http://tv.adobe.com/watch/adc-presents/toolkit-for-createjs-part-2-adding-game-interactivi ty/>
    The parts 1 and 2 are videos about 10 minutes each while the first link is a detailed article that you can print and practice on your machine.
    Hope this helps.

  • Using jquery to upload files

    Hi
    I have uploaded files before but not using jquery but now am trying to use jquery so that my files uploads without page refreshing.
    This is my Jquery code. and below is the html code. Can any one help me with the jquery code so that I can get the data to the php script that process
    the variables.
    JQUERY:
    <script type="text/javascript">
    $(document).ready(function() {
       $("#photoform").submit(function() {
                                var phototitle = $("phototitle").val();
                                var photogenre = $("photogenre").val();
                                var photodesc = $("photodesc").val();
                                var photofield = $("photofield").val();
        $.post("Uploadfix.php", { phototitle: phototitle,
         photogenre: photogenre, photodesc: photodesc, photofield: photofield}, function(data) {
         $("#allresult").html(data);
       return false;
    //-->
    </script>
    PHP CODE:
    $phototitle=addslashes(strip_tags($_POST['phototitle']));
    $photogenre=addslashes(strip_tags($_POST['photogenre']));
    $photodesc=addslashes(strip_tags($_POST['photodesc']));
    $photo=$_FILES["photofield"]["name"];
    $type=$_FILES["photofield"]["type"];
    $size=$_FILES["photofield"]["size"];
    $temp_name=$_FILES["photofield"]["tmp_name"];
    $error=$_FILES["photofield"]["error"];
    echo "$phototitle";
    echo "<br/>";
    echo "$photo";
    echo "<br/>";
    echo "$type";
    echo "<br/>";
    html:
    <form id="photoform" method="post" enctype="multipart/form-data" action=''>
    //id variables:
    </form>
    How can I read in the file from jquery to the php sucessfully. NO SUCESS YET!
    Thanks.

    Hi Gramps
    Thank for the reply. If I use form action like the code below it works but I can not do validation.
    <script type="text/javascript" >
    /* $(document).ready(function() {
                $("#photoform").submit(function(e)         {
                $("#allresult").html('');
                $("#allresult").html('<img src="PHOTOTEST/loader.gif" alt="Uploading...."/>');
                $("#photoform").ajaxForm({
                            target: '#allresult'
            }).submit();
    </script>
    HTML:
    <form id='photoform' enctype='multipart/form-data' method='post' action='process.php'>
    </form>
    PHP:
    $example=$_POST['INPUT'];
    if($example>5)
    echo "input greater than 5 sorry.";
    else
    //process data
    The problem is this is echoed in a new page which is process.php. Instead of on a div on the page that is submitting the form. I know this is
    because of the form action. how can I make the validation appear on a div on same page?
    cheers.

  • How to use jquery.hotkeys.js in ADF application

    Hello all,
    I am developing an ADF application where i am trying to use jquery.hotkeys.js file. I have created a folder js inside ViewController\Web Content\js and i have added jquery.hotkeys.js file inside that folder.
    Now i have created a jspx page and inside that i have 3 input text and 1 submit button now I am trying to use keyboard shortcuts say ALT+F8 to clear the form fields. Here is my full jspx form
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:inputText label="First Name" id="it1" value="#{MyBean2.firstName}">
    <af:clientListener method="clearAll" type="keyDown"/>
    </af:inputText>
    <af:inputText label="Last Name" id="it2" value="#{MyBean2.lastName}">
    <af:clientListener method="clearAll" type="keyDown"/>
    </af:inputText>
    <af:inputText label="EmailID" id="it3" value="#{MyBean2.emailId}">
    <af:clientListener method="clearAll" type="keyDown"/>
    </af:inputText>
    <af:commandButton text="Submit" id="cb1"
    action="#{MyBean2.callSubmit}"
    binding="#{MyBean2.cb1}">
    <af:clientListener method="clearAll" type="keyDown"/>
    </af:commandButton>
    </af:form>
    <f:facet name="metaContainer">
    <af:resource type="javascript" source="/js/jquery.hotkeys.js"/>
    <af:resource type="javascript">
    function clearAll() {
    $("*").bind('keydown', 'Alt+F8', function (evt) {
    clearForm();
    evt.stopPropagation();
    return false;
    function clearForm() {
    alert('3');
    curElm = document.activeElement;
    var frm = $(curElm).closest('form');
    var frmname = ($(frm).attr('name'));
    document.forms[frmname].reset();
    document.getElementById('frmname::content').reset();
    document.getElementById('f1::content').reset();
    $("input:visible:enabled:first").focus();
    </af:resource>
    </f:facet>
    </af:document>
    </f:view>
    </jsp:root>
    But that is not working. Can anyone help?
    Thanks

    My requirement is the form should get cleared on pressing ALT + F8.
    Here is my updated jspx page:-
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:inputText label="First Name" id="it1" value="#{MyBean2.firstName}">
    </af:inputText>
    <af:inputText label="Last Name" id="it2" value="#{MyBean2.lastName}">
    </af:inputText>
    <af:inputText label="EmailID" id="it3" value="#{MyBean2.emailId}">
    <af:clientListener method="clearAll" type="keyDown"/>
    </af:inputText>
    <af:commandButton text="Submit" id="cb1"
    action="#{MyBean2.callSubmit}"
    binding="#{MyBean2.cb1}">
    <af:clientListener method="clearAll" type="keyDown"/>
    </af:commandButton>
    </af:form>
    <f:facet name="metaContainer">
    <af:resource type="javascript" source="/js/jquery.hotkeys.js"/>
    <af:resource type="javascript" source="/js/jquery-1.4.4.min.js"/>
    <af:resource type="javascript">
    function clearAll() {
    jQuery('*').bind('keydown', 'Alt+F8', function (evt) {
    clearForm();
    evt.stopPropagation();
    return false;
    function clearForm() {
    curElm = document.activeElement;
    var frm = $(curElm).closest('form');
    var frmname = ($(frm).attr('name'));
    alert(frmname);
    document.forms[frmname].reset();
    $("input:visible:enabled:first").focus();
    </af:resource>
    </f:facet>
    </af:document>
    </f:view>
    </jsp:root>
    But still I am not able to get the desired functionality. Am i missing something here?
    Thanks

  • How to use Jquery Data Grid in HTML

    can anyone please tell me how to use JQuery Data grid in my HTML page with example.
    I have one HTML page i want the standard JQuery Data Grid with search and pagination functionality.

    Guys I have got the solution
    thanks a lot
    please refer this link for JQGrid
    http://www.codeproject.com/Articles/609442/Using-JqGrid-in-ASP-NET

  • Developer-Online New Tutorial Released: Create a Flickr gallery using jquery and JSON

    Create a Flickr gallery using jquery and JSON
    Hello everyone, In this tutorial I'll show how is simple to build your Flickr photo gallery using jQuery framework and JSON. We'll see how to setup thumbnail's numbers, convert your RSS Flickr in a JOSOn format and display theme. Thank You for your attention!
    Posted on:                                       2010-01-11 10:20:48
    Author: patrizio Quatrini
    Best Regards
    Waleed Barakat

    Heya,
    When I first read your post I originally thought you were posting a tutorial about whether a chosen username has already been resigtered or not on the signup page like this tutorial:
    http://DwFAQ.info/signup_demo.php
    Spry Check Username Availability
    Date Created: Sunday, July 5, 2009 2:29 PM
    Then after looking at the page you've linked to and trying to understand the objective of the tutorial I've noticed that you are talking about something like this:
    http://DwFAQ.info/home.php?id=7
    Spry Search
    Date Created: Sunday, March 1, 2009 8:51 PM
    It's pretty simple to do with the link I've referenced. Simply create your database with populated tables, use the mentioned script to convert the database data into xml syntax, then enter your dynamic database script as the location of the xmlDataSet in the spry page linked.
    View source on this page which shows the non-destructive filter in action to see how it's done! You can also spice it up a little for products, etc. by using this method. The key is to create a dynamic xml syntax from your database and then use the dynamic xml script location as your xmlDataSet in the search page.
    I have an example of the auto suggest search on my homepage http://DwFAQ.info
    On the top-left side of the page click on the link that says Search Tutorials to reveal the search form. Then start typing characters into the search box to see the entries instantly filter according to the characters that are typed. You can also filter further by clicking on the category checkboxes to filter by keywords AND category.
    You can view the source code on my homepage to see the location of the dynamic xml syntax referenced as the xmlDataSet location and how it was implemented into the site.

  • Using jQuery UI in a timeline trigger

    I am successfully using jQuery in timeline triggers, but something is going wrong when I try to use jQuery UI.
    I am loading jquery-ui-1.9.2.custom.js and jquery-ui-1.9.2.custom.css using yepnope in the creationComplete event for the stage object ("Symbol").  The same code that works in the "complete" function of the yepnope does not work in a timeline trigger.  The code is:
    sym.$("main_st_classic").hide("blind", { direction: "horizontal" }, 2000);
    So this is what it looks like bound to the default timeline:
          Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 0, function(sym, e) {
             // insert code here
             sym.$("main_st_classic").hide("blind", { direction: "horizontal" }, 2000);
    BTW, in the picture below the display property is set to Always On, but I have tried it with On and experienced the same problem.
    Any thoughts will be much appreciated.

    Umpf, my fault. DDL statements execute implicit commit.
    You need to execute your DDL statements in a separate transaction and not within the trigger transaction
    Try this:
    create or replace procedure create_user(p_username in varchar2, p_password in varchar2)
    is
      pragma AUTONOMOUS_TRANSACTION;
    begin
      execute immediate('CREATE USER '|| p_username ||
                        ' IDENTIFIED BY '|| password ||
                        ' DEFAULT TABLESPACE MAGICOP QUOTA UNLIMITED ON MAGICOP');
      execute immediate('GRANT APP_USERS TO '||p_username); 
      execute immediate('ALTER USER '||p_username ||' DEFAULT ROLE ALL');
    end;
    CREATE OR REPLACE TRIGGER NORDISKADMIN.BIU_LOGIN_JV
    BEFORE UPDATE OR INSERT ON LOGIN_JV
    FOR EACH ROW
    DECLARE
    BEGIN
      GETSTDTRIGGERINFO( inserting,'LOGIN_JV', :new.US_INSERT,:new.DT_INSERT,:new.US_MODIFY,:new.DT_MODIFY,:new.AI_LOGIN_JV);
      create_user(:new.CD_LOGIN_JV, :new.PW_LOGIN_JV );
    END;

  • Rating a List Item using jquery with out using User profile service

    Hi,
    I dont have access to Central admin and i was not not able to enable USer profile service.
    can i rate a list item in Sharepoint 2010 using any jquery plugin
    i got the link
    http://blogs.msdn.com/b/carloshm/archive/2009/08/24/jquery-rating-in-sharepoint-lists.aspx
    But i am not able to find any plugin in it.
    Please advice.
    Thnaks,
    Pallavi

    Hi,
    According to your post, my understanding is that you wanted to rate a list item using JQuery in SharePoint 2010.
    The link you had posted above is for SharePoint 2007.
    You can refer to the following articles which about using the JQuery to call the rating service.
    http://blog.dennus.net/2011/08/09/using-spservices-and-jquery-to-include-social-rating-control-on-_layouts-page/
    https://www.habaneroconsulting.com/insights/Calling-the-Rating-Service-using-jQuery-in-SharePoint-2010-Part-1-of-2#.UxbQxvmSz6k
    You can also use the tool of the CodePlex to achieve it.
    http://sptoolbasket.codeplex.com/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

Maybe you are looking for

  • How to create Business View against SQL

    We are moving from Crystal 10 to XI. Before moving we were using ASP application for dynamic parameters. Now we are planning to use Business Views or List of Values for these dynamic parameters. We are using IBM DB2 database and datasource is SQL Com

  • JtextField Flickering

    Hi All I am facing a flickering problem in applet which is having a Swing component.I am using SwingWorker class from sun to do some background processing in event thread i tried SwingUtilities.invokeLater did help me but not that much GUI used to ge

  • How do i edit numbers in the recent call list?

    I'm using iOS 5.0.1 on the 4s currently Can anyone tell me how to edit the contact numbers in the recent call list? Eg. I would need to add a certain prefix in front of the number to return an overseas call in my recent call list. I tried to copy n p

  • Why my 2009 desktop with OS Maverick keep shutting down by itself

    Why my 2009 desktop using OS Maverick keep shutting down by itself?

  • Conflict between python-pyqt4 and python-pyqt5

    Hi! When trying to use matplotlib in the Spyder Python IDE I get the following error RuntimeError: the PyQt5.QtCore and PyQt4.QtCore modules both wrap the QObject class It's obviously a conflict between pyqt4 and pyqt5. However, pyqt4 is a hard depen