Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- function testabv()
- {
- $('.taskDraggable', parent.document).draggable({
- scrollSensitivity: 60,
- cursor: "pointer" ,
- zIndex: "2700",
- containment: $('document'),
- helper: 'clone',
- revertDuration: 0,
- revert: true,
- cursor: 'move'
- });
- }
- function doa(a, myThis)
- {
- var myData = "category=" + a;
- $.ajax({
- type: "GET",
- url: "ajaxCatsGet.php",
- async: false,
- data: myData,
- success:function(data)
- {
- // take the data (the task from the category just clicked) and add them to the root document
- $('#qaz23', parent.document).html(data);
- // remove all classes in the link container (so it removes whatever is highlgihted)
- $('#container a').removeClass();
- // highlight the current item clicked
- $(myThis).addClass('highlight');
- testabv();
- }
- });
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement