#1 (permalink)  
Old 03-19-2005, 11:12 AM
Registered User
 
Join Date: Mar 2005
Posts: 1
Complicated iframe targetting problem...

Hi there,

I'm currently putting together a new site and I want a three-tier navigation system. I used to do have something similar using frames which worked very nicely and was easy to navigate / maintain etc. I am just learning iframes as I think you can achieve nicer looking results with them. My unfinished site is currently at

http://www.acitizenabovesuspicion.co.uk/dev

I want each of the main navigation strip buttons 'News', 'Music', etc to change both the navigation iframe (small grey one on the left) and the main content iframe - so that you get a relevant submenu displayed in the nav iframe and the first page of relevant content in the main iframe. As you will see, I can get the two iframes to change from the nav strip simulatneously ('News' is the only button working at the moment) using JS.

However this seems to screw up the rest of the targeting in that the links that come up in the nav iframe are supposed to change the page that's displayed in the main content iframe. Instead the target pages open in the navigation iframe.

I have named the iframes and have target='iframename' set up for each iframe and in the links I'm trying to get to open but it still doesn't seem to work.

I would really appreciate any pointers at all! Thanks very much
Paul
Reply With Quote

  #2 (permalink)  
Old 03-21-2005, 06:34 PM
Leprakawn's Avatar
Moderator
 
Join Date: Jan 2004
Location: Outside, and playing with your invisible friends.
Posts: 1,130
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
I don't think that second nav menu is really necessary. But the only way I can think for that to work is to ditch the iframes and put all the content on separate pages. I'm sure there's some JS out there somewhere that can accomplish your goal though. Maybe Flash, too?

Oh, and just a suggestion after glancing at your code: take a look at XHTML because most of your coding won't work down the road.

http://www.w3.org/TR/xhtml1/

__________________
Like my spiffy, unique signature?
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Code:
         ...,,.,.,.
        /          \
__oooo__[///]--[\\\]__oooo__
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -5. The time now is 04:24 PM.

 
Bitrix
Clicky Web Analytics
CloudContacts
Maxtango


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
© 1997-2007 HTMLCenter