Im creating a menu which expands and some of the links I wish to open in a pop up window.
[code] <script type=”text/javascript”>
<!–
window.onload=montre;
function montre(id) {
var d = document.getElementById(id);
for (var i = 1; i<=10; i++) {
if (document.getElementById(‘smenu’+i)) {document.getElementById(‘smenu’+i).style.display=’none’;}
}
if (d) {d.style.display=’block’;}
}
//–>
function launchWin(loc){
window.open(loc, “”, “resizable,scrollbars,width=800,height=600,status=1”);
}
</script>
[code=html]
<dd id=”smenu2″ onmouseover=”javascript:montre(‘smenu2’);” onmouseout=”javascript:montre();”>
<ul>
<li><a href=”javascript:LaunchWin(‘/matchreport/8.htm’)”>Most Recent</a></li>
<li><a href=”#”>Archive</a></li>
</ul>
</dd>
Only problem being it doesn’t like the pop up window bit, as they don’t open. Any help would be much appreciated.