Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > help me smart people

Reply
Thread Tools

help me smart people

 
 
elibol@gmail.com
Guest
Posts: n/a
 
      01-03-2006
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

 
Reply With Quote
 
 
 
 
elibol@gmail.com
Guest
Posts: n/a
 
      01-03-2006
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

 
Reply With Quote
 
 
 
 
elibol@gmail.com
Guest
Posts: n/a
 
      01-04-2006
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ok only for smart people! Fastmoggy Computer Support 26 06-09-2010 11:10 PM
Smart Pointers: Is there something similar to smart pointers in C? MotoK C Programming 59 09-15-2006 07:03 PM
Smart Card Certificate Logon and Smart Card Wireless EAP-TLS erha Wireless Networking 0 05-19-2005 01:40 AM
A simple question for smart people cornchip Computer Support 9 07-03-2004 08:00 AM
trade 64mb smart media for 16mb smart media cards wjva Digital Photography 1 08-20-2003 08:30 PM



Advertisments