I have link and when user clicks on link in index page it will be opened new window. How to go on index page when user clicks on logo image in this new window?
@go2dougJan 05.2006 — #I have link and when user clicks on link in index page it will be opened new window. How to go on index page when user clicks on logo image in this new window?[/QUOTE]
Greetings comrade, you must link logo image to index page. Look at example:
@WebJoelJan 14.2006 — #If the new page opens in a new window, merely create a link in this now page to include (either text and/or image), and add this:
[CODE]onclick="history.go(-1)"[/CODE]
So it would maybe look like
[CODE]<a href="_target"><img src="images/goback.gif" onclick="history.go(-1)" /></a>[/CODE] The image "goback.gif" could be an arrow or pointer, etc., suggesting navigation backwards.
I think that this might work (I haven't tried it myself), -try it and see.
The user's browser does the work. It should take you back to the last viewed page, no matter what the 'previously-viewed page' was... (This assumes that the user has javascript ability turned on).