#606 bug
Petr Franta

Problem with function clonePosition

Reported by Petr Franta | March 20th, 2009 @ 11:45 AM

Function clonePosition work only in IE 7/8 - see picture.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <title>Test clonePosition</title>
  <script type="text/javascript" src="prototype-1.6.0.3.js"></script>
  </head>
  <body>
    <div style="padding-bottom: 3px;">
    <div id="srcDiv" style="color: red; border: 1px solid red; width: 100px;">test text</div>
    <div id="cloneDiv" style="color: blue; border: 1px solid blue; position: absolute;">test text</div>
    </div>
    <script type="text/javascript">
    $("cloneDiv").clonePosition($("srcDiv"));
    </script>
  </body>
</html>

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Prototype JavaScript library.

Shared Ticket Bins

Pages