View Full Version : Chrome Menu Links to Open Specific Window Size

06-14-2006, 05:18 AM
RE: http://www.dynamicdrive.com/dynamicindex1/chrome/index.htm

I searched for a thread that covered this but I wasnt sure if what I found would work with the chrome Menu

I would like to Specify the target window size on some of the links but not all


06-14-2006, 07:47 AM
With Chrome Menu, you are at least starting with ordinary links, from the demo page:

<!--1st drop down menu -->
<div id="dropmenu1" class="dropmenudiv">
<a href="http://www.dynamicdrive.com/">Dynamic Drive</a>
<a href="http://www.cssdrive.com">CSS Drive</a>
<a href="http://www.javascriptkit.com">JavaScript Kit</a>

Any of the links can be given a window.open() onclick event like so:

<a href="http://www.dynamicdrive.com/" target="_blank" onclick="window.open(this.href,this.target,'width=300, height=350, location=1, menubar=1, scrollbars=1, resizable=1, toolbar=1');return false">Dynamic Drive</a>

06-15-2006, 04:13 AM
Thank you very much your site is indispensable and a great resource