PDA

View Full Version : Chrome CSS Drop Down Menu problem



arjun
03-07-2006, 09:39 PM
Using the Chrome CSS Drop Down Menu Iíve changed this


<div id="chromemenu" >
<ul>
<li><a href="#" onMouseover="cssdropdown.dropit(this,event,'dropmenu1')">FIRST</a></li>
<li><a href="#" onMouseover="cssdropdown.dropit(this,event,'dropmenu2')">SECOND</a></li>
.

.

.

</ul>
</div>
<div id="dropmenu1" class="dropmenudiv" >
<a href="javascript:JC2('D/Imor1.htm')">IMOR</a>
<a href="javascript:JC2('D/Iita1.htm')">IITA</a>
<a href="javascript:JC2('D/Icoe1.htm')">ICOE</a>
.

.

.



<script language="JavaScript">
<!--
function JC(url)
{
var JAC = window.open(url,"JC","width=800,height=600,toolbar=no,resizable=yes,scrollbars=YES,status=no,left=0,top=0");
if (JAC.focus != null) JAC.focus();
}
//-->
</script>



and it dont Works! Why?



Someone can help me?

ddadmin
03-08-2006, 07:14 AM
.

Your fuction is called JC(), yet you're using JC2() inside your menu links:


<a href="javascript:JC2('D/Imor1.htm')">IMOR</a>

Just correct the later.