Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Dreamweaver (all versions)
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 30th, 2004, 03:05 AM
Authorized User
 
Join Date: Aug 2004
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default Use of backbutton with frames. Help needed.

Hello everyone.
I used frames to build up a site. I know, not the best way to do it, but it's on demand so I have no choice.
Here's the problem:

Some of the frames can change to a different content at the same time.
However, when you use the browser's backbutton, only one frame changes back to the original(previous) content.
This is logical, because only one frame's return value is kept in memory.
Still, there are scripts to resolve this.
Unfortunately, I haven't found one yet.

This is really important and time is pressing me, I sincerely hope that someone can help me out with this problem.

Kind regards,

Ruben.

 
Old August 30th, 2004, 02:57 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Maybe you could hide the browser's buttons and make some of your own...

<a href='javascript:top.history.back()'>back</a>

:-)

Snib

<><
 
Old August 31st, 2004, 02:56 AM
Authorized User
 
Join Date: Aug 2004
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Geez, thanks a lot for the tip.
But how exactly can I hide the browser's buttons?

Thanks a lot already.

Ruben.

 
Old August 31st, 2004, 02:18 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

You'll have to open a new window and close the current window:

window.open("newpage.php","newwin","toolbars=no");
window.opener = top; //IE only hack to prevent prompt message
window.close();

HTH,

Snib

<><
 
Old September 1st, 2004, 09:24 AM
Authorized User
 
Join Date: Aug 2004
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have an idea which I'd like to try out.
The only thing I need to do, is to find out when the backbutton has been clicked.

Does anybody know how you can know if the backbutton was clicked?
If I could somehow find this out, I think I know what to do.

So please, if anyone know how to know if the backbutton has been clicked, please let me know.
I'll try out the code and post it here too, should it work.

Thx on advance,
Ruben.

 
Old September 21st, 2004, 11:23 PM
Registered User
 
Join Date: Aug 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to rod_4nillos Send a message via Yahoo to rod_4nillos
Default

maybe you should consider using server-side scripts like ASP/ASP.NET, since you can access server variables like HTTPReferrer, etc.

Hello World!





Similar Threads
Thread Thread Starter Forum Replies Last Post
specify frames ethantinder HTML Code Clinic 1 April 24th, 2008 01:27 PM
Frames Simmy73 ASP.NET 2.0 Basics 1 May 26th, 2006 07:26 AM
frame vs backbutton Ruben@Adafi Dreamweaver (all versions) 0 August 20th, 2004 08:51 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.