Loading ...
Sorry, an error occurred while loading the content.
 

create select outline around the draggable object

Expand Messages
  • ashwin
    Hi All, How can I create select outline around the draggable object. When a users clicks on the object, a red outline should appear around the object. ... Can
    Message 1 of 2 , Jul 3, 2008
      Hi All,

      How can I create select outline around the draggable object. When a
      users clicks on the object, a red outline should appear around the object.

      |-----------|
      | |
      | |
      | |
      | |
      |-----------

      Can anybody suggest the code for doing this using the yahoo ui library?
    • Dav Glass
      ashwin -- Similar to this example: http://developer.yahoo.com/yui/examples/dragdrop/dd-ontop.html Instead of messing with the zIndex of the element, change the
      Message 2 of 2 , Jul 3, 2008
        ashwin --

        Similar to this example:
        http://developer.yahoo.com/yui/examples/dragdrop/dd-ontop.html

        Instead of messing with the zIndex of the element, change the border to something like:

        border: 1px dashed red;

        Does that make sense?
        Dav

        Dav Glass
        dav.glass@...
        blog.davglass.com




        + Windows: n. - The most successful computer virus, ever. +
        + A computer without a Microsoft operating system is like a dog
        without bricks tied to its head +
        + A Microsoft Certified Systems Engineer is to computing what a
        McDonalds Certified Food Specialist is to fine cuisine +



        ----- Original Message ----
        From: ashwin <ashwin.more@...>
        To: ydn-javascript@yahoogroups.com
        Sent: Thursday, July 3, 2008 1:38:39 AM
        Subject: [ydn-javascript] create select outline around the draggable object

        Hi All,

        How can I create select outline around the draggable object. When a
        users clicks on the object, a red outline should appear around the object.

        |-----------|
        | |
        | |
        | |
        | |
        |-----------

        Can anybody suggest the code for doing this using the yahoo ui library?


        ------------------------------------

        Yahoo! Groups Links
      Your message has been successfully submitted and would be delivered to recipients shortly.