Hi Folks
I'm using a jQuery.Center() plugin that I found at Andreas Lagerkvist's website.
I have a control on the page called "divClipboard" that I want to appear in the middle of the screen when the user clicks a link.
I call the function
$('#divClipboard').center();
and it throws an error, the message being
$("#divClipboard").center is not a function
I think it's worth mentioning that I've tried specifying
jQuery.noConflict();
jQuery('#divClipboard').center();
and I've also renamed center()
to centerElement()
to no avail.
Our setup has 2 sites pointing at the same virtual directory, each accessed by a different URL. This plugin has always worked for me, until yesterday on one site (it even works on the other site on the same virtual directory).
Does anyone have any idea what could be wrong?
Thanks
Dave