Help - Search - Members - Calendar
Full Version: Can't get pop up window to close within my site
HTMLHelp Forums > Programming > Client-side Scripting
Blain
I am trying to get this code to work which previously worked up until today.

I want just the popup window to close not the entire webpage.

<table id="id_tablecostcoyamcontain" style="position:absolute;width:585px;background-image: url('http://www.eastcoastrvs.com/images/eastcoastrvs/bgpopimage.png');border-collapse:collapse;z-index:200;display:block;top:100px;">
<tr>
<td valign="top">
<div style="position:relative;width:585px;height:350px;padding-top:100px;padding-bottom:100px;">

<p style="text-align:right;margin-bottom:5px;font-size:20px;display:block;font-family:arial;font-weight:bold;margin-top:0px;margin-right:5%;">
<a href="#" class="aover" onclick="closepopdiv('id_tablecostcoyamcontain')" title="Close Image">
Close - X
</a>
</p>
<center>
<a href="contact_us.asp">
<img src="http://i.imgur.com/vIEzeRT.png" border="0" style="width:570px;">
<br/>
<p style="font-size:20px;display:block;font-family:arial;font-weight:bold;color:#FFFFFF;">
Click Here to Contact Us!
</p>
</a>
</center>
</div>

</td>
</tr>
</table>
pandy
we need to see the whole thing. the rest of the html, the javascipt function you are calling and any related css. best is if you can link to a sample page.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.