Menu
I have a menu page that loads into the iframe of my content pages.
Some content pages use different stylesheets and i want the menu to load the same stylesheet.
I know i can do it by writing the menu in with javascript, but that makes the code badly readable.
I’d like to know how to tell the framed menu to read from the main documents document-object, where the styleSheet.href property resides?
something like
document.styleSheets[0].href = top.document.styleSheets[0].href
does not work
any help would be appriciated