IE 6.0 question

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

Peace

no, i could give you a newer code if you want it.

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.

Thanks for the input and new code!

Peace

::bump::

Hey Lost, you’re decent w/java - have you run into this problem??

::bump::

I would seriously like a response on this, if a MOD thinks I’d get one in another forum please feel free to move it, cuz it is really bugging me!

Once again – Lost… any experience with these problems??

Peace

PS I searched the forums, but didn’t find anything I was looking for… if it has been brought up and I simply missed it please point me to the thread.

::bump::

maybe this thread should be moved to another section by a mod to get better traffic?? - I dunno, just looking for some info guys…

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. :slight_smile:

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.

Ok, I didn’t see anything wrong with the script after reading through it, so I decided to test it out…

I put this between the HEAD tags…

<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>

That is your original script, nothing changed.

And I called it with this…

<A HREF="java**script:OpenWindow('http://www.grafikdesigns.com/', 200, 100)">LINK</A>

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.

Thanks for looking it over beta… I dunno what the prob is with my comp - everyone else says the same thing as you: they dont have problems.

I appreciate you checking it out for me.

Peace

PS new footer… how profound! :wink: I like it man :stuck_out_tongue:

Hmm, well if everyone says it’s alright and you see different, then that must be a problem with your comp :stuck_out_tongue: 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.

And yep, new footer, I just changed it yesterday :slight_smile: