Wie zu öffnen iframe-link in neuem tab oder Fenster

Ich bin mit einigen iframe-tags in meinem html-Seite wie unten dargestellt:

   <TABLE border="0" width="900">
    <tr valign="top">
    <td width="300" ALIGN=center>
                  <iframe src='http://www.apple.com/in/'  frameborder = 0, height=250, width = 300  > </iframe><br>

    </div>
       </td>

    <td width="300" ALIGN=center>
            <div class="item_list">
            <iframe src = 'http://www.flipkart.com/affiliate/displayWidget?affrid=WRID-137232779171598318'  frameborder = 0, height=250, width = 300 base target="_blank"  > </iframe></a><br>
            </div>
      </td>
      <td width="300" ALIGN=center>
            <div class="item_list">
            <iframe src = 'http://www.flipkart.com/affiliate/displayWidget?affrid=WRID-  137232785207215857' frameborder = 0, height=250, width = 300 > </iframe>
      <br></div>
    </td>
    </tr>
     </TABLE>

Nun, was ich brauche , ist zu öffnen Sie den link, der ist innen in iframe neuem Fenster oder tab. Ich habe folgenden Skript in Bezug auf diese, aber kein Glück.

   <SCRIPT LANGUAGE="JavaScript">

   function goNewWin() {

    //***Get what is below onto one line***

    window.open("backbuttonnewpage.html",'TheNewpop','toolbar=1,
   location=1,directories=1,status=1,menubar=1,
    scrollbars=1,resizable=1'); 

   //***Get what is above onto one line*** 

   self.close()

      }

   </SCRIPT>   

kann mir jemand empfehlen einen Lösungsvorschlag?

  • versuchen Elternteil.Fenster.open("backbuttonnewpage.html",'TheNewpop','toolbar=1, location=1,directories=1,status=1,menubar=1, scrollbars=1,resizable=1');
  • es funktioniert nicht jede andere alternative
  • Überprüfen Sie [hier][1] - Lösung, hoffe es hilft [1]: stackoverflow.com/questions/4583792/...
InformationsquelleAutor puneetjava | 2013-09-25
Schreibe einen Kommentar