Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-08-2012, 01:12 PM   PM User | #1
durangod
Senior Coder

 
Join Date: Nov 2010
Posts: 1,177
Thanks: 214
Thanked 31 Times in 30 Posts
durangod is on a distinguished road
FF vs. IE window resizable

Hi, last i heard that FF does not recognize the resizable attribute for window open method. So the result is that IE opens my chat box perfect size and FF opens the window the same size as the other windows and then the user has to drag the chat box over to make it smaller.

Am i wrong on this or has there since been a work around or fix for this.

Thanks so much.
durangod is offline   Reply With Quote
Old 10-08-2012, 03:02 PM   PM User | #2
durangod
Senior Coder

 
Join Date: Nov 2010
Posts: 1,177
Thanks: 214
Thanked 31 Times in 30 Posts
durangod is on a distinguished road
sorry im tired, if you could please move this to javascript area, so very sorry about posting it here i was not paying attention.


thanks
durangod is offline   Reply With Quote
Old 10-09-2012, 12:59 AM   PM User | #3
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,366
Thanks: 18
Thanked 348 Times in 347 Posts
sunfighter is on a distinguished road
I don't think this was ever true. I have never had a problem with this. Just try this in FF:
Code:
<!DOCTYPE html>
<html>
<head>
<script>
function openWin()
{
myWindow=window.open('','','width=200,height=100,top=300');
myWindow.document.write("<p>This is 'myWindow'</p>");
myWindow.focus();
}
</script>
</head>
<body>

<input type="button" value="Open window" onclick="openWin()" />

</body>
</html>
sunfighter is offline   Reply With Quote
Users who have thanked sunfighter for this post:
durangod (10-09-2012)
Old 10-09-2012, 01:52 AM   PM User | #4
durangod
Senior Coder

 
Join Date: Nov 2010
Posts: 1,177
Thanks: 214
Thanked 31 Times in 30 Posts
durangod is on a distinguished road
Yep it was me, i guess im getting old and my eyes are playing tricks on me, when i posted this function awhile back i distinctly remember checking every bit of it to make sure it was perfect so that i would never have to come back to it.

And sure enough when i saw your example and it looked alot like mine in principle i decided to go take a look, and sure enough i missed a freaken comma in the attributes right after resizable, grrrrrrrr lol

Here is what have now after the correction.

Code:
function shout(){
shoutwindow = window.open("<?=$CONST_ROOT?>/shout/chat.php", "shoutwindow", "location=0,status=0,scrollbars=0,menubar=0,resizable=0,width=300,height=310");
}
Here is the interesting thing, the window now loads at the size specified so that issue has been fixed with the comma fix. But FF does not recognize the resizable because i can still drag the window any size i want in FF but in IE cannot drag the window larger. So that part still seems to be the case.

But the load size was the issue i was most concerned about i just find the other part interesting.

Thanks so much, my foot tastes horrible by the way lol....
durangod is offline   Reply With Quote
Old 10-09-2012, 03:12 PM   PM User | #5
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,366
Thanks: 18
Thanked 348 Times in 347 Posts
sunfighter is on a distinguished road
I thought you wanted a resizable window. My bad. Sorry, your right, firefox will not remove the resize tab. I have spent some time on the FF site, but have not come up with any work around.
sunfighter is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:38 PM.


Advertisement
Log in to turn off these ads.