开发者

I can't believe I'm working with frames (facebook)

开发者 https://www.devze.com 2023-03-22 13:06 出处:网络
I haven\'t dealt with this since the mid 90\'s. <a href=\"http://www.google.com\" class=\"learnmorebutton\">learn more</a>

I haven't dealt with this since the mid 90's.

 <a href="http://www.google.com" class="learnmorebutton">learn more</a> 

When I click a link to say http://www.google.com, facebook renders google in the frame开发者_Go百科. I don't want this. I want the link to take me to google and out of facebook.com.

See the image to see the problem:

I can't believe I'm working with frames (facebook)


Try:

<a target="_top" href="...">Link</a>


you must put an attribute to the tag a: target="_top" or if you want to open in new window: target="_blank"

0

精彩评论

暂无评论...
验证码 换一张
取 消