Why is it when I use this javascript in an HTML page:
<script language=JavaScript>
<!--
function OpenWindow(thisURL,wd,ht) {
window.open(thisURL,"_blank","status=yes,toolbar=no,scrollbars=no,resizable=no,width="+wd+",height="+ht+",left=100,top=100");
}
</script>
IE 6.0 opens windows that ARE resizable and ARE NOT the propper dimensions and DO have toolbars etc.
Yet if I open the same page with Netscape or an older version of IE it works fine??? is there a work around for this? does anyone know why this is happening? Thanks
sure post it if you like I’d really appreciate it, but I really want to know why the heck my javacoding (which has been fine and very multi-browser friendly in the past) is not working properly in IE 6, but fine most everywhere else!! … and I am finding this with many codes other than this simple one - however this open win function issue is the most annoying for me.
hey, that really stinks dude. i wish i could give you an answer other then “it seems as if IE6 is incompatible with that, and its probably due to odd side effects from the gravitational pull of mr. gates’ wallet, seeing as at this point, it must surely have acquired such a large mass that it must also have proportionate gravity.”
my advice to you would be to just start over with a new script. sometimes things don’t work, and that stinks, and its always nice to know why. but sometimes, ya just don’t know, and then ya move on and dont look back…lol. good luck to ya. if ya don’t already have a script by now i could post one for you.
hmm i donno. Lost is really really good with javaScript. but i havent seen him in a day or two so i think he might be out to see his girl or something. but otherwise wait for chris or him.
lol, sorry Ryall, just found this thread, I haven’t been here often these past few days … checking over the code now.
I will look it over, but still post this attachment. The attachment I posted is of a script I wrote a while back to create a customized centered pop-up window (on any res), so hopefully it is helpful.
It launched a 200x100 window with your site inside, it was not resizeable, and did not contain a scrollbar. I experienced no errors at all. I am using IE6 btw. I also changed the URL to reflect various sites to test it out and still no problems at all on my end.
Hmm, well if everyone says it’s alright and you see different, then that must be a problem with your comp I think that assumption is safely made. Perhaps it is something with your Internet Options in IE. I don’t know what it could be, but who knwos.