SlideShare a Scribd company logo
Melbourne 2011
@GrumpyWookie
Chris O’Connor [ OBS ]
www.sharepointroot.com
SHAREPOINT + JQUERY
(c) 2011 Microsoft. All rights
#FunkyWookie
Melbourne 2011
SharePoint + jQuery
What is it ?
What is jQuery ?
For animation + effects
JavaScript !
Uses the language of the web
HTML
CSS
Browser independent
(c) 2011 Microsoft. All rights
Melbourne 2011
SharePoint + jQuery
How does it work ?
Include JS file
<SCRIPT> tag – within Master Page (for example)
Reference using jQuery syntax
<script>
$(document).ready(
{
$('a').addClass("test");
});
</script>
(c) 2011 Microsoft. All rights
Melbourne 2011
SharePoint + jQuery
How does it work ?
Selectors
DOM element
By ID or Class or tag type
$('#myDivId')
$('.myCssClass')
$('a')
Attributes
addClass()
removeClass()
(c) 2011 Microsoft. All rights
Melbourne 2011
SharePoint + jQuery
How does it work ?
(c) 2011 Microsoft. All rights
<div id="announcements">
<div class="article">
<h1>Check out my blog !</h1>
<p>The most awesome blog on the planet
is www.grumpywookie.com
<p>
</div>
</div>
$('#announcements').addClass("test");
Melbourne 2011
SharePoint + jQuery
How does it work ?
(c) 2011 Microsoft. All rights
<div id="announcements">
<div class="article">
<h1>Check out my blog !</h1>
<p>The most awesome blog on the planet
is www.grumpywookie.com
<p>
</div>
</div>
$('.article').addClass("test");
Melbourne 2011
SharePoint + jQuery
How does it work ?
(c) 2011 Microsoft. All rights
<div id="announcements">
<div class="article">
<h1>Check out my blog !</h1>
<p>The most awesome blog on the planet
is www.grumpywookie.com
<p>
</div>
</div>
$('p').addClass("test");
Melbourne 2011
SharePoint + jQuery
How does it work ?
Events
click()
hocus()
hover()
Effects
animate()
fadeIn()
accordian()
(c) 2011 Microsoft. All rights
Melbourne 2011
SharePoint + jQuery
How does it work ?
<script>
$('#right').click(function()
{
$('.block').animate(
{
'left': '+=50px‘
},
'slow');
});
</script>
(c) 2011 Microsoft. All rights
Melbourne 2011
SharePoint + jQuery
How to get it ?
Download from http://jquery.com/
Minified : jquery-1.6.2.min.js (31 kB)
Development / Debug : jquery-1.6.2.js (229 kB)
Plug-ins – much less code needed
jQuery UI – additional functions
jQuery Cycle
SharePoint Web Services
(c) 2011 Microsoft. All rights
Melbourne 2011
SharePoint + jQuery
How to include it ?
SharePoint Site – upload JS file
Eg. Site Assets library
Include in Master Page
<script type="text/javascript"
src="/SiteAssets/jquery-1.6.2.min.js" />
(c) 2011 Microsoft. All rights
Melbourne 2011
• List View Web Part
– News Accordian
– Image Rotator
– News Rotator
• Custom XSLT
– HTML
– CSS
– Animate with jQuery -> jQuery UI plug-in
(c) 2011 Microsoft. All rights
SharePoint + jQuery
Demos
Melbourne 2011
QUESTION & ANSWER SESSION
(c) 2011 Microsoft. All rights
Melbourne 2011
Chris O’Connor [ OBS ]
@GrumpyWookie
chris.oconnor@obs.com.au
www.sharepointroot.com
(c) 2011 Microsoft. All rights
Melbourne 2011
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other
countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing
market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this
presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
(c) 2011 Microsoft. All rights
Melbourne 2011
Sample slide
• This is an example of what a slide might look
like
• It’s pretty basic, feel free to add to it
• Try to keep true to the theme (colours, fonts,
all that design stuff)
Melbourne 2011
HEY YOU, WATCH THIS!
SP Saturday Slide Template Example
Melbourne 2011
Showing off code
function SampleCodeSlideDescription()
{
var desc = “use this slide to demonstrate code”
var desc2 = “Add a new code slide from the new slide menu”
var desc3 = “Use tab to indent content, we just hid the bullets here”
}
function IsBrianAwesome()
{
return true;
}
Melbourne 2011
QUESTION AND ANSWER
SP Saturday Slide Template Example
Melbourne 2011
Related Links
• http://www.sharepointsaturday.org
Here is an example link
• http://www.bing.com
Don’t use this page if you don’t need it
• http://blog.brianfarnhill.com
Consider posting links on your blog instead!
Thanks for listening!
Remember to submit your feedback so
you can go into the raffle draw at the
end of the day! And don’t forget that
you have to be at the draw to claim your
prizes!
Sponsors
Gold
Silver
Bronze

More Related Content

PPTX
Backbonemeetup
PDF
Angular Best Practices - Perfomatix
PPT
Designer & Developer Work Flow for Flex Builder
PPTX
3-TIER ARCHITECTURE IN ASP.NET MVC
PPTX
Beyond Comments: How to Build an Awesome API Doc and Be a Better Person
PPTX
Advanced Debugging with Visual Studio 2013 Preview
KEY
Natural Language UI Testing using Behavior Driven Development with Pavlov and...
Backbonemeetup
Angular Best Practices - Perfomatix
Designer & Developer Work Flow for Flex Builder
3-TIER ARCHITECTURE IN ASP.NET MVC
Beyond Comments: How to Build an Awesome API Doc and Be a Better Person
Advanced Debugging with Visual Studio 2013 Preview
Natural Language UI Testing using Behavior Driven Development with Pavlov and...

Viewers also liked (7)

PPTX
Toolsfornetworkbiology 1
PDF
2011 Winter Festival Partner Results
PPTX
2011 - SharePoint + jQuery
PPTX
2011 - jQuery + SharePoint (TechEd)
PPTX
2011 - From Zero to productivity (Tech Ed 2011)
PPTX
2011 - Adding bells & whistles to the ribbon
PPTX
201204 create a project and module
Toolsfornetworkbiology 1
2011 Winter Festival Partner Results
2011 - SharePoint + jQuery
2011 - jQuery + SharePoint (TechEd)
2011 - From Zero to productivity (Tech Ed 2011)
2011 - Adding bells & whistles to the ribbon
201204 create a project and module
Ad

Similar to 2011 - SharePoint + jQuery (20)

PPTX
2012 - HTML5, CSS3 and jQuery with SharePoint 2010
PPTX
Introduction to using jQuery with SharePoint
PPT
Moving to the Client - JavaFX and HTML5 (PowerPoint Version)
DOCX
Robert polak candidate coversheet-2018-3
PPTX
The SharePoint & jQuery Guide - Updated 1/14/14
PPTX
Moving To The Client - JavaFX and HTML5
PDF
いま使われているHTML5と、これからのHTML5
PPT
J query presentation
PPT
J query presentation
PPTX
JavaScript for ASP.NET programmers (webcast) upload
PDF
jQuery: The World's Most Popular JavaScript Library Comes to XPages
PPTX
HTML5 Bootcamp: Essential HTML, CSS, & JavaScript
PDF
John Resig Beijing 2010 (English Version)
DOC
Rajesh Uriti_7years_Sitecore_FrontEnd
PPTX
TypeScript and SharePoint Framework
PPTX
jQuery From the Ground Up
PPTX
HTML5 and Joomla! 2.5 Template
PPT
Visual Studio 2008 & .Net 3.5
PPT
Daniel Egan Msdn Tech Days Oc
PPTX
Moving to the Client - JavaFX and HTML5
2012 - HTML5, CSS3 and jQuery with SharePoint 2010
Introduction to using jQuery with SharePoint
Moving to the Client - JavaFX and HTML5 (PowerPoint Version)
Robert polak candidate coversheet-2018-3
The SharePoint & jQuery Guide - Updated 1/14/14
Moving To The Client - JavaFX and HTML5
いま使われているHTML5と、これからのHTML5
J query presentation
J query presentation
JavaScript for ASP.NET programmers (webcast) upload
jQuery: The World's Most Popular JavaScript Library Comes to XPages
HTML5 Bootcamp: Essential HTML, CSS, & JavaScript
John Resig Beijing 2010 (English Version)
Rajesh Uriti_7years_Sitecore_FrontEnd
TypeScript and SharePoint Framework
jQuery From the Ground Up
HTML5 and Joomla! 2.5 Template
Visual Studio 2008 & .Net 3.5
Daniel Egan Msdn Tech Days Oc
Moving to the Client - JavaFX and HTML5
Ad

More from Chris O'Connor (6)

PPTX
Developing Mobile Apps with Office365
PPTX
2010 - Developer look at the Client Object Model
PPTX
2013 - Back to the Future with Client/Server Development
PPTX
2015 - PowerShell, C# and JavaScript for Office 365
PPTX
2014 - The Future Of Forms (InfoPath)
PPTX
2014 - Integrating Yammer with SharePoint
Developing Mobile Apps with Office365
2010 - Developer look at the Client Object Model
2013 - Back to the Future with Client/Server Development
2015 - PowerShell, C# and JavaScript for Office 365
2014 - The Future Of Forms (InfoPath)
2014 - Integrating Yammer with SharePoint

Recently uploaded (20)

PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Getting Started with Data Integration: FME Form 101
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
A Presentation on Artificial Intelligence
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPT
Teaching material agriculture food technology
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Tartificialntelligence_presentation.pptx
PDF
Electronic commerce courselecture one. Pdf
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
SOPHOS-XG Firewall Administrator PPT.pptx
Getting Started with Data Integration: FME Form 101
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Approach and Philosophy of On baking technology
Dropbox Q2 2025 Financial Results & Investor Presentation
A Presentation on Artificial Intelligence
Per capita expenditure prediction using model stacking based on satellite ima...
Machine learning based COVID-19 study performance prediction
Programs and apps: productivity, graphics, security and other tools
Mobile App Security Testing_ A Comprehensive Guide.pdf
Group 1 Presentation -Planning and Decision Making .pptx
Teaching material agriculture food technology
MYSQL Presentation for SQL database connectivity
Tartificialntelligence_presentation.pptx
Electronic commerce courselecture one. Pdf
gpt5_lecture_notes_comprehensive_20250812015547.pdf

2011 - SharePoint + jQuery

  • 1. Melbourne 2011 @GrumpyWookie Chris O’Connor [ OBS ] www.sharepointroot.com SHAREPOINT + JQUERY (c) 2011 Microsoft. All rights #FunkyWookie
  • 2. Melbourne 2011 SharePoint + jQuery What is it ? What is jQuery ? For animation + effects JavaScript ! Uses the language of the web HTML CSS Browser independent (c) 2011 Microsoft. All rights
  • 3. Melbourne 2011 SharePoint + jQuery How does it work ? Include JS file <SCRIPT> tag – within Master Page (for example) Reference using jQuery syntax <script> $(document).ready( { $('a').addClass("test"); }); </script> (c) 2011 Microsoft. All rights
  • 4. Melbourne 2011 SharePoint + jQuery How does it work ? Selectors DOM element By ID or Class or tag type $('#myDivId') $('.myCssClass') $('a') Attributes addClass() removeClass() (c) 2011 Microsoft. All rights
  • 5. Melbourne 2011 SharePoint + jQuery How does it work ? (c) 2011 Microsoft. All rights <div id="announcements"> <div class="article"> <h1>Check out my blog !</h1> <p>The most awesome blog on the planet is www.grumpywookie.com <p> </div> </div> $('#announcements').addClass("test");
  • 6. Melbourne 2011 SharePoint + jQuery How does it work ? (c) 2011 Microsoft. All rights <div id="announcements"> <div class="article"> <h1>Check out my blog !</h1> <p>The most awesome blog on the planet is www.grumpywookie.com <p> </div> </div> $('.article').addClass("test");
  • 7. Melbourne 2011 SharePoint + jQuery How does it work ? (c) 2011 Microsoft. All rights <div id="announcements"> <div class="article"> <h1>Check out my blog !</h1> <p>The most awesome blog on the planet is www.grumpywookie.com <p> </div> </div> $('p').addClass("test");
  • 8. Melbourne 2011 SharePoint + jQuery How does it work ? Events click() hocus() hover() Effects animate() fadeIn() accordian() (c) 2011 Microsoft. All rights
  • 9. Melbourne 2011 SharePoint + jQuery How does it work ? <script> $('#right').click(function() { $('.block').animate( { 'left': '+=50px‘ }, 'slow'); }); </script> (c) 2011 Microsoft. All rights
  • 10. Melbourne 2011 SharePoint + jQuery How to get it ? Download from http://jquery.com/ Minified : jquery-1.6.2.min.js (31 kB) Development / Debug : jquery-1.6.2.js (229 kB) Plug-ins – much less code needed jQuery UI – additional functions jQuery Cycle SharePoint Web Services (c) 2011 Microsoft. All rights
  • 11. Melbourne 2011 SharePoint + jQuery How to include it ? SharePoint Site – upload JS file Eg. Site Assets library Include in Master Page <script type="text/javascript" src="/SiteAssets/jquery-1.6.2.min.js" /> (c) 2011 Microsoft. All rights
  • 12. Melbourne 2011 • List View Web Part – News Accordian – Image Rotator – News Rotator • Custom XSLT – HTML – CSS – Animate with jQuery -> jQuery UI plug-in (c) 2011 Microsoft. All rights SharePoint + jQuery Demos
  • 13. Melbourne 2011 QUESTION & ANSWER SESSION (c) 2011 Microsoft. All rights
  • 14. Melbourne 2011 Chris O’Connor [ OBS ] @GrumpyWookie [email protected] www.sharepointroot.com (c) 2011 Microsoft. All rights
  • 15. Melbourne 2011 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. (c) 2011 Microsoft. All rights
  • 16. Melbourne 2011 Sample slide • This is an example of what a slide might look like • It’s pretty basic, feel free to add to it • Try to keep true to the theme (colours, fonts, all that design stuff)
  • 17. Melbourne 2011 HEY YOU, WATCH THIS! SP Saturday Slide Template Example
  • 18. Melbourne 2011 Showing off code function SampleCodeSlideDescription() { var desc = “use this slide to demonstrate code” var desc2 = “Add a new code slide from the new slide menu” var desc3 = “Use tab to indent content, we just hid the bullets here” } function IsBrianAwesome() { return true; }
  • 19. Melbourne 2011 QUESTION AND ANSWER SP Saturday Slide Template Example
  • 20. Melbourne 2011 Related Links • http://www.sharepointsaturday.org Here is an example link • http://www.bing.com Don’t use this page if you don’t need it • http://blog.brianfarnhill.com Consider posting links on your blog instead!
  • 21. Thanks for listening! Remember to submit your feedback so you can go into the raffle draw at the end of the day! And don’t forget that you have to be at the draw to claim your prizes! Sponsors Gold Silver Bronze

Editor's Notes

  • #3: 8/28/2015 5:54 AM
  • #4: 8/28/2015 5:54 AM
  • #5: 8/28/2015 5:54 AM
  • #6: 8/28/2015 5:54 AM
  • #7: 8/28/2015 5:54 AM
  • #8: 8/28/2015 5:54 AM
  • #9: 8/28/2015 5:54 AM
  • #10: 8/28/2015 5:54 AM
  • #11: 8/28/2015 5:54 AM
  • #12: 8/28/2015 5:54 AM
  • #13: 8/28/2015 5:54 AM
  • #16: 8/28/2015 5:54 AM