Forums

This topic is locked

iframe nav

Posted 15 Sep 2006 07:06:44
1
has voted
15 Sep 2006 07:06:44 darren b posted:
Hello friends,

I am using pure css based navigation and utilizing the body class to show the current/acitve link.
But have since decided to use an Iframe for the nav (many navs 1 template) and do not know how to show an "active" link in this setup.

It would be great to have the iframe's "body class" use the same "body class" as its parent but have had no luck finding a way to do this.
Or, be able to control certain element's ids and classes within the iframe source html via css. ie: body.home iframe#nav ul a {background-color: #FFFFFF;}

I would normally use a server side include but this project is for CDROM. Is there any other way to do this?

Many thanks in advance
Cylon

Edited by - cylon on 15 Sep 2006 07:08:53

Reply to this topic