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

findout that this page has previous page or next page in history object

P: 107
i'm a beginer javascript
would you please help me
i d like to findout this page has next page or previous page in history object
i use this line of code
and with this line code indentify that exist else page that visited via this page
but i want to findout this pages is previous page or nextpage?
thanks very much for your help
Jun 17 '09 #1
Share this Question
Share on Google+
3 Replies

Expert Mod 15k+
P: 16,027
This information won't be available to you unless you have the required permissions, e.g. with or history.previous you will get a permission denied error. Why exactly do you need this info. anyway?
Jun 18 '09 #2

P: 107
i d like to put two pictures on page in stead of back button and forward button
for go to back page visited and go to forward visited
and i d like to identify wether exist forward page or back page visited

and another my question is :
do i remove toolbal from page where user visited (toolbar from window of browser user)
thanks very much for all your trouble
Jun 20 '09 #3

Expert Mod 5K+
P: 5,387
when you open a new window you might open it without the toolbar ... but you cannot/and shouldn't try to do that with the 'base' browser-window ... it is one of the most annoying things with webapps that try to change the users browsersettings like toolbars, size etc. .... the user has his own preferences and a webpage/-app shouldn't try to change that settings ...

that even goes for the typical browser behaviour ... why not use the provided functionality? ... buttons, address-bar etc. are there for a reason so just let the user work with them as he knows how to use it. providing custom interfaces for 'settled' behaviour of software and thinking of users is often bad practice and design ... so i would like to recommend to avoid such attempts ... but in case you really need to provide your own navigation buttons and so on ... then you need to open a new window with the method ...

kind regards
Jun 20 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.