Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2003
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    First window for draggable pop up windows isn't showing up

    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 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.backgroun dColor='#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.backgroun dColor='#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.backgroun dColor='#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.backgroun dColor='#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!

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Location
    UK
    Posts
    2,789
    Thanks
    2
    Thanked 14 Times in 14 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •