| | |
No toolbars in window
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
•
•
Originally Posted by stupidfly
I want to be able to open a new window with simple html, like this:
<a href="file.htm" target="_blank">click here</a>
I want to then put javascript in the header of that new file that takes off attributes such as toolbars or scrollbars. This has to be possible.
Thanks.

example grabbed quickly from my web page....

<script type="text/javascript" >
<!--
function launch(newURL, newName, newFeatures, orgName) {
var remote = open(newURL, newName, newFeatures);
if (remote.opener == null)
remote.opener = window;
remote.opener.name = orgName;
return remote;
}
function wow() {
myRemote = launch("lots.html", "myRemote", "height=380,width=480,innerHeight=580,innerWidth=500,screenX=10,left=10,screenY=20,top=20,channelmode=0,dependent=1,directories=0,fullscreen=0,location=0,menubar=0,resizable=1,scrollbars=1,status=0,toolbar=0", "wow");
}
function launchwin() {
myRemote = launch("blogroll.html", "myRemote", "height=580,width=500,innerHeight=580,innerWidth=500,screenX=100,left=100,screenY=100,top=100,channelmode=0,dependent=1,directories=0,fullscreen=0,location=0,menubar=0,resizable=1,scrollbars=1,status=0,toolbar=0", "dx");
}
// -->
</script>sorry this is quick and dirty but with the time difference and the work hrs, I am fading... (this might help)
Last edited by tgreer; Feb 2nd, 2006 at 3:24 pm. Reason: added code tags
![]() |
Similar Threads
- Open.window popup (JavaScript / DHTML / AJAX)
- JavaScript's window.opener (JavaScript / DHTML / AJAX)
- IE toolbars and slow load (Web Browsers)
- I need window~1.ani (Windows NT / 2000 / XP)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: RegExp.replace Not Working
- Next Thread: Mouseover/Rollover
| Thread Tools | Search this Thread |
ajax ajaxcode ajaxexample ajaxhelp ajaxjspservlets animate automatically beta box browser bug calendar captchaformproblem checkbox child class close column createrange() css cursor date debugger dependent disablefirebug dom download dropdown editor element embed engine error events explorer ext file form forms getselection google gwt gxt hiddenvalue highlightedword hint html htmlform ie7 ie8 iframe images internet java javascript javascripthelp2020 jawascriptruntimeerror jquery jsf jsfile jump libcurl math media microsoft mimic object onmouseoutdivproblem onreadystatechange parent paypal pdf php player position post problem programming progressbar regex runtime scroll search security select shopping size software sql text textarea unicode w3c web website window windowofwords windowsxp wysiwyg \n






