Link to home
Start Free TrialLog in
Avatar of graphics
graphics

asked on

openning a new, smaller window command

I have been looking for either an applet, Java script or HTML command that will create a new smaller window that will open up from "inside" my sites when commanded to from the main page. I need it to be able to hold and run things like a midi console or navigation buttons or site map for example, so the visitor can call it up from the task bar without going back or forth inside the main site. Any suggestions or solutions would be greatly appreciated. Thanks again for the great site and service! PS: I need something that will work in both IE and Netscape Browsers. The script that was given in reply to my original question doesn't work in IE. Thanks again!
Avatar of nodas
nodas

Put this into your home page
<script language="JavaScript">
<!-- hide from non-JavaScript browsers
function OpenSmallwindow()
 { window.open("smallwindow.htm", "OpenSmallwindow",",,,,,scrollbars,,width=380,height=280,top=60,left=60");
}
</script>


Then you can close it with the following :
<a href="javascript:window.parent.close()">OK>
// end hide -->


Avatar of graphics

ASKER

Thank you! If I want to use a button or icon etc... do I just reference to this script?
Edited text of question
HELP! Anyone with a tried and true cross platform fix? Thanks in advance!
ASKER CERTIFIED SOLUTION
Avatar of jshamlin
jshamlin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial