Pogledajte određenu poruku
Staro 14. 07. 2010.   #1
martinluter
profesionalac
Qualified
 
Datum učlanjenja: 02.05.2009
Poruke: 193
Hvala: 27
8 "Hvala" u 6 poruka
martinluter is on a distinguished road
Default Jel moze ovo da radi u Google chrome i u Operi?

Ovo dole mogu da koristim u u Mozilli i u IE, znaci resize i move, ali u Google Chrome i Operi ne mogu.
U mozili radi i bez funkcije
document.execCommand("2D-position",false,true); , ona sluzi za IE
Jel postoji neka funkcija slicna ovoj da ovo moze radit u Google chrome i Operi?
HTML kôd:
  <html>
  <head>
  <script language="JavaScript">
  <!--
      document.execCommand("2D-position",false,true); 
      function function1(){
        
      } 
  --> 
  </script>
  </head>
  <body bottommargin=150 onmove="function1()">
  <div contenteditable="true">
  <div style="width:300px;
              height:300px; 
              color:yellow; 
              background-color:black; 
              position:absolute; 
              left: 50px; 
              top: 150px">
              Select and Drag me with the mouse.</div>
  </div>
  </body>
  </html>
martinluter je offline   Odgovorite uz citat