javascript - jQuery UI position() not repositioning the element -
I have a hyperlink that I try to use on the page
$ I am '#myLink'). Status ({My: "center", at: "center", of: "#contentArea", offset: "30 130"});
However this is not being kept in a new situation. My page is a complex HTML, so I can not post it. I tried different target elements but the same result (both in IE8 & amp; FF) I'm using jQuery 1.4.2 There is no error in the error console $ ('# MyLink'). Length = 1
What are the limitations for the status () function? How can a browser window or document be used as a target element?
.position () is read only. Use the .css () function to set the positions.
Edit:
Looking forward, I see that you are talking about:
It is being said I think you might have to include a jQuery UI library to work for it.
Try adding the following to the head of your page:
& lt; Script src = "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js" & gt; & Lt; / Script & gt;
Comments
Post a Comment