Problem with popUp locaton

  • mico
  • Beginner
  • Beginner
  • User avatar
  • Posts: 54
  • Loc: Neo Universe

Post 3+ Months Ago

nothing wrong with this script, right? but why when the link clicked, the window showing the location bar?
did i miss somthing?


Code: [ Select ]
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=1000,height=650');");
}
  1. function popUp(URL) {
  2. day = new Date();
  3. id = day.getTime();
  4. eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=1000,height=650');");
  5. }
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • dark_lord
  • Graduate
  • Graduate
  • User avatar
  • Posts: 162
  • Loc: India-Kolkata

Post 3+ Months Ago

It is working in Internet Explorer but not in mozilla
i think there is no solution to this

You can check firefox help page

https://developer.mozilla.org/En/DOM:wi ... e_features
  • mico
  • Beginner
  • Beginner
  • User avatar
  • Posts: 54
  • Loc: Neo Universe

Post 3+ Months Ago

i notice. but...
thank you dark_lord
  • dark_lord
  • Graduate
  • Graduate
  • User avatar
  • Posts: 162
  • Loc: India-Kolkata

Post 3+ Months Ago

but what? O_O
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8411
  • Loc: USA

Post 3+ Months Ago

dark_lord wrote:
but what? O_O

But it's not the solution I'm guessing.

Maybe this would be of some help?
  • dark_lord
  • Graduate
  • Graduate
  • User avatar
  • Posts: 162
  • Loc: India-Kolkata

Post 3+ Months Ago

Bogey wrote:
But it's not the solution I'm guessing.

Maybe this would be of some help?


I think firefox still didn't adopted it

at least it's not working with my firefox 3.x

the reason maybe firefox doesn't want any user to be taken somewhere, where he/she couldn't see the site address.

don't know if they adopt it later.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8411
  • Loc: USA

Post 3+ Months Ago

dark_lord wrote:
Bogey wrote:
But it's not the solution I'm guessing.

Maybe this would be of some help?


I think firefox still didn't adopted it

at least it's not working with my firefox 3.x

the reason maybe firefox doesn't want any user to be taken somewhere, where he/she couldn't see the site address.

don't know if they adopt it later.

On your Firefox... go to about:config press, "I'll be careful..." buttong, search for "dom.disable_window_open_feature.location" in the filter, and then double click that thing... now you fixed that problem... the only problem though... you only fixed that for yourself :lol:

Like dark_lord said... there is no fixable thing for this that would let you do what you want to.
  • dark_lord
  • Graduate
  • Graduate
  • User avatar
  • Posts: 162
  • Loc: India-Kolkata

Post 3+ Months Ago

i know that :D

i am saying how a developer(like me) will force such a thing to an user(like you) :lol:?

Don't mix it up :P
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8411
  • Loc: USA

Post 3+ Months Ago

I know... I was just telling the easiest fix to mico. I understood what you are saying... that is what XHTML strict is all about... that is why when you put target="..." in links in XHTML strict, it doesn't validate :(

Post Information

  • Total Posts in this topic: 9 posts
  • Users browsing this forum: No registered users and 73 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.