You can easy get that effect without using jQueryUI, for example:
$(document).ready(function(){
$('#slide').click(function(){
var hidden = $('.hidden');
if (hidden.hasClass('visible')){
hidden.animate({"left":"-1000px"}, "slow").removeClass('visible');
} else {
hidden.animate({"left":"0px"}, "slow").addClass('visible');
}
});
});
Try this working Fiddle:
Related Contents:
- jQuery same click event for multiple elements
- jQuery validation: change default error message
- On select change, get data attribute value
- Reset select2 value and show placeholder
- jQuery – Detecting if a file has been selected in the file input [duplicate]
- How to detect input type=file “change” for the same file?
- How to get multiple select box values using jQuery?
- Set the selected index of a Dropdown using jQuery
- How to get all child inputs of a div element (jQuery)
- How to programmatically disable page scrolling with jQuery
- Remove CSS from a Div using JQuery
- jQuery Datepicker with text input that doesn’t allow user input
- Yes or No confirm box using jQuery
- How to check if bootstrap modal is open, so I can use jquery validate?
- ESLint dollar($) is not defined. (no-undef)
- How can I get the button that caused the submit from the form submit event?
- Leaflet – How to find existing markers, and delete markers?
- How do I check how many options there are in a dropdown menu?
- jQuery autohide element after 5 seconds
- jquery sortable placeholder height problem
- Setting width as a percentage using jQuery
- Easier way to get a jQuery object from appended element
- Jquery and HTML FormData returns “Uncaught TypeError: Illegal invocation”
- Apply CSS to jQuery Dialog Buttons
- Jquery find all ids starting with a string?
- jquery – Click event not working for dynamically created button [duplicate]
- jQuery “not readonly” selector
- Determining if the element is the last child of its parent
- jQuery get the id/value of element after click function
- jQuery override default validation error message display (Css) Popup/Tooltip like
- jQuery :contains() selector uppercase and lower case issue
- return false from jQuery click event
- How to pass data in the ajax DELETE request other than headers
- Does jQuery do any kind of caching of “selectors”?
- Why is my jQuery :not() selector not working in CSS?
- How to add text to an existing div with jquery
- How to import jQuery UI using ES6/ES7 syntax?
- Stop a gif animation onload, on mouseover start the activation
- jQuery Droppable, get the element dropped
- How to focus invalid fields with jQuery validate?
- How to replace all double quotes to single quotes using jquery?
- How to get parent element by specified tag name using jquery?
- How to run jQuery fadeIn() and slideDown() simultaneously?
- How to get a cookie from an AJAX response?
- form confirm before submit
- getJSON Synchronous
- jQuery – is it bad to have multiple $(document).ready(function() {});
- jQuery DataTable overflow and text-wrapping issues
- jQuery Drag And Drop Using Live Events
- Use jQuery to change a second select list based on the first select list option