Loganathan Natarajan
asked on
Can we catch the browser (IE) history count?
I am handling some frame based application.. where I can count / length the history details... I just want to alert/fire some message when the history raising from 10 to 11 th page..?
Probably I will be moving the pages..so i have the history details on my browser .. also i could get the history length ...
Is it possible to catch the history and display some alert message ??
So How to catch the 11th history...? moving from 10th count/length
Probably I will be moving the pages..so i have the history details on my browser .. also i could get the history length ...
Is it possible to catch the history and display some alert message ??
So How to catch the 11th history...? moving from 10th count/length
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you are handling it, count where you handle it.
What is the actual issue here. What are you trying to achieve?
Michel
What is the actual issue here. What are you trying to achieve?
Michel
ASKER
when the history.length is being updated, i am able to get the length only after <iframe loaded completed ... Is it possible to get it before (i.e when the iframe page loads ...itself...
any idea?
(On the main page, I am loading the iframe and doing this work... trying to load different iframes on the main page...
any idea?
(On the main page, I am loading the iframe and doing this work... trying to load different iframes on the main page...
ASKER
any other comments?
No. Sorry. I do not understand your issue.
If you have full control over what you load, then I do not see a need to look at the history object
If you have full control over what you load, then I do not see a need to look at the history object
ASKER
Now, I have set it as Timer ... it is ok now... ok.. i will close this topic .. i got something to do.,
ASKER
frame1.Attributes.Add("onl
This executes only after the page is loaded completely. But Browser increments the history length well in advance. How to do that in my iframe page?
The real issue, if my page have more images, the above javascript is getting executed after all the images are loaded. But the browser is incrementing the history length before that. How?