www.webdeveloper.com
Results 1 to 6 of 6

Thread: [RESOLVED] iframe problem

Threaded View

  1. #1
    Join Date
    Jun 2012
    Posts
    48

    resolved [RESOLVED] iframe problem

    Hello all,

    I have a weird problem. I hope somebody can help me here.

    This code works in FF - Chrome - Opera - Safari but not in IE 9 and IE 10
    Code:
    <?php
    $_SESSION['url'] = "http://www.domainname.com/404.php";
    $taal = (substr($lang, 0, 2));
    ?>
    
    <iframe src="<?php echo $_SESSION['url'] ?>?taal=<?php echo $taal ?>" name="inline_frame" id="inline_frame" 
    width="100%" height="100%" frameborder="0" marginwidth="0" scrolling="no" allowTransparency="true" >
    This code works in IE 9 and IE 10 but not in FF - Chrome - Opera - Safari
    Code:
    <iframe src="http://www.domainname.com/404.php?taal=<?php echo(substr($lang, 0, 2))?>" name="inline_frame" id="inline_frame" 
    width="100%" height="100%" frameborder="0" marginwidth="0" scrolling="no" allowtransparency="true" >
    Is there a way to make it work in all browsers with only one code ?

    Thanks in advance
    Last edited by coderunner; 12-01-2013 at 09:26 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles