[jQuery] JQ Comments and Bug help
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=US-ASCII">
<META content="MSHTML 6.00.6000.16609" name=GENERATOR></HEAD>
<BODY id=role_body style="FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Arial"
bottomMargin=7 leftMargin=7 topMargin=7 rightMargin=7><FONT id=role_document
face=Arial color=#000000 size=2>
<DIV>This message was also posted in the General Discussion Group, but I'm a bit
confused how things work around here so please forgive this newbie to the JQuery
world.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>It's taken me a little while, but I believe I have finally succumbed to the
power and wonder that is... JQuery. I have been bouncing from framework to
framework for about 9 months, much of that time devoted to building my
own. I was on the cusp of giving in to ExtJS at one point, but in the end,
the fancy widgets weren't a compelling enough force to make me commit. As
my own framework continued to evolve (and be rewritten) my objectives became
clearer, and one of those objectives was developing a way to deal with the
dom (and other things) in a terse-as-possible way - you know, keep
subclassing or funneling the code until it would take a line or 2 to manage
complex widgets - not to mention the flexibility of javascript syntax to help
keep things brief. Given another 2 or 22 years, I think my system would
have been very close to JQuery.</DIV>
<DIV> </DIV>
<DIV>That said, I am still a JQuery super-newbie, and although code is starting
to happen and I'm starting to get the magic, I'm having a problem with some
basic stuff. Forgive me if this is not in the proper section on this
site.</DIV>
<DIV> </DIV>
<DIV>When I attempt to use the resizeable or draggable classes in jquery.ui, I
run into errors. When using draggable, I get a "this.helper.offsetParent
is not a function". message. For resizeable I get...<BR>
this.element.position is not a function<BR>[Break on this error] var o =
this.options, iniPos = this.element.position(), el =this.element, </DIV>
<DIV> </DIV>
<DIV>I'm trying to drag and/or resize a simple div (whether it's created on the
fly or in the html) all I do is add the dot-draggable() to the object and I get
the error message (in FF). The cursor does change to the appropriate
states (for resizeable) and obviously, from the error messages, I've made it
into the code that should be doing the dragging and resizing. </DIV>
<DIV> </DIV>
<DIV>Can you explain what's going on? Any help is very much
appreciated. And also, thank you for creating a brilliant piece of
code. I am hoping it will become my framework of choice for a long time to
come.</DIV>
<DIV> </DIV>
<DIV><BR> </DIV></FONT><BR><BR><BR><DIV><FONT style="color: black; font: normal 10pt ARIAL, SAN-SERIF;"><HR style="MARGIN-TOP: 10px">Wondering what's for Dinner Tonight? <A title="http://food.aol.com/dinner-tonight?NCID=aolfod00030000000001" href="http://food.aol.com/dinner-tonight?NCID=aolfod00030000000001" target="_blank">Get new twists on family favorites at AOL Food</A>.</FONT></DIV></BODY></HTML>