PDA

View Full Version : Javascript popup with navbar?


nosz
02-08-2011, 01:03 AM
Hey, I need help making a javascript popup within the navbar. I just am not sure how to add those code:

window.open ("URL HERE","mywindow","menubar=1,resizable=1,width=350,height=250");

To this tab of my navbar:

<td width="85" height="34" class="css_nav"><a href="#">Name Here</a></td>

Help please

kh99
02-08-2011, 02:00 AM
Maybe just add onclick="..." to the <a> tag and put your javascript in there? You'd need to escape the double quotes with backslashes, or just change them to single quotes.