46 users online (0 members and 46 guests)  


  Results 1 to 2 of 2

Related

  1. IFrame in PHP?    Forum: PHP Forum
    Replies: 1
  2. iframe    Forum: HTML Forum
    Replies: 4
  3. Php and Iframe    Forum: PHP Forum
    Replies: 3
  4. iframe    Forum: HTML Forum
    Replies: 2
  5. IFRAME    Forum: HTML Forum
    Replies: 14
  1. #1
    Faith's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2011
    Posts
    1

    Angry Using IFrame in php

    I was using this IFrame and code to display "content" from my database for my WYSYWIF edit page but is now not working could it be because of the new versions of php...?

    <iframe id="iView_<? echo $wysiwyg_fieldname ?>" style="width: <? echo $iview_width ?>px; height:<? echo $iview_height ?>px" src="../frame.php?id=<? echo $id ?>&key_field=<? echo $key_field ?>&field=<? echo $wysiwyg_fieldname; ?>&table=<? echo $table ?>&<? echo $wysiwyg_i ?>"></iframe>

  2. #2
    carvermediagroup's Avatar
    New User

    Status
    Offline
    Join Date
    Mar 2013
    Posts
    2

    Re: Using IFrame in php

    ...

    content.find('iframe').each(function() {

    var iframe_source = $(this).attr('src');
    var iframe_wmode = "wmode=transparent";

    if ( iframe_source.indexOf('?') != -1 )
    {
    iframe_source = iframe_source.split('?');
    $(this).attr('src',iframe_source[0]+'?'+iframe_wmode+'&'+iframe_source[1]);
    }
    else
    {
    $(this).attr('src',iframe_source+'?'+iframe_wmode);
    }

    });

    ...



Tags for this Thread