新無邊視窗

向下

新無邊視窗

發表  Admin 于 周五 12月 05, 2008 9:54 am

<HTML>
<HEAD><title>新無邊視窗</title>
<META http-equiv=Content-Type content="text/html; charset=big5">

<style>
TD {FONT-SIZE: 10pt; FONT-FAMILY: 細明體; COLOR: #808080}
.close {FONT: normal 18pt Wingdings; COLOR: #77aaff; TEXT-ALIGN: right; CURSOR: hand}
</style>

<SCRIPT language=javascript>
var dragapproved=false
function drag_dropie(){
if (dragapproved==true){
Span.style.pixelLeft=tempx+event.clientX-iex
Span.style.pixelTop=tempy+event.clientY-iey}}

function initializedragie(DIV){
Span=DIV
iex=event.clientX
iey=event.clientY
tempx=DIV.style.pixelLeft
tempy=DIV.style.pixelTop
dragapproved=true
document.onmousemove=drag_dropie}
</SCRIPT>
</HEAD>

<BODY bgColor=#f7f7f7>
<TABLE border=1 cellSpacing=0 cellPadding=1 bgColor=#d0e8ff borderColor=#d0e8ff width=250 height=150 id=DIV style="POSITION: absolute; LEFT: 155px; TOP: 135px">
<TR>
<TD onmouseup=dragapproved=false onmousedown=initializedragie(DIV) height=28 style="CURSOR: move"> 標題1</TD>
<TD><DIV onclick="DIV.style.visibility='hidden'" class=close>x</DIV></TD>
</TR>
<TR>
<TD colSpan=2 align=middle bgColor=#ffffff>在這裡輸入內容</TD>
</TR>
</TABLE>
<TABLE border=1 cellSpacing=0 cellPadding=0 bgColor=#ffe4e1 borderColor=#ffe4e1 width=250 height=150 id=DIV2 style="POSITION: absolute; LEFT: 195px; TOP: 175px">
<TR>
<TD onmouseup=dragapproved=false onmousedown=initializedragie(DIV2) height=28 style="CURSOR: move"> 標題2</TD>
<TD><DIV onclick="DIV2.style.visibility='hidden'" class=close>x</DIV></TD>
</TR>
<TR>
<TD colSpan=2 align=middle bgColor=#ffffff>在這裡輸入內容</TD>
</TR>
</TABLE>
</BODY>
</HTML>

Admin
Admin

文章數 : 441
注冊日期 : 2008-11-06

檢視會員個人資料 http://hi-tcg168.forum888.tw

回頂端 向下

回頂端


 
這個論壇的權限:
無法 在這個版面回復文章