PDA

View Full Version : A back button



jmruas
06-05-2009, 07:59 AM
1) Script Title: DHTML Window widget (v1.1)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ndow

3) Describe problem: I use this wonderful script in a toolbar. When users open a window, the toolbar don't let use back key to go into the previous page. I think it can be solved with a button, like the window close button. As the window has no navigation buttons, this would be fine.

Can you give me an hand, please?

Thank you.

Josť

ddadmin
06-05-2009, 05:27 PM
If you're using the IFRAME mode to open pages inside the DHTML window, you could simply use a little JavaScript inside those pages to allow the user to go back to the previous page, something like:


<a href="javascript:history.go(-1)">Go back 1 page1</a>