Home Posts CSS Query (I've been out of practice) James Robert Gardiner Hi guys, I've been majorly out of practice with website development, and I'm currently developing a website for a friend of mine. Essentially he wants a scrolling website with anchor links, which is fine. jQuery JQuery Slide accordion Toggle | accordion we'll share a very common and easy jquery tutorial with you. A JQuery Slide Toggle function .slideToggle() function is used to hide or show matched elements in a sliding effect. So the basic syntax is $("div").slideToggle("slow"); So this was the basic syntax on how to slide toggle a div, now lets start with some real working examples. So first the basic html code: <div id="toggle"><ul><li>Youtube Video Scraping</li><div> Always I wondered to display youtube videos below my posts or for some other purpose. Read more:
Free Source Code and Scripts Downloads jQuery Mobile | jQuery Mobile John Resig - JavaScript Programmer Code Snippets - Snipplr Social Snippet Repository scrollorama Disclaimer: This is an experimental, just-for-fun sort of project and hasn’t been thoroughly tested. Design and build your site, dividing your content into blocks. Embed scrollorama.js after jQuery and initialize the plugin, passing the blocks class selector as a parameter. Target an element and animate its properties. The animation parameters you can use are: Hook into the onBlockChange event. scrollorama.onBlockChange(function() { alert('You just scrolled to block#'+scrollorama.blockIndex); }); Note: If you are not using the pinning feature, it is recommended you disable it.
Free jQuery Plugins and Tutorials - jQuery Script scrolldeck.js Build a web page with each slide as a div. Pro-Tip: Use rem’s to make content scale (resize this window to see) Create section navigation by linking to slide id’s (optional) After linking all the required scripts (jQuery, Scrollorama, scrollTo, easing & scrolldeck), create the slide deck on document ready event. $(document).ready(function() { var deck = new $.scrolldeck(); }); You can configure the settings as follows(example has the default config values assigned) Add animations to slides by adding the "animate-in" or "animate-build" classes to elements in your slides. <div class="slide"><p class="animate-in" data-animation="fly-in-left">This paragraph will fly in from the left. Available animations are "fly-in-left", "fly-in-right", "space-in" and the default which is "fade-in"
Download Builder jQuery UI Download Builder Quick downloads: Release Candidate (Themes) (1.12.0-rc.2: for jQuery1.7+) | Stable (Themes) (1.11.4: for jQuery1.6+) | Legacy (Themes) (1.10.4: for jQuery1.6+) | Legacy (Themes) (1.9.2: for jQuery1.6+) All jQuery UI Downloads Version Components UI Core A required dependency, contains basic functions and initializers. Interactions These add basic behaviors to any element and are used by many components below. Widgets Full-featured UI Controls - each has a range of options and is fully themeable. Effects A rich effect API and ready to use effects. Theme Select the theme you want to include or design a custom theme If you're having trouble downloading a custom package or theme, please report the issue on GitHub.
Select2 Gets or sets the selection. If the value parameter is not specified, the id attribute of the currently selected element is returned. If the value parameter is specified it will become the current selection. val method invoked on a single-select with an unset value will return "", while a val method invoked on an empty multi-select will return []. Example: alert("Selected value is: "+$("#e8").select2("val")); $("#e8").select2("val", "CA"); Notice that in order to use this method you must define the initSelection function in the options so Select2 knows how to transform the id of the object you pass in val() to the full object it needs to render selection. Gets or sets the selection. data method invoked on a single-select with an unset value will return null, while a data method invoked on an empty multi-select will return []. Reverts changes to DOM done by Select2. Opens the dropdown. Closes the dropdown. Notifies Select2 that a drag and drop sorting operation has started. change val added object