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

  1. #1

    Default emptying a layer

    Hi,

    Has anyone any idea how to empty the content of a layer, defined using a
    <div>? This is so I can write completely new content to the layer.

    I was just using innerHTML (or innerText) to write the new content, which
    obviously just replaces the old. Under specific circumstances this crashes
    IE though (it's repeatable). I have four layers which can have stuff written
    to them - on one of them it crashes, which is *very* odd, as they're all
    exactly the same. I've tried just about everything... I can write the new
    content no problems, using insertAdjacentHTML, but this doesn't replace the
    old stuff.

    Anyone got any clues?

    thanks
    Rob


    rob :: digitalburn Guest

  2. Similar Questions and Discussions

    1. Trouble emptying cart (sessions)
      Hi there, I have a simple shopping cart using sessions. I have an add to button and empty button. I press the empty button and it removes the...
    2. Bottom layer spoils its upprt layer
      In my bottom layer, I have a gradient fill in gray color. On top of this layer, I have some paragraphs in blue color. I want the bottom layer has no...
    3. PE2: Selecting and painting a layer having a Hidden Power Tools' layer mask?
      I am making a collage using PE2. I have a background layer (solid color) and then each photo is on its own layer with a layer mask used from the...
    4. Juguar crash when emptying trash
      I'm cleaning up my hard drive and find that I have to do a forced shut down when I empty the trash can and it contains alias. Can someone direct...
  3. #2

    Default Re: emptying a layer


    I had to sidestep the problem in the end - couldn't solve it, as it was
    definitely a repeatable bug in IE, and I couldn't find a different way of
    accomplishing the same thing. A bit annoying, but never mind.


    rob :: digitalburn 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