- From: Frederic WANG <fwsmail35@aol.com>
- Date: Fri, 23 May 2008 12:42:29 +0200
- To: inigo delgado <inigo.delgado@gmail.com>
- CC: www-amaya-dev@w3.org
I think you should rather ask your question on the spidermonkey mailing list as it is not directly related to Amaya : http://groups.google.com/group/mozilla.dev.tech.js-engine/topics "window" is a property of the "global object" that point to itself, so you can either do window.location or window.location or even window.window.window.location The syntax location = "http://...." and document.location is not correct according to this (non-normative) page : http://www.w3schools.com/js/js_obj_htmldom.asp > > It's only a question, i'm working in a browser an I've start with the > javascript-hell. I use spidermonkey too (binding it to python) but I > have a methodic dude: how to implement the 'location' object. Because: > > Is window.location > or document.location > or location > or window.document.location > > and reading or writing it > > location = "http://...." > > you are doing > > location.href ="http//..." > > That's: when you assign a string to location it changes its properties > but still been an object that isn't an string.... > but you can threat it as string.... > > crompre pas.... i dont understand > > HEEEEEEEELP needed, i going crazy > > > > > -- > :wq -- Frederic WANG http://www.maths-informatique-jeux.com/international/
Received on Friday, 23 May 2008 10:38:19 UTC