...

View Full Version : First window for draggable pop up windows isn't showing up



emmy
04-12-2003, 10:23 PM
Ok so I'm trying to figure out what is wrong with my draggable pop-ups. An example of what I'm trying to do is what Mike of Fcku.net (http://fcku.net) did with his content. My first window isn't showing up (as in the one that i have coded first).

<table border="0" width="80" cellpadding="1" cellspacing="0" class="nav" style="cursor:hand;"><tr>
<tr><td height="2"></td></tr>
<a HREF=""onclick="if (winList['1']) winList['1'].open(); return false;" onMouseOver="window.status='';return true" onMouseOut="window.status='';return true" style="cursor:hand;"><td bgcolor="#FFFFFF"onmouseover="this.style.backgroundColor='#DE8300';"onmouseout="this.style.backgroundColor='#FFFFFF';" style="border:1px solid #000000;"><center><a HREF=""onclick="if (winList['1']) winList['1'].open(); return false;" onMouseOver="window.status=' ';return true" onMouseOut="window.status='';return true" style="cursor:hand;">EMMY</a></center></td></a></tr>
<tr><td height="2"></td></tr>
<a HREF=""onclick="if (winList['2']) winList['2'].open(); return false;" onMouseOver="window.status='';return true" onMouseOut="window.status='';return true" style="cursor:hand;"><td bgcolor="#FFFFFF"onmouseover="this.style.backgroundColor='#DE8300';"onmouseout="this.style.backgroundColor='#FFFFFF';" style="border:1px solid #000000;"><center><a HREF=""onclick="if (winList['2']) winList['2'].open(); return false;" onMouseOver="window.status=' ';return true" onMouseOut="window.status='';return true" style="cursor:hand;">KENDRA</a></center></td></a></tr>
<tr><td height="2"></td></tr>
<a HREF=""onclick="if (winList['3']) winList['3'].open(); return false;" onMouseOver="window.status='';return true" onMouseOut="window.status='';return true" style="cursor:hand;"><td bgcolor="#FFFFFF"onmouseover="this.style.backgroundColor='#DE8300';"onmouseout="this.style.backgroundColor='#FFFFFF';" style="border:1px solid #000000;"><center><a HREF=""onclick="if (winList['3']) winList['3'].open(); return false;" onMouseOver="window.status=' ';return true" onMouseOut="window.status='';return true" style="cursor:hand;">CONTACT</a></center></td></a></tr>
<tr><td height="2"></td></tr>
<a HREF=""onclick="if (winList['4']) winList['4'].open(); return false;" onMouseOver="window.status='';return true" onMouseOut="window.status='';return true" style="cursor:hand;"><td bgcolor="#FFFFFF"onmouseover="this.style.backgroundColor='#DE8300';"onmouseout="this.style.backgroundColor='#FFFFFF';" style="border:1px solid #000000;"><center><a HREF=""onclick="if (winList['4']) winList['4'].open(); return false;" onMouseOver="window.status=' ';return true" onMouseOut="window.status='';return true" style="cursor:hand;">DOMAIN</a></center></td></a></tr></div>
</div>
<!-- &bio -->

<div id="1" class="window" style="left:500px;top:0px;width:275px;">
<div class="titleBar">
<span class="titleBarText">_ ___ME</span>
<IMG SRC="navi.gif" USEMAP="#Map1" WIDTH=0 HEIGHT=0 class="titleBarButtons" alt="" hidefocus="true">
<MAP NAME="Map1">
<AREA SHAPE="RECT" HREF="#" TITLE="Minimize" OnClick="this.parentWindow.minimize();return false;" COORDS="0,0, 15,13">
<AREA SHAPE="RECT" HREF="#" TITLE="Restore" OnClick="this.parentWindow.restore();return false;" COORDS="16,0, 31,13">
<AREA SHAPE="RECT" HREF="#" TITLE="Close" OnClick="this.parentWindow.close();return false;" COORDS="34,0, 49,13">
</MAP>
</div>
<div class="clientArea" style="height:150px;">

<span id="text" style="position: absolute; top: 5px; left: 3px; z-index: 1;">
<div id=text><table border="0" cellpadding="0" cellspacing="0" width="255"><span class="y">
meow</span>
</td>
</tr>
</table>
</span></div></DIV></DIV>
</DIV>

That's the coding for the links and the first window. If anyone could help me out, that would be GREAT!

Mr J
04-13-2003, 12:16 AM
First you need the script

Secondly your table is not written correctly

You have missing opening TR and TD tags

Theres no way this table will render correctly



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum