CyberD.org
C:\ Home » Code » An iFrame Con = Not A Con

An iFrame Con = Not A Con

If you have a navigation frame loading different pages into a "main frame," it is hard to create a navigation bar that tells users which page they are on (because the other frame loads the new page without telling the navigation bar).

But it's not, is it? Isn't the active attribute of CSS perfectly suited for such a navigation bar? After you click it, and the new page loads, it will stay highlighted, just as a normal menu should. Only you won't need to use a server-side scripting language such as PHP just to learn which page the user is on so you can highlight that one page. It'll actually save a lot of bandwidth in not needing to reload the menu or process scripts on every page to check which page it is. Just saying...

Comments

Keep track of the discussion via rss? Read about comment etiquette? Or type in something below!
This was pretty damn interesting. And yet, nobody's spoken! Be the first!


The Comment Form

Your email address will not be published. Required fields are marked *

Your email is saved only to approve your future comments automatically (assuming you really are a human). ;) It's not visible or shared with anyone. You can read about how we handle your info here.

Question   Smile  Sad   Redface  Biggrin  Surprised   Eek  Confused  Beardguy  Baka  Cool  Mad   Twisted  Rolleyes   Wink  Coin

Privacy   Copyright   Sitemap   Statistics   RSS Feed   Valid XHTML   Valid CSS   Standards

© CyberD.org 2024
Keeping the world since 2004.