28, May 2012

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

 
Webdigity webmaster forums
[ 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
Instabuck - The easy way to sell digital products online

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


It's time to use PHP5!


« on: Mar 30, 2006, 12: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

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #1 on: Mar 30, 2006, 12: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 or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #2 on: Mar 30, 2006, 12: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?

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #3 on: Mar 30, 2006, 12:51:03 pm »

Yes I have.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: Mar 30, 2006, 12: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

Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #5 on: Mar 30, 2006, 01:14:15 pm »

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

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

and every looks fine there, really strange...

Olaf

Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #6 on: Jun 22, 2006, 11:27:47 am »

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 :: window_open :: line 9"  data: no]
Source File: http://www.finalwebsites.com/includes/include.js
Line: 9

what about this?

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

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #7 on: Jun 22, 2006, 11:31:52 am »

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

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #8 on: Jun 22, 2006, 11:39:04 am »

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

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

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #9 on: Jun 22, 2006, 11:44:48 am »

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

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #10 on: Jun 22, 2006, 12:02:10 pm »

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

Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #11 on: Jun 22, 2006, 12:06:08 pm »

no problem with the document type... Sad

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

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?
May 28, 2012, 08:24:17 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!






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