[jQuery] two questions

2009-10-30 Thread hno
HI i'm a new member of this group and I have two questions : i want a jquery code that when i click the button , it select the imgae obove the button and move it to another place and it show the image when it moving . is there any book or web site that shows the jquery examples . i've searched

Re: [jQuery] two questions

2009-10-30 Thread waseem sabjee
try this have an html markup like this div class=wrap a href=# class=mybutton div class=imgwrap img src=my/image/path.jpg / /div /div here is the jQuery that i would use $(function() { var obj = $(.wrap); // we want the object to be our div wrapper var mybutton = $(.mybutton, obj); //

Re: [jQuery] two questions

2009-10-30 Thread waseem sabjee
this is one of my favorite jquery reference links http://docs.jquery.com/Events On Fri, Oct 30, 2009 at 2:30 PM, waseem sabjee waseemsab...@gmail.comwrote: try this have an html markup like this div class=wrap a href=# class=mybutton div class=imgwrap img src=my/image/path.jpg /