SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Enthusiast project_jp's Avatar
    Join Date
    Jan 2004
    Location
    Japan
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    GoLive Action: Drag Floating Box

    GoLive includes a bunch of javascript "actions." I'm trying to test out the "Drag Floating Box" feature on a nonsense test page:

    http://webproject.jp/sitepoint/pingtest.html

    QUESTION:
    Are you able to click-hold-drag the two objects in the foreground and move them about the page?

    RELATED QUESTION:
    See "PNG test" in my signature.

    Thanks!!
    Teamwork poll | Human languages | Project
    management
    | Need Japanese translation? Design?
    Projects managed in English:
    http://webproject.jp/

  2. #2
    I'll take mine raw silver trophy MikeFoster's Avatar
    Join Date
    Dec 2002
    Location
    Alabama, USA
    Posts
    2,560
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The browser detection logic assumes if the browser is not IE then it is NN4. So it causes errors for me in Opera7.

    In IE6 it works... except for the first drag - where the dragged element is incorrectly positioned. This is usually caused by the initial position being set to zero (or NaN) instead of the actual position of the element.

    Initially, element.style.left and element.style.top will be empty strings unless you initialize them thru js or inline css (but don't use inline css ).


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •