Current location: Hot Scripts Forums » General Web Coding » JavaScript » how can i fix window.resizeto problem in firefox


how can i fix window.resizeto problem in firefox

Reply
  #1 (permalink)  
Old 01-20-05, 06:17 AM
rdnpa rdnpa is offline
New Member
 
Join Date: Dec 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
how can i fix window.resizeto problem in firefox

I need to use the following code in an iframe in order to resize it when it opens.

<SCRIPT LANGUAGE="javascript">
<!--
width=700;
height=180;
window.resizeTo(width,height);
//-->
</SCRIPT>

The problem is that it works in IE but does not work in firefox.
Can anyone think of a way of making it work in firefox?

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 01-20-05, 10:35 AM
TwoD TwoD is offline
Community VIP
 
Join Date: Sep 2003
Location: 404
Posts: 1,813
Thanks: 0
Thanked 0 Times in 0 Posts
Do you get an error? If so, then maybe that's because resizeTo is IE only...
Maybe you can change the width and height manually instead of using the function?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
program doesnt work in ie but does in firefox darkcarnival The Lounge 0 12-20-04 11:13 PM
Quick ImageMagick problem fix jasong Job Offers & Assistance 1 11-24-04 11:52 AM
Count problem kasic ASP.NET 1 10-20-04 01:23 AM
Asp and Microsoft Access 2002 problem gop373 ASP 2 10-06-04 10:13 AM
PHP Sessions problem dannyallen PHP 1 06-26-04 11:43 AM


All times are GMT -5. The time now is 10:07 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.