Cacycle <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #6 from Cacycle <> 2011-01-24 21:59:24 UTC ---
The only reliable and robust way that I have found to accomplish a help text
that disappears on dropping and editing is as follows:

Underlay the transparent input field with a div of the same size that holds the
help text. Remove the help text for any editing activity. Without a separate
div there is no way to untangle the existing help text from the dropped
content. Would be nice if you could add this as this bug is slightly annoying
in Firefox :-)

<div class="parent">
  <div class="help"></div>
  <input type="text" class="input" />

.parent {
  position: relative;

.input, .help {
  position: relative;
  background: transparent;
  /* more styling here */

.help {
  position: absolute;
  top: 0;
  left: 0;
  color: #888;
  border-color: transparent;
  background: white;

input.bind('click mouseup mousedown paste drop focus keydown', function(event)
  input.unbind('click mouseup mousedown paste drop focus keydown');

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to