But won't this just make the DIV appear whereever it was originally
positioned?  I want "newDiv" to appear with the same x coordinate as
the image and the y coordiante to be equal to the image's plus 16
pixels.  How do I set the coordinates before I activate "show"?

Thanks, -

On Oct 19, 5:18 pm, Wizzud <[EMAIL PROTECTED]> wrote:
> jQuery('#idOfImageToBeClicked').bind('click', function()
> { jQuery('#newDiv').show(); });
>
> On Oct 19, 10:03 pm, "[EMAIL PROTECTED]"
>
>
>
> <[EMAIL PROTECTED]> wrote:
> > Hi,
>
> > I have a 16x16 image that will be dragged around the screen as part of
> > a larger DIV.  When someone clicks on the image, I'd like another DIV
> > (id="newDiv") to appear directly beneath the image.   The DIV with
> > id="newDiv" is initially hidden.  How do I do this with JQuery?
>
> > Thanks, - Dave- Hide quoted text -
>
> - Show quoted text -

Reply via email to