Results 1 to 2 of 2

Thread: iFrame+Tab issue

  1. #1
    Join Date
    Nov 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default iFrame+Tab issue

    I was trying to dynamically generate iFrame. There are 3 href and when
    you click on the first href, iFrame is populated in new Tab. And i
    made respective changes to href i opened. Now i tried to open 2nd
    href, and suprisingly the first href is also reloaded with the second
    one.

    Could anybody help me out in this issue,

    document.getElementById("tabContent").innerHTML += "<div id =
    'frmContainer" + tabCounter + "'><iframe onload = " + frameOnload + "
    name = 'frame" + tabCounter + "' src = '" + this.url + "' width =
    '100%' height = '2000' scrolling = 'no'></iframe></div>" ;

    Thanks,
    Chaitanya

  2. #2
    Join Date
    Jul 2006
    Posts
    497
    Thanks
    8
    Thanked 70 Times in 70 Posts

    Default

    You haven't provided sufficient info for us to help you. Please link to your page which exhibits the problem.
    -- Chris
    informal JavaScript student of Douglas Crockford
    I like wikis - a lot.

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
  •