Results 1 to 2 of 2

Thread: Loading external css into an iframe

  1. #1
    Join Date
    Jan 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post Loading external css into an iframe

    Script: Dynamic Ajax Content
    http://www.dynamicdrive.com/dynamici...jaxcontent.htm


    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
    Last edited by hilmar; 01-05-2006 at 12:36 AM. Reason: Adding link to the script

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,933
    Thanks
    43
    Thanked 3,192 Times in 3,155 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •