Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9298281
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T22:17:04+00:00 2026-06-18T22:17:04+00:00

i have this iFrame – <iframe src=http://mp3yoyo.com/ads.php scrolling=no width=500 height=80 frameborder=0></iframe> but when i

  • 0

i have this iFrame –

<iframe src="http://mp3yoyo.com/ads.php" scrolling="no" width="500" height="80" frameborder="0"></iframe>

but when i click on link of any ads then it open in same window.

I want to open all links of iFrame in new window.

I have already try by adding target="_blank" and <base target="_blank" /> but i am not opening link in new window so please help me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T22:17:05+00:00Added an answer on June 18, 2026 at 10:17 pm

    This might help:
    http://www.webhostingtalk.com/showthread.php?t=678138

    In general, you should be telling the links to open in new windows (in the anchor tag). You can control the action of the anchor tag in css, but I don’t think iFrames support css like divs do (as iFrame isn’t really part of CSS 3 to my knowledge).

    If you use div instead of iFrame, according to CSS 3.0, you can give the div a class or an id and then control the anchor tag in the css, like so:

    <div id="myDiv>
      <a href="whatever.html">stuff</a>
    </div>
    

    and then in your CSS file:

    #myDiv a{
     target-name:new;
     target-new:tab;
    }
    

    I don’t think this is actually supported yet, however; so this is largely theoretical.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've used this code to have a like btn on my site: <iframe src=http://www.facebook.com/plugins/like.php?href=URL_OF_YOUR_WEBSITE&amp;send=false&amp;layout=standard&amp;width=450&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font&amp;height=80&amp
I have multiple pages that have this pattern: <iframe frameborder =0 src=[someURL] width=100% height=900>
I have this piece of HTML: <div class=embed> <iframe width=300 height=200 frameborder=0 allowfullscreen= src=http://www.youtube.com/embed/123456></iframe>
I have this youtube code: <iframe width=970 height=582 src=EMBED CODE FROM YOUTUBE frameborder=0 allowfullscreen></iframe>
So I have this code: <iframe id=theFrame src=http://localhost style=width:100%; frameborder=0> </iframe> and the localhost
I have this table: <table id=social border=5> <tr> <td> <iframe src=//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fyannbane.blogspot.com%2F&amp;send=false&amp;layout=button_count&amp;width=100&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21&amp;appId=177127339057410 scrolling=no frameborder=0 style=border:none;
I have this iFrame in my parent window... <iFrame src=http://theirdomain.com id=Post_iFrame></iFrame> Then I have
So basically I have something like this <div class=iframe-holder> <span></span> <iframe src=iframe.html width=200 height=200
I have this: <iframe src=http://999.999.99.99/reporting/report.php?rid=2&gid=6&ftid=0&fid=1000&gty=1&ltid=1&lid=1000&mode=7&width=220&sid=0&cc=666666,ffa401> I tried split() in getting the value between rid=
I have this iframe in use: <iframe src=includes/captcha/display_captcha.php id=captcha scrolling=no marginheight=0></iframe> Validation fails on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.