i currently have been looking at the following:
if (window.top!=window.self) {
<link rel="stylesheet" href="http://www.website.com/content/themes/theme/style.css" type="text/css" />
} else {
<link rel="stylesheet" href="http://www.website.com/content/themes/theme/iframe.css" type="text/css" />
}
I want to add linked files, so when it loads on the website styles.css will load, and when in a frame it will load frame.css what am i doing wrong?