24, July 2008

bug in firefox? (window.open...) - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  JavaScript
Topic: bug in firefox? (window.open...)
« previous next »
Pages: [1] Print

Author Topic: bug in firefox? (window.open...)  (Read 1573 times)
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« on: Mar 30, 2006, 01:18:01 PM »

Hello,

Just noticed that the scroll function doesn't work in Mozilla FF in this window open function:

Code:
function window_open(page, name, x, y) {
newWindow = window.open(page,name,'scrollbars=yes,width='+x+',height='+y+',left=50,top=100');
newWindow.focus();
}

Check (if you like) the whois function on my website (check an exsiting domain name).

Olaf


Last blog : 4th of July Lottery from TemplateMonster.com
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7974
40801 credits
Members referred : 3



« Reply #1 on: Mar 30, 2006, 01:37:52 PM »

It works fine with me (Firefox 1.5)

You are talking about the whois tool in the home page of finalwebsites.com, right?

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #2 on: Mar 30, 2006, 01:44:34 PM »

It works fine with me (Firefox 1.5)

You are talking about the whois tool in the home page of finalwebsites.com, right?
yes, do you have scrollbar?


Last blog : 4th of July Lottery from TemplateMonster.com
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7974
40801 credits
Members referred : 3



« Reply #3 on: Mar 30, 2006, 01:51:03 PM »

Yes I have.

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: Mar 30, 2006, 01:57:29 PM »

Yes I have.
I cleared the cache and if the setting = yes I get a horizontal bar if the setting is auto then there is no scrollbar
I will check some other sites with window.open functuions

Thanks


Last blog : 4th of July Lottery from TemplateMonster.com
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #5 on: Mar 30, 2006, 02:14:15 PM »

hmmm...
I use exactly the same function here http://www.all4yourwebsite.com/ Visit through proxy

(the preview of the clipartgallery in the middle of the page)

and every looks fine there, really strange...

Olaf


Last blog : 4th of July Lottery from TemplateMonster.com
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #6 on: Jun 22, 2006, 12:27:47 PM »

I'm still busy with this problem...

just noticed this error inside the javascript console:

Error: [Exception... "'Permission denied to get property XULElement.accessKey' when calling method: [nsIDOMXULLabelElement::accessKey]"  nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)"  location: "JS frame :: http://www.finalwebsites.com/includes/include.js Visit through proxy :: window_open :: line 9"  data: no]
Source File: http://www.finalwebsites.com/includes/include.js Visit through proxy
Line: 9

what about this?

I did a test the open window is resizable if the height/with parameters are removed...


Last blog : 4th of July Lottery from TemplateMonster.com
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7974
40801 credits
Members referred : 3



« Reply #7 on: Jun 22, 2006, 12:31:52 PM »

Try this :

Code:
function window_open(page, name, x, y)
{
  newWindow = window.open(page,name,'scrollbars=yes,width='+x+',height='+y+',left=50,top=100');
  newWindow.creator=self;
  newWindow.focus();
}

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #8 on: Jun 22, 2006, 12:39:04 PM »

same result, the strange is still that this happens several (f.e. the whois form at finalwebsites) but not here:
http://www.all4yourwebsite.com/ Visit through proxy the preview link for the clipart

Edit: The only difference is the docuement type...
« Last Edit: Jun 22, 2006, 12:40:49 PM by olaf »


Last blog : 4th of July Lottery from TemplateMonster.com
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7974
40801 credits
Members referred : 3



« Reply #9 on: Jun 22, 2006, 12:44:48 PM »

Let me guess, the document that don't works is xhtml strict right?

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #10 on: Jun 22, 2006, 01:02:10 PM »

Let me guess, the document that don't works is xhtml strict right?
/DTD XHTML 1.0 Transitional


Last blog : 4th of July Lottery from TemplateMonster.com
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #11 on: Jun 22, 2006, 01:06:08 PM »

no problem with the document type... Sad


Last blog : 4th of July Lottery from TemplateMonster.com
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=2077
Tags : javascript domains xhtml whois Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  JavaScript
Topic: bug in firefox? (window.open...)
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Jul 24, 2008, 11:01:16 AM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 35.712
Total Topics: 7.376
Total Members: 3.706
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: FortuneBeach

25 Guests, 5 Users online :

12 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.