Go to Url Behavior

message from Ariane on 25 Jul 2004
Hi,

my page has 3 frames, leftFrame, mainFrame and rightFrame. Different
"mainFrames" should "onLoad" load different pages in their rightFrame and
leftFrame.
But this behavior works just the first time the mainFrame has been loaded.
The secound time the mainFrame has been loaded, it doens't call the
requested left- and rightFrames.
this is the code:

<body
onLoad="MM_goToURL('parent.frames[\'leftFrame\']','../yFrame.htm','parent.fr
ames[\'rightFrame\']','../yFrame.htm');return document.MM_returnValue"
id="yellow">

What's the problem hier? Or maybe you know an alternative solution for this
problem,
many thanks in advance
 
Murray *TMM* replied to Ariane on 25 Jul 2004
That you have chosen to use frames?

The reason for using or not using frames should be based on a) your site's
needs, and b) your willingness to accept the potential problems that frames
can create for you as developer and maintainer of the site and for your
visitors as casual users of the site.

I am down on frames because I believe that they create many more problems
than they solve.
Judging from the posts here, and the kinds of problems that are described,
the kind of person most likely to elect to use frames is also the kind of
person most likely ill-prepared fo solve the ensuing problems when they
arise. If you feel a) that you understand the problems and b) that you are
prepared to handle them when they occur, and c) that you have a need to use
frames, then by all means use them.

As far as I know, the most comprehensive discussions of frames and their
potential problems can be found on these two links -

http://apptools.com/rants/framesevil.php
http://www.tjkdesign.com/resources/frames/

Your code should work as you desire. Can you show me the pages by posting a
URI?
 
Ariane replied to Murray *TMM* on 25 Jul 2004
Thanks for your answer Murray, I hate frames too. My problem is that I am
using lots of layers on my page on the mainFrame and they move by resizing
the window. Ofcourse I used once "Snap Layer by PVII", but it didn't work in
NS7 pretty, though I redesinged my page again and used Frames.Hope you
understand this problem.
The page will go online, as soon as this problem has been solved.

Thanks again
 
Murray *TMM* replied to Ariane on 25 Jul 2004
Layers don't move unless you have used them improperly or are MAKING them
move with some javascript. This is certainly not a good reason to subject
yourself and more importantly your visitors to the disadvantages of frames.

Sure it does. Show me what you have, please.
 
Ariane replied to Murray *TMM* on 25 Jul 2004
http://www.mansurshon.com

Will be really greatful for any suggesion, and thanks again.
 

Archived message: Go to Url Behavior (Macromedia Dreamweaver Web Design)