My original example was based on the smallest most simplistic repro I
could create, but below I changed it to add the positioning code that
Colin suggested. The code that I am trying to use this function in is
positioned both absolutely and relatively. I'm starting to trace the
scriptaculous code, but it doesn't seem to be picking up the element
positioning correctly.
<body bgcolor="#B5CEEA">
<label name="lblTest" id="lblTest"
style="position:absolute;top:91px;left:50px;">
test one two three four five six seven eight nine ten
</label>
<script type="text/javascript">
new Ajax.InPlaceEditor('lblTest', '/blank.htm',
{
formId:'asdf',
cols:2,
rows:1,
okControl:"false",
cancelControl:"link",
highlightColor:"#ffffff",
highlightEndColor:"#B5CEEA"
});
</script>
<br><br><br><br>
a test:
<br><br>
</body>
- Rob
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---