Jump to content

Recommended Posts

Posted

[instructiuni:]Clickati pe un patratel, tineti apasat si miscati-l in pagina unde doriti.

Click aici pentru un exemplu.

Acum sa va explic cum puteti face asa ceva.

I. Creati o pagina html:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
</body>
</html>[/code]

[color=green][b]II.[/b][/color] Copiati scriptul de mai jos si codurile css intre etichetele [b]<head></head>[/b]

[color=red][u][b]Script:[/b][/u][/color]

[code]<script language="javascript">

// start dragging pctroubleshooting.ro

function startDrag(e){

// determine event object

if(!e){var e=window.event};

// determine target element

var targ=e.target?e.target:e.srcElement;

if(targ.className!='draggable'){return};

// calculate event X,Y coordinates

?

Te-ai inregistrat? Ne-ar placea sa te prezinti.

Cum pot sustine forumul?
Cumpara de la eMag folosind acest link.
--------------------
oG2BN9d.gifse1WdXd.gifQG6MtmI.gifRHYjDzD.gifG5p1wui.gif

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.