hey all. I'm new to scripting and need some major help please.
I'm trying to get a page in an inline frame to check its parent and load a stylesheet accordingly. eg:
the parent is a.htm and the page checking is b.htm so
b.htm checks a.htm to make sure its correct and loads b.css if it is.
I used the else if because there are quite a few pages and files to add so I needed it to be extendable.
I have started some code but can't get it to work.