red_A
December 29, 2003, 9:30am
1
<td height="20" class="submenu2">
<div align="left"><u><a href="javascript:;" class="submenu2" onClick="MM_openBrWindow('/small_window.htm','','scrollbars=yes,resizable=yes,width=350,height=450')"><u>previous
announcements</u></a></u></div>
</td>
that’s my code… i have a link someone did for me and it’s weird cause it wont work any way u try to do it! ive deleted the above code but nope no luck!!!..
it’s supposed to be a link that has a pop up box come up upon clicking…but all i get now is error blah blah baa!!!
system
December 29, 2003, 8:26pm
2
that’s not all your code cause you are calling a function (using dreamweaver i presume)
better to write it yourself
here is a simple example
onclick="window.open(‘http://www.kirupa.com ’,‘win’,‘width=450,height=350’); return false
bsw
system
December 30, 2003, 10:33am
3
so…
<script language ="javascript">
onclick="window.open('http://www.kirupa.com','win','width=450,height=350'); return false
</script>
???
cause i want it to be a javascript pop-up window!?!
system
December 30, 2003, 2:27pm
4
window.open
is the method used to make a popup appear in javascript
your code posted is not complete for you are missing the dreamweaver function called MM_openBrWindow
by the way you might want to change
’/small_window. htm’
to
’/small_window.htm’ (extra space before htm extension)
cheers