View Full Version : Loading external css into an iframe

01-05-2006, 01:29 AM
Script: Dynamic Ajax Content

In the DD-script "Dynamic Ajax Content" you can load external pages, javascripts and CSS into a DIV. It looks great, but I wonder if it's possible to load a CSS into an iframe using a modified version of this script. I need to use iframe because of internal linking between the "external pages" (and of Mac-functionality reasons), but I still would like to apply the stylesheet from the page containing the iframe. Is this possible???

Alternatively - is it possible to make the pages loaded into an iframe retrive the same stylesheet as the page containing the iframe?

Regards, Hilmar

01-05-2006, 06:57 AM
If the page showing in your iframe is from the same domain, you could just link the the style sheet to it in the normal fashion.