Comments on: Animate ServiceNow with jQuery and Prototype Effects! https://servicenowguru.com/system-ui/jquery-prototype-animation-effects/ ServiceNow Consulting Scripting Administration Development Tue, 28 May 2024 20:22:22 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Subhash Uniyal https://servicenowguru.com/system-ui/jquery-prototype-animation-effects/#comment-8536 Thu, 17 Apr 2014 05:19:31 +0000 https://servicenowguru.wpengine.com/?p=3667#comment-8536 Amazing as usual, many thanks!!

]]>
By: murtaza https://servicenowguru.com/system-ui/jquery-prototype-animation-effects/#comment-8535 Mon, 08 Jul 2013 13:29:02 +0000 https://servicenowguru.wpengine.com/?p=3667#comment-8535 This is a great tutorial , we can include Jquery plugins and effects in SN

Thanks SN guru

]]>
By: Mark Stanger https://servicenowguru.com/system-ui/jquery-prototype-animation-effects/#comment-8534 Fri, 23 Mar 2012 20:02:49 +0000 https://servicenowguru.wpengine.com/?p=3667#comment-8534 In reply to John Caruso.

The best way to point to a repository like that is to use a global UI script. As far as prototype, I use the standard Prototype API doc. You can find a link to it in the ‘Scripting Links’ section at the bottom of the page.

]]>
By: John Caruso https://servicenowguru.com/system-ui/jquery-prototype-animation-effects/#comment-8533 Fri, 23 Mar 2012 19:40:28 +0000 https://servicenowguru.wpengine.com/?p=3667#comment-8533 In reply to Mark Stanger.

Mark,

Is there a way to include it but point to a CDN host (see: http://docs.jquery.com/Downloading_jQuery#CDN_Hosted_jQuery )? Since there are so many sites using jQuery now, it is likely the user will have a CDN version cached already.

Good point though about the need to be parsed by the browser. It’s exactly your point about the plugins (like jQuery UI – something I think would be very useful on the CMS side) that would be nice to leverage.

Having multiple javascript frameworks is not very desirable though. I just wish ServiceNow had standardized on jQuery – as that is what I’ve focused my attention on for the past couple years!

Guess I’ll be learning Prototype, now. :-)

Any suggestions on books / learning resources for Prototype?

John

]]>
By: Mark Stanger https://servicenowguru.com/system-ui/jquery-prototype-animation-effects/#comment-8532 Fri, 23 Mar 2012 17:06:45 +0000 https://servicenowguru.wpengine.com/?p=3667#comment-8532 In reply to John Caruso.

There’s absolutely no problem with jQuery itself. In fact, it was included at one point in the default setup and is actually still included as an inactive UI script. Including it isn’t a big issue, but it does have an impact on client-side performance since that data needs to be sent to the client and then parsed by the browser’s javascript engine all the time. Any time you can limit the amount of script sent to the client you should. In this case, it’s a pretty large script library that you’re using so you should be especially careful about it. jQuery is great, and offers a lot of plugins that Prototype (and other libraries don’t), but I would only use it as a last resort. I love to use Prototype (which is the standard ServiceNow library) whenever I can.

]]>
By: John Caruso https://servicenowguru.com/system-ui/jquery-prototype-animation-effects/#comment-8531 Fri, 23 Mar 2012 14:12:15 +0000 https://servicenowguru.wpengine.com/?p=3667#comment-8531 Mark,

You say: “I didn’t want to have to incorporate a separate API and deal with the loading the bulk of jQuery everywhere in the instance.”

Could you elaborate on what the concern is? Is it that difficult to incorporate the jQuery library, or point to a CDN hosted version?

With the fairly widespread adoption of jQuery in the last few years, I would think ServiceNow would want to include jQuery as base instance feature.

John

]]>
By: Michael Bartkowiak https://servicenowguru.com/system-ui/jquery-prototype-animation-effects/#comment-8530 Wed, 10 Aug 2011 16:49:23 +0000 https://servicenowguru.wpengine.com/?p=3667#comment-8530 In reply to Mark Stanger.

Awesome! Really cool stuff. Thanks Mark.

]]>
By: Mark Stanger https://servicenowguru.com/system-ui/jquery-prototype-animation-effects/#comment-8529 Tue, 09 Aug 2011 20:44:46 +0000 https://servicenowguru.wpengine.com/?p=3667#comment-8529 In reply to Michael Bartkowiak.

You should be able to check it out in your own instance too. It’s actually been around for a while now.

]]>
By: Michael Bartkowiak https://servicenowguru.com/system-ui/jquery-prototype-animation-effects/#comment-8528 Tue, 09 Aug 2011 19:02:43 +0000 https://servicenowguru.wpengine.com/?p=3667#comment-8528 Looks cool. Would love to check this out, but it looks like demo is down. :(

]]>
By: Travis Castleman https://servicenowguru.com/system-ui/jquery-prototype-animation-effects/#comment-8527 Tue, 09 Aug 2011 17:33:52 +0000 https://servicenowguru.wpengine.com/?p=3667#comment-8527 This is really awesome! Thanks Guru!

]]>