Forum Moderators: open
These two items aren't working in the code I pasted further below below:
<BR><a href="#" onclick="showhide('spxpri');">more</a>
<div id="spxpri" style="display: none;">ENTER CLASS DESCRIPTION HERE</div>
No dialog box opens it goes back to the top of the page
<BR><a href="#" onclick="showhide('spri');">more</a>
<div id="spri" style="display: none;">ENTER CLASS DESCRIPTION HERE</div>
No dialog box it goes back to the top of the page.
The website can be seen at www.example.org/najia/classes.html
Also in summer classes table NONE of the "more" links work they ALL go back to the top of the page.. anyone know how to fix it?
Here is the code where they are:
<table width=750 cellspacing=0 cellpadding=1 border=1>
<TR bgcolor="ffffcc">
<td align=center width=20%><b>Location</b></td>
<td align=center width=27%><b>Class</b></td>
<td align=center width=13%><b>Day</b></td>
<td align=center width=10%><b>Time</b></td>
<td align=center width=15%><b>Cost</b></td>
<td align=center width=15%><b>Register</b></td>
</tr>
<TR bgcolor="FFFFcc" onMouseOver="this.bgColor='#66ccff';" onMouseOut="this.bgColor='#FFFFcc';">
<td align=center> <font size=2>Phila/Mainline</a></td>
<td align=center> <font size=2>3-Class Trial Card
<BR><a href="#" onclick="showhide('spca');">more</a>
<div id="spca" style="display: none;">ENTER CARD DESCRIPTION HERE</div>
</a></td>
<td align=center><font size=2>Your Choice </td>
<td align=center> <font size=2>Your Choice</td>
<td align=center> <font size=2>$55</td>
<td align=center >
<form style="margin-bottom:0;" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="paypal">
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="business" value="example@aol.com" />
<input type="hidden" name="undefined_quantity" value="1" />
<input type="hidden" name="item_name" value="3-Class Trial Card (Classes are non-transferable and non-refundable. There are NO make-ups!)" />
<input type="hidden" name="no_shipping" value="2" />
<input type="hidden" name="no_note" value="0" />
<input type="hidden" name="cancel_return" value="http://www.example.org/najia/classes/" />
<input type="hidden" name="amount" value="55.00" />
<input type="hidden" name="return" value="http://www.example.org/najia/classes.html" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="lc" value="US" />
<input type="hidden" name="add" value="1" />
<input type="image" src="addtocart.gif" />
</form></div>
</td></tr>
<TR bgcolor="FFFFcc" onMouseOver="this.bgColor='#66ccff';" onMouseOut="this.bgColor='#FFFFcc';">
<td align=center> <a href="http://maps.google.com/maps>Plymouth Meeting</a></td>
<td align=center> <a href="http://www.example.org/services/parks/program-details.aspx?cid=13&pid=179" target="_blank"><font size=2>Bellydance Core Workout</a>
<BR><a href="#" onclick="showhide('spblcorm');">more</a>
<div id="spblcorm" style="display: none;">ENTER CLASS DESCRIPTION HERE</div>
</td>
<td align=center><font size=2>Mon </td>
<td align=center> <font size=2>7:00 p.m.</td>
<td align=center> <font size=2>$85-$98</td>
<td align=center > <a href="http://www.example.org/services/parks/program-details.aspx?cid=13&pid=179" target="_blank"><font size=2>Click Here!</a></td>
<TR bgcolor="FFFFcc" onMouseOver="this.bgColor='#66ccff';" onMouseOut="this.bgColor='#FFFFcc';">
<td align=center> <a href="http://maps.google.com/maps><font size=2>Plymouth Meeting</a></td>
<td align=center> <a href="http://www.whitemarshtwp.org/services/parks/program-details.aspx?cid=13&pid=179" target="_blank"><font size=2>Fat Burning Bellydance
<BR><a href="#" onclick="showhide('spfatm');">more</a>
<div id="spfatm" style="display: none;">ENTER CLASS DESCRIPTION HERE</div>
</td>
<td align=center > <font size=2>Mon</td>
<td align=center> <font size=2>8:00 p.m.</td>
<td align=center><font size=2> $90-$103</td>
<td align=center > <a href="http://www.example.org/services/parks/program-details.aspx?cid=13&pid=180" target="_blank"><font size=2>Click Here!</a></td>
</tr>
<TR bgcolor="FFFFcc" onMouseOver="this.bgColor='#66ccff';" onMouseOut="this.bgColor='#FFFFcc';">
<td align=center> <a href="http://example.com/directions1.htm" target="_blank"><font size=2> Philadelphia</a> </td>
<td align=center> <a href="http://example.com/najialocations.htm" target="_blank"><font size=2>Bellydance Core Workout</a>
<BR><a href="#" onclick="showhide('spblcort');">more</a>
<div id="spblcort" style="display: none;">ENTER CLASS DESCRIPTION HERE</div>
</td>
<td align=center > <font size=2>Tue</td>
<td align=center> <font size=2>6:00 p.m.</td>
<td align=center> <font size=2>$80</td>
<td align=center >
<form style="margin-bottom:0;" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="paypal">
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="business" value="example@aol.com" />
<input type="hidden" name="undefined_quantity" value="1" />
<input type="hidden" name="item_name" value="Bellydance Core Workout, Tue 6 p.m., Philadelphia (Classes are non-transferable and non-refundable. There are NO make-ups!)" />
<input type="hidden" name="no_shipping" value="2" />
<input type="hidden" name="no_note" value="0" />
<input type="hidden" name="cancel_return" value="http://www.example.org/najia/classes/" />
<input type="hidden" name="amount" value="80.00" />
<input type="hidden" name="return" value="http://www.example.org/najia/classes.html" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="lc" value="US" />
<input type="hidden" name="add" value="1" />
<input type="image" src="addtocart.gif" />
</form></div></td>
</tr>
<TR bgcolor="FFFFcc" onMouseOver="this.bgColor='#66ccff';" onMouseOut="this.bgColor='#FFFFcc';">
<td align=center> <a href="http://example.com/directions1.htm" target="_blank"><font size=2> Philadelphia</a> </td>
<td align=center> <a href="http://example.com/najialocations.htm" target="_blank"><font size=2>Fat Burning Bellydance</a>
<BR><a href="#" onclick="showhide('spfatt');">more</a>
<div id="spfatt" style="display: none;">ENTER CLASS DESCRIPTION HERE</div>
</td>
<td align=center ><font size=2> Tue</td>
<td align=center> <font size=2>6:50 p.m.</td>
<td align=center> <font size=2>$80</td>
<td align=center >
<form style="margin-bottom:0;" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="paypal">
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="business" value="example@aol.com" />
<input type="hidden" name="undefined_quantity" value="1" />
<input type="hidden" name="item_name" value="Fat Burning Bellydance, Tue 6:50 p.m., Philadelphia (Classes are non-transferable and non-refundable. There are NO make-ups!)" />
<input type="hidden" name="no_shipping" value="2" />
<input type="hidden" name="no_note" value="0" />
<input type="hidden" name="cancel_return" value="http://www.example.org/najia/classes/" />
<input type="hidden" name="amount" value="80.00" />
<input type="hidden" name="return" value="http://www.example.org/najia/classes.html" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="lc" value="US" />
<input type="hidden" name="add" value="1" />
<input type="image" src="addtocart.gif" />
</form></td>
</tr>
<TR bgcolor="FFFFcc" onMouseOver="this.bgColor='#66ccff';" onMouseOut="this.bgColor='#FFFFcc';">
<td align=center> <a href="http://example.com/directions1.htm" target="_blank"><font size=2> Philadelphia</a> </td>
<td align=center> <a href="http://example.com/najialocations.htm" target="_blank"><font size=2>Performing Bellydance</a>
<BR><a href="#" onclick="showhide('sppert');">more</a>
<div id="sppert" style="display: none;">ENTER CLASS DESCRIPTION HERE</div>
</td>
<td align=center > <font size=2>Tue</td>
<td align=center><font size=2> 7:35 p.m.</td>
<td align=center> <font size=2>$80</td>
<td align=center >
<form style="margin-bottom:0;" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="paypal">
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="business" value="example@aol.com" />
<input type="hidden" name="undefined_quantity" value="1" />
<input type="hidden" name="item_name" value="Performing Bellydance, Tue 7:35 p.m., Philadelphia (Classes are non-transferable and non-refundable. There are NO make-ups!)" />
<input type="hidden" name="no_shipping" value="2" />
<input type="hidden" name="no_note" value="0" />
<input type="hidden" name="cancel_return" value="http://www.example.org/najia/classes/" />
<input type="hidden" name="amount" value="80.00" />
<input type="hidden" name="return" value="http://www.example.org/najia/classes.html" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="lc" value="US" />
<input type="hidden" name="add" value="1" />
<input type="image" src="addtocart.gif" />
</form></td>
</tr>
<TR bgcolor="FFFFcc" onMouseOver="this.bgColor='#66ccff';" onMouseOut="this.bgColor='#FFFFcc';">
<td align=center> <a href="http://exammple.com/directions2.htm" target="_blank"> <font size=2>Mainline</a> </td>
<td align=center> <a href="http://example.com/najialocations.htm" target="_blank"><font size=2>Bellydance Core Workout</a>
<BR><a href="#" onclick="showhide('spblcorw');">more</a>
<div id="spblcorw" style="display: none;">ENTER CLASS DESCRIPTION HERE</div>
</td>
<td align=center > <font size=2>Wed</td>
<td align=center> <font size=2>7:00 p.m.</td>
<td align=center><font size=2> $80</td>
<td align=center >
<form style="margin-bottom:0;" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="paypal">
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="business" value="example@aol.com" />
<input type="hidden" name="undefined_quantity" value="1" />
<input type="hidden" name="item_name" value="Bellydance Core Workout, Wed 7 p.m., Mainline (Classes are non-transferable and non-refundable. There are NO make-ups!)" />
<input type="hidden" name="no_shipping" value="2" />
<input type="hidden" name="no_note" value="0" />
<input type="hidden" name="cancel_return" value="http://www.example.org/najia/classes/" />
<input type="hidden" name="amount" value="80.00" />
<input type="hidden" name="return" value="http://www.example.org/najia/classes.html" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="lc" value="US" />
<input type="hidden" name="add" value="1" />
<input type="image" src="addtocart.gif" />
</form></td>
</tr>
<TR bgcolor="FFFFcc" onMouseOver="this.bgColor='#66ccff';" onMouseOut="this.bgColor='#FFFFcc';">
<td align=center> <a href="http://example.com/directions2.htm" target="_blank"> <font size=2>Mainline</a> </td>
<td align=center> <a href="example.com/najialocations.htm" target="_blank"><font size=2>Fat Burning Bellydance</a>
<BR><a href="#" onclick="showhide('spfatw');">more</a>
<div id="spfatw" style="display: none;">ENTER CLASS DESCRIPTION HERE</div>
</td>
<td align=center > <font size=2>Wed</td>
<td align=center> <font size=2>7:50 p.m.</td>
<td align=center><font size=2> $80</td>
<td align=center >
<form style="margin-bottom:0;" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="paypal">
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="business" value="example@aol.com" />
<input type="hidden" name="undefined_quantity" value="1" />
<input type="hidden" name="item_name" value="Fat Burning Bellydance, Wed 7:50 p.m., Mainline (Classes are non-transferable and non-refundable. There are NO make-ups!)" />
<input type="hidden" name="no_shipping" value="2" />
<input type="hidden" name="no_note" value="0" />
<input type="hidden" name="cancel_return" value="http://www.example.org/najia/classes/" />
<input type="hidden" name="amount" value="80.00" />
<input type="hidden" name="return" value="http://www.example.org/najia/classes.html" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="lc" value="US" />
<input type="hidden" name="add" value="1" />
<input type="image" src="addtocart.gif" />
</form></td>
</tr>
<TR bgcolor="FFFFcc" onMouseOver="this.bgColor='#66ccff';" onMouseOut="this.bgColor='#FFFFcc';">
<td align=center> <a href="http://example.com/directions2.htm" target="_blank"><font size=2>Mainline</a> </td>
<td align=center> <a href="http://example.com/najialocations.htm" target="_blank"><font size=2>Performing Bellydance</a>
<BR><a href="#" onclick="showhide('spperw');">more</a>
<div id="spperw" style="display: none;">ENTER CLASS DESCRIPTION HERE</div>
</td>
<td align=center ><font size=2> Wed</td>
<td align=center> <font size=2>8:35 p.m.</td>
<td align=center> <font size=2>$80</td>
<td align=center >
<form style="margin-bottom:0;" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="paypal">
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="business" value="example@aol.com" />
<input type="hidden" name="undefined_quantity" value="1" />
<input type="hidden" name="item_name" value="Performing Bellydance, Wed 8:35 p.m., Mainline (Classes are non-transferable and non-refundable. There are NO make-ups!)" />
<input type="hidden" name="no_shipping" value="2" />
<input type="hidden" name="no_note" value="0" />
<input type="hidden" name="cancel_return" value="http://www.example.org/najia/classes/" />
<input type="hidden" name="amount" value="80.00" />
<input type="hidden" name="return" value="http://www.example.org/najia/classes.html" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="lc" value="US" />
<input type="hidden" name="add" value="1" />
<input type="image" src="addtocart.gif" />
</form></td>
</tr>
<TR bgcolor="FFFFcc" onMouseOver="this.bgColor='#66ccff';" onMouseOut="this.bgColor='#FFFFcc';">
<td align=center> <font size=2>Najia's</td>
<td align=center><a href="http://example.com/najiaprivatelessons.htm" target="_blank"><font size=2>Private Lesson</a>
<BR><a href="#" onclick="showhide('spri');">more</a>
<div id="spri" style="display: none;">ENTER CLASS DESCRIPTION HERE</div>
</td>
<td align=center ><font size=2> Varies</td>
<td align=center> <font size=2>Varies</td>
<td align=center><font size=2> $40/half hr</td>
<td align=center >
<form style="margin-bottom:0;" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="paypal">
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="business" value="example@aol.com" />
<input type="hidden" name="undefined_quantity" value="1" />
<input type="hidden" name="item_name" value="Private Lesson (Classes are non-transferable and non-refundable. There are NO make-ups!)" />
<input type="hidden" name="no_shipping" value="2" />
<input type="hidden" name="no_note" value="0" />
<input type="hidden" name="cancel_return" value="http://www.example.org/najia/classes/" />
<input type="hidden" name="amount" value="40.00" />
<input type="hidden" name="return" value="http://www.example.org/najia/classes.html" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="lc" value="US" />
<input type="hidden" name="add" value="1" />
<input type="image" src="addtocart.gif" />
</form></td>
</tr>
<TR bgcolor="FFFFcc" onMouseOver="this.bgColor='#66ccff';" onMouseOut="this.bgColor='#FFFFcc';">
<td align=center> <font size=2>Najia's</td>
<td align=center><a href="http://example.com/najiaprivatelessons.htm" target="_blank"><font size=2>Extra Person, Private Lesson</a>
<BR><a href="#" onclick="showhide('spxpri');">more</a>
<div id="spxpri" style="display: none;">ENTER CLASS DESCRIPTION HERE</div>
</td>
<td align=center > <font size=2>Varies</td>
<td align=center><font size=2> Varies</td>
<td align=center> <font size=2>$10/half hr</td>
<td align=center >
<form style="margin-bottom:0;" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="paypal">
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="business" value="example@aol.com" />
<input type="hidden" name="undefined_quantity" value="1" />
<input type="hidden" name="item_name" value="Extra Person, Private Lesson (Classes are non-transferable and non-refundable. There are NO make-ups!)" />
<input type="hidden" name="no_shipping" value="2" />
<input type="hidden" name="no_note" value="0" />
<input type="hidden" name="cancel_return" value="http://www.example.org/najia/classes/" />
<input type="hidden" name="amount" value="10.00" />
<input type="hidden" name="return" value="http://www.example.org/najia/classes.html" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="lc" value="US" />
<input type="hidden" name="add" value="1" />
<input type="image" src="addtocart.gif" />
</form></td>
</tr>
</table>
[edited by: tedster at 9:26 pm (utc) on April 29, 2008]
[edit reason] use example.com in code [/edit]