Forum Moderators: open

Message Too Old, No Replies

Jump Menu Displaying Content in Frames

Jump Menu Displaying Content in Frames

         

anubis

11:08 am on Sep 23, 2002 (gmt 0)

10+ Year Member



Hi

I have a jump menu created in dreamweaver, this contains links to every page in the site.
Now I have had to alter the site I am working on due to the client wants the scroll bar to be closer to the content of the page so I have added an extra frame set.

Before the changes my site had a frameset in the following configuration.

Navigation
Content
Footer

My code for the jump menu when my site consisted of this frame set configuration is below:

<select name="select" onChange="MM_jumpMenu('parent.frames[\'content\']',this,0); this.selectedIndex=0;">

This work fine but now my frameset consists of the following set up.

Navigation

Content (This frame now pulls in a new frameset configured in the following way as vertical layout: Blank, Content2, Blank2).

Footer

I need to alter the above code to get the Jump Menu to load the pages in Content2.
I have try a few obvious combinations but there have not worked.
Any ideas would be appreciated.

Cheers

Anubis

BlobFisk

1:52 pm on Sep 23, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Putting in content2 (instead of content) should work... as long as the frame name is content2...

anubis

2:31 pm on Sep 23, 2002 (gmt 0)

10+ Year Member



Tried this and it does not work!

:-(

anubis

BlobFisk

2:49 pm on Sep 23, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hmmmm, strange! Have you tried parent.content.frames[\'content2\']?

tedster

2:55 pm on Sep 23, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Content (This frame now pulls in a new frameset configured in the following way as vertical layout: Blank, Content2, Blank2).

I'm thinking about whether:

1. you defined the new frameset configuration by re-writing the original frameset.html page to include the new nested frameset in the same document

-or -

2. you changed the previous content.html to create a second frameset page which is called from the original, unchanged frameset page

I'm not completely clear without testing it, but I think you might need scenario #1 for BlobFisk's original code idea to work.

anubis

3:55 pm on Sep 23, 2002 (gmt 0)

10+ Year Member



ah yes

I had changed the previous content.html to create a second frameset page which is called from the original, unchanged frameset page. When I went in and changed the original frame set to how I wanted it every thing is ok.

Some times you just can not see the wood for the trees :-)

cheers guys

anubis

[edited by: tedster at 4:31 pm (utc) on Sep. 23, 2002]
[edit reason] added a period to help reading [/edit]