Draggable Function in jQuery
Draggable Function in jQuery
$(document).ready(function ()
{
$('#car').draggable();
});
Note: For complete code ie, HTML, CSS & javascript, Download the attached file......* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Sortable & Selectable Function in jQuery
$(document).ready(function ()
{
$("ol").sortable();
});
$(document).ready(function ()
{
$("ol").selectable();
});
Note: For complete code ie, HTML, CSS & javascript, Download the attached file......* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Other Special effects
$(document).ready(function ()
{
$("#menu").accordion(
{
collapsible: true,
active: false
});
});
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Explode effect
$(document).ready(function ()
{
$('div').click(function ()
{
$('div').effect('explode');
})
});
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Bounce effect
$(document).ready(function ()
{
$('div').click(function ()
{
$('div').effect('bounce',
{
times: 3
}, 1000);
})
});