By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,587 Members | 1,070 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,587 IT Pros & Developers. It's quick & easy.

help me smart people

P: n/a
I've done some testing in IE and the location object doesn't update
when the address changes from a browser back or forward action unless
the page is reloaded or the page is called via javascript.

Is there any way for me to figure out what the address bar is after:

condition A: a browser's back or forward button pressed
condition B: and the change in address doesn't trigger a page reload

Is there an initiative that would allow me to force the location object
to regather data, or to call an initialization method that would
rebuild location?

Can I figure out what the address bar has changed to or whether it has
changed at all; and in which direction?

Are there any other javascript member that I could use to access the
change in the address bar under conditions A and B?

Thanks for taking the time to read about my problem,

H

Jan 3 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
On 2006-01-03, el****@gmail.com <el****@gmail.com> wrote:
I've done some testing in IE and the location object doesn't update
when the address changes from a browser back or forward action unless
the page is reloaded or the page is called via javascript.

Is there any way for me to figure out what the address bar is after:
after?
condition A: a browser's back or forward button pressed
condition B: and the change in address doesn't trigger a page reload
are these alternatives?
Is there an initiative that would allow me to force the location object
to regather data, or to call an initialization method that would
rebuild location?
change the url
Can I figure out what the address bar has changed to or whether it has
changed at all; and in which direction?
maybe.
Are there any other javascript member that I could use to access the
change in the address bar under conditions A and B?


what are you doing now, and what do you want it to do.

Bye.
Jasen
Jan 3 '06 #2

P: n/a
Hi Jasen,

the solution you gave me before works well, I switched my setInterval
based property watcher from the flash object to the javascript document
like we discussed and it worked fine with some browser testing I did.
My new problem pertains from the same project. location.hash doesn't
update when the anchor hanges.
after?
The following conditions.
are these alternatives?
No, these are the conditions I was refering to above.
change the url


My problem is that I cannot read the address bar after the url changes
from a back or forward action that doesn't load another, or the,
document.

The problem is that I cannot read the address from the location object
when it changes under the conditions A and B I mentioned earlier.

You can test it out here:
http://www.anticipatechange.com/browserSupport/

set the anchor to:

test1
test2
test3

Those are valid named anchors in the html, the anchor generation also
needs to be dynamic, that is another problem that I will be solving
once I solve this one.

Thanks again for your help Jasen,

H

Jan 3 '06 #3

P: n/a
On 2006-01-03, el****@gmail.com <el****@gmail.com> wrote:
Hi Jasen,

the solution you gave me before works well, I switched my setInterval
based property watcher from the flash object to the javascript document
like we discussed and it worked fine with some browser testing I did.
My new problem pertains from the same project. location.hash doesn't
update when the anchor hanges.
after?


The following conditions.
are these alternatives?


No, these are the conditions I was refering to above.
change the url


My problem is that I cannot read the address bar after the url changes
from a back or forward action that doesn't load another, or the,
document.

The problem is that I cannot read the address from the location object
when it changes under the conditions A and B I mentioned earlier.

You can test it out here:
http://www.anticipatechange.com/browserSupport/

set the anchor to:

test1
test2
test3

Those are valid named anchors in the html, the anchor generation also
needs to be dynamic, that is another problem that I will be solving
once I solve this one.

Thanks again for your help Jasen,

H


your page contains
<a name="test1" onFocus="alert('test1');"></a>
this is a bad idea.

http://www.anticipatechange.com/browserSupport/#test1
The rest of it only prints cryptic messages in the box at the bottom of the
screen. nothing asked me to install flash althoug parts of the source seem
to want it.
Bye.
Jasen
Jan 4 '06 #4

P: n/a
Hi Jasen,

Yes, the attribute is not supported on the a tag for netscape 4 and 6.
You're running flash player 7, I plan on writing the final code for
players 6+.

H

Jan 4 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.