iteye_1593 2012-09-13 14:14
浏览 296
已采纳

iframe里的链接跳转问题!

在主页原窗口打开,iframe里的链接怎么跳转到主页,问题是现在跳转都是在iframe框里,无法跳转到主页,请大家看看问题出哪儿了,谢谢!

主页

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



无标题文档 a{ text-decoration:none;color:#fff;} a:hover{ text-decoration:none;color:red;} .nuv{float:left;width:200px;height:400px;} .nuv ul{margin:0;padding:0; list-style:none;} .nuv ul li{float:left; display:block;margin:3px;width:200px;height:30px; line-height:30px; text-align:center; background: #999;} .rightcontent{float:left;width:400px;height:400px; background:#666699;margin:0 0 0 15px;}


子页

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



无标题文档 a{ text-decoration:none;color:#fff;} a:hover{ text-decoration:none;color:red;} .rightcontent{float:left;width:400px;height:400px; background:#666699;margin:0 0 0 15px;}


  • 写回答

1条回答 默认 最新

  • jinnianshilongnian 2012-09-13 14:30
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 谁有desed数据集呀
  • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
  • ¥15 关于#hadoop#的问题
  • ¥15 (标签-Python|关键词-socket)
  • ¥15 keil里为什么main.c定义的函数在it.c调用不了
  • ¥50 切换TabTip键盘的输入法
  • ¥15 可否在不同线程中调用封装数据库操作的类
  • ¥15 微带串馈天线阵列每个阵元宽度计算
  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏