Newbie need help in keeping the dragged layer in itscurrent position even after refresh

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Newbie need help in keeping the dragged layer in itscurrent position even after refresh

    Hi, guys.

    How do I keep the dragged layer in its current position in the page even when
    the page refreshes? I have this dynamic page that needs to refresh every minute
    due to realtime data on it. And the layers (on which the data is posted to)
    kept returning to its original place after refreshing. So it makes the dragging
    feature useless.

    Also, how do I keep the position of the layers permanently even when the
    page/browser has been closed?

    Last question, I have this embed audio (triggered like an alarm) in the layer.
    Its controls are hidden. How do I stop the alarm using my own button (which
    also hides the layer)?

    Please help asap. I'm really new to DW.

    :o

    newbiejane Guest

  2. Similar Questions and Discussions

    1. DW8 messed my relative position layer behaviors
      I recently upgraded from MX to Studio 8. I have a website where I was using a series of "set text of layer" behaviors to write copy to a relative...
    2. refresh a layer
      I have a coldfusion query that retrieves some categories from a table <CFQUERY name='judgingtitles' datasource='project'> SELECT project, category,...
    3. Keeping persistent layer (div with style) coordinates ?
      Hi all, I want to keep the coordinates of my rendered WebControls.Panel, because i wand to provide drag&drop fonctionnality. I thought that it...
    4. Finding the x position of a dragged movie clip
      I'm building a draggable time line that needs to be able to capture the x position of the movie clip being dragged. While it is being dragged it will...
    5. Change position of layer.
      Please, i need a script to with a click change position of layer. Anybody know ???
  3. #2

    Default Re: Newbie need help in keeping the dragged layer in itscurrent position even after page refresh

    The web page won't "remember" the last position of a draggable object unless
    you store it somewhere, like a cookie or database. With each position change,
    you could store the last x,y position in a cookie, and position that object at
    that x,y position if the cookie has been set.

    delaneypub Guest

  4. #3

    Default Re: Newbie need help in keeping the dragged layer in itscurrent position even after page refresh

    Hi, Elaine.
    Can you tell me how that is done? I really have no clue on creating cookie and storing data in a cookie.
    :o Help please.
    newbiejane Guest

  5. #4

    Default Re: Newbie need help in keeping the dragged layer in itscurrent position even after page refresh

    Did you use the DW Drag Layer behavior to make the layer draggable? If so, then
    I'll try to recommend something that works with the behavior.

    If not, please show me the code you used to make the layer draggable.

    delaneypub Guest

  6. #5

    Default Re: Newbie need help in keeping the dragged layer in itscurrent position even after page refresh

    Hi, Elaine.
    Yes, I used DW Drag Layer behavior.


    newbiejane Guest

  7. #6

    Default Re: Newbie need help in keeping the dragged layer in itscurrent position even after page refresh

    Hi Everyone.

    Help please.



    newbiejane Guest

  8. #7

    Default Re: Newbie need help in keeping the dragged layer in its current position even after page refresh

    There would be no way to make the position persist through a page refresh
    other than by writing it to a cookie.

    I just don't think that is a good idea, frankly.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "newbiejane" <webforumsuser@macromedia.com> wrote in message
    news:e5e4f7$289$1@forums.macromedia.com...
    > Hi Everyone.
    >
    > Help please.
    >
    >
    >

    Murray *ACE* Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139