SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2008
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs down Thickbox not working with sIFR

    I am trying to get sIFR to work with a Thickbox iframe, but nothing shows up. I have added an h1 tag next to the <div id='TB_title'> in the thickbox.js file, but all that I get is blank.

    I am using the version 3.1. of thickbox and sifr 323 (had to use it for issues that I was having with certain browsers). When I add the sifr to the page loaded in the iframe, everything is fine but as soon as I add it as part of the
    $("#TB_window").append top div, then nothing shows up.

    Has anyone had the same problem?

  2. #2
    I meant that to happen silver trophybronze trophy Raffles's Avatar
    Join Date
    Sep 2005
    Location
    Tanzania
    Posts
    4,662
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    sIFR's javascript has to be referenced as a <script> element in the HTML document that is inside the iframe. If you put the <script> element for sIFR in the same document as Thickbox's <script> element it isn't going to work.

  3. #3
    SitePoint Enthusiast
    Join Date
    Mar 2008
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey thanks for replying! I added the SIFR to the html loaded in the Frame in the end. I'm actually having quite a few problems (as always) with SIFR as a result of the cross compatibility issues and lack of documentation out there, but I'll post the relevant question in another forum.


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
  •