Results 1 to 3 of 3

Thread: Having problem with DHTML Iframe

  1. #1
    Join Date
    Mar 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs down Having problem with DHTML Iframe

    Hi Guys,

    I am having problem in using Iframe stuff.
    My webpage already contains few Iframes and I am not able to use the Iframe content Type in my page.
    Could someone let me know how can I get over this problem?

    I am using below code snippet to open dhtml window on page load.
    var googlewin=dhtmlwindow.open("googlebox", "iframe", "http://images.google.com/", "#1: Google Web site", "width=590px,height=350px,resize=1,scrolling=1,center=1", "recal")
    I am not able figure out what the real issue is.

    Thanks
    Krishna

  2. #2
    Join Date
    May 2006
    Location
    Alaska
    Posts
    163
    Thanks
    5
    Thanked 2 Times in 2 Posts

    Default

    What's dhtmlwindow? More code would be helpful.

  3. #3
    Join Date
    Mar 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    <link rel="stylesheet" href=modal.css' type='text/css' />
    <link rel="stylesheet" href=dhtmlwindow.css' type='text/css' />
    <script type='text/javascript' src='dhtmlwindow.js'></script>
    <script type='text/javascript' src='modal.js'></script>
    I am using the same javascript code given in this website.
    Problem is I am trying to open dow within another IFRAME. So the screen is getting painted on the same window instead of opening a new window.
    If you check dhtmlwindow.js given in this website, they are trying to create a new Iframe to open the new window. If Iframe already exists then the new window will be painted on the same page.

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
  •