佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 1069|回复: 10

请教各位大大

[复制链接]
发表于 2-6-2010 02:32 PM | 显示全部楼层 |阅读模式
我现在正在使用dreamweaver制作一个类似blog的网页,如果我要把一下这个chat room放进去,我需要把这些code放在哪里??


  1. <iframe width="100%" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" allowtransparency="true" src="
  2. http://chatroll.com/embed/chat/f95o?id=VAHDG07P2lW&platform=blogger&w=$0"></iframe><br/><div style="font-size:0.9em;text-align:center;"><a href="http://chatroll.com/">Blogger Chat</a></div>

复制代码
回复

使用道具 举报


ADVERTISEMENT

发表于 2-6-2010 02:53 PM | 显示全部楼层
放在你的网页里的<body> </body> tag 之间就可以了。
回复

使用道具 举报

 楼主| 发表于 2-6-2010 03:18 PM | 显示全部楼层
回复 2# xiaozhu70


   
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Sheung的個人網站</title>
  6. <script type="text/javascript" src="js/jquery.js"></script>
  7. <script type="text/javascript" src="js/interface.js"></script>

  8. <!--[if lt IE 7]>
  9. <style type="text/css">
  10. div, img { behavior: url(iepngfix.htc) }
  11. </style>
  12. <![endif]-->

  13. <link href="style.css" rel="stylesheet" type="text/css" />

  14. <style type="text/css">
  15. <!--
  16. body {
  17. margin-left: 0px;
  18. margin-top: 0px;
  19. margin-right: 0px;
  20. margin-bottom: 0px;
  21. background-image: url(2041538006083042177.jpg);
  22. background-repeat: repeat;
  23. text-align: left;
  24. }
  25. table {
  26. border-top-style: none;
  27. border-right-style: none;
  28. border-bottom-style: none;
  29. border-left-style: none;
  30. }
  31. table {
  32. border-top-style: none;
  33. border-right-style: none;
  34. border-bottom-style: none;
  35. border-left-style: none;
  36. border-top-width: thin;
  37. border-right-width: thin;
  38. border-bottom-width: thin;
  39. border-left-width: thin;
  40. text-align: center;
  41. }
  42. body table tr td p strong {
  43. color: #E1E1FF;
  44. font-size: 24px;
  45. font-weight: bold;
  46. }
  47. body table tr td {
  48. color: #D1D1D1;
  49. font-size: 18px;
  50. }
  51. body table tr td p {
  52. }
  53. #form1 {
  54. color: #F2F2F2;
  55. }
  56. #dock .dock-container div a img {
  57. color: #E8E8E8;
  58. }
  59. #dock .dock-container div a {
  60. color: #E9E9E9;
  61. }
  62. -->
  63. </style></head>

  64. <body bgcolor="#FFFFFF">
  65. <table width="745" height="990" border="1" align="center">
  66. <tr>
  67. <th height="47" colspan="2" valign="middle" scope="col"><div class="dock" id="dock">
  68. <div class="dock-container">
  69. <div align="left"><a href="Untitled-1.html"><img src="images/home.png" width="70" height="60" />Home</a> <a href="Untitled-2.html"><img src="images/rss.png" width="70" height="60" />Personal </a><a href="Untitled-3.html"><img src="images/portfolio.png" width="70" height="60" />Album</a> <a href="Untitled-3.html"><img src="images/link.png" width="70" height="60" />Chat</a> <a href="Untitled-4.html"><img src="images/video.png" width="70" height="60" />Video</a></div>
  70. </div>
  71. </div></th>
  72. </tr>
  73. <tr>
  74. <th width="214" height="282" scope="row"><img src="01062010755.jpg" width="214" height="278" /></th>
  75. <td width="515" rowspan="4" valign="top"><p align="center"> </p>
  76. <blockquote>  </blockquote></td>
  77. </tr>
  78. <tr>
  79. <th height="23" scope="row"><form id="form1" name="form1" method="post" action="">
  80. Sheung
  81. </form></th>
  82. </tr>
  83. <tr>
  84. <th height="50" scope="row"><embed src="10 - 自導自演.mp3" width="214" height="46" hidden="true" loop="true" align="right"></embed></th>
  85. </tr>
  86. <tr>
  87. <th height="571" scope="row"> </th>
  88. </tr>
  89. </table>
  90. <script type="text/javascript">

  91. $(document).ready(
  92. function()
  93. {
  94. $('#dock').Fisheye(
  95. {
  96. maxWidth: 50,
  97. items: 'a',
  98. itemsText: 'span',
  99. container: '.dock-container',
  100. itemWidth: 40,
  101. proximity: 90,
  102. halign : 'center'
  103. }
  104. )
  105. }
  106. );

  107. </script>
  108. </body>
  109. </html>
复制代码


请问我现在要放在哪里一行??
回复

使用道具 举报

发表于 2-6-2010 05:19 PM | 显示全部楼层
本帖最后由 雷洛 于 2-6-2010 05:23 PM 编辑

比如這些地方得後面
<td width="515" rowspan="4" valign="top"><p align="center">

其實你應該用dreamweaver得web designer來看. 先點你要的位子 , 然後再放會比較好(table本身是一種讓人很難看懂的東西)


如果你是問為身麼你放了看不到結果, 那可能是你因為你少了 </iframe>



  1. <iframe width="100%" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" allowtransparency="true" src="
  2. http://chatroll.com/embed/chat/f ... platform=blogger&w=$0"></iframe><br/><div style="font-size:0.9em;text-align:center;"><a href="http://chatroll.com/">Blogger Chat</a></div>

  3. </frame>
复制代码
回复

使用道具 举报

 楼主| 发表于 2-6-2010 05:49 PM | 显示全部楼层
谢谢您,可以了,可是当我测试时,它无法显示页面~~
回复

使用道具 举报

发表于 2-6-2010 08:36 PM | 显示全部楼层
回复 4# 雷洛


    </iframe> 已经出现过了,在<br/>前面。基本上LZ paste的code没有问题,刚才我在localhost测试时,发现http://chatroll.com load 得非常慢。或许你需要尝试refresh多次才可以。
回复

使用道具 举报

Follow Us
 楼主| 发表于 2-6-2010 11:23 PM | 显示全部楼层
已经refresh过很多次了,还是不行~~
回复

使用道具 举报

发表于 3-6-2010 07:57 AM | 显示全部楼层
本帖最后由 雷洛 于 3-6-2010 07:58 AM 编辑




我這邊測試看起來沒甚麼問題 ....
大概3-5秒內LOAD完.



line 83-87
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Sheung的個人網站</title>
  6. <script type="text/javascript" src="js/jquery.js"></script>
  7. <script type="text/javascript" src="js/interface.js"></script>

  8. <!--[if lt IE 7]>
  9. <style type="text/css">
  10. div, img { behavior: url(iepngfix.htc) }
  11. </style>
  12. <![endif]-->

  13. <link href="style.css" rel="stylesheet" type="text/css" />

  14. <style type="text/css">
  15. <!--
  16. body {
  17. margin-left: 0px;
  18. margin-top: 0px;
  19. margin-right: 0px;
  20. margin-bottom: 0px;
  21. background-image: url(2041538006083042177.jpg);
  22. background-repeat: repeat;
  23. text-align: left;
  24. }
  25. table {
  26. border-top-style: none;
  27. border-right-style: none;
  28. border-bottom-style: none;
  29. border-left-style: none;
  30. }
  31. table {
  32. border-top-style: none;
  33. border-right-style: none;
  34. border-bottom-style: none;
  35. border-left-style: none;
  36. border-top-width: thin;
  37. border-right-width: thin;
  38. border-bottom-width: thin;
  39. border-left-width: thin;
  40. text-align: center;
  41. }
  42. body table tr td p strong {
  43. color: #E1E1FF;
  44. font-size: 24px;
  45. font-weight: bold;
  46. }
  47. body table tr td {
  48. color: #D1D1D1;
  49. font-size: 18px;
  50. }
  51. body table tr td p {
  52. }
  53. #form1 {
  54. color: #F2F2F2;
  55. }
  56. #dock .dock-container div a img {
  57. color: #E8E8E8;
  58. }
  59. #dock .dock-container div a {
  60. color: #E9E9E9;
  61. }
  62. -->
  63. </style></head>

  64. <body bgcolor="#FFFFFF">
  65. <table width="745" height="990" border="1" align="center">
  66. <tr>
  67. <th height="47" colspan="2" valign="middle" scope="col"><div class="dock" id="dock">
  68. <div class="dock-container">
  69. <div align="left"><a href="Untitled-1.html"><img src="images/home.png" width="70" height="60" />Home</a> <a href="Untitled-2.html"><img src="images/rss.png" width="70" height="60" />Personal </a><a href="Untitled-3.html"><img src="images/portfolio.png" width="70" height="60" />Album</a> <a href="Untitled-3.html"><img src="images/link.png" width="70" height="60" />Chat</a> <a href="Untitled-4.html"><img src="images/video.png" width="70" height="60" />Video</a></div>
  70. </div>
  71. </div></th>
  72. </tr>
  73. <tr>
  74. <th width="214" height="282" scope="row"><img src="01062010755.jpg" width="214" height="278" /></th>
  75. <td width="515" rowspan="4" valign="top"><p align="center">

  76. <!-- here is the iframe -->

  77. <iframe width="100%" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" allowtransparency="true" src="
  78. http://chatroll.com/embed/chat/f95o?id=VAHDG07P2lW&platform=blogger&w=$0"></iframe><br/><div style="font-size:0.9em;text-align:center;"><a href="http://chatroll.com/">Blogger Chat</a></div>


  79. <!-- here is the iframe -->

  80. </p>
  81. <blockquote>&#160;&#160;</blockquote></td>
  82. </tr>
  83. <tr>
  84. <th height="23" scope="row"><form id="form1" name="form1" method="post" action="">
  85. Sheung
  86. </form></th>
  87. </tr>
  88. <tr>
  89. <th height="50" scope="row"><embed src="10 - 自導自演.mp3" width="214" height="46" hidden="true" loop="true" align="right"></embed></th>
  90. </tr>
  91. <tr>
  92. <th height="571" scope="row">


  93. </th>


  94. </tr>

  95. </table>
  96. <script type="text/javascript">

  97. $(document).ready(
  98. function()
  99. {
  100. $('#dock').Fisheye(
  101. {
  102. maxWidth: 50,
  103. items: 'a',
  104. itemsText: 'span',
  105. container: '.dock-container',
  106. itemWidth: 40,
  107. proximity: 90,
  108. halign : 'center'
  109. }
  110. )
  111. }
  112. );

  113. </script>




  114. </body>
  115. </html>
复制代码
回复

使用道具 举报


ADVERTISEMENT

发表于 3-6-2010 08:00 AM | 显示全部楼层
回复 6# xiaozhu70

paiseh ,沒看到...
回复

使用道具 举报

发表于 3-6-2010 08:13 AM | 显示全部楼层
如果是這個LOAD得慢 ,  可以考慮換成GOOGLE FRIEND CONNECT 得一個聊天工具,
功能差不多 ,也許這個LOAD得快點.
http://www.google.com/friendconn ... 9623605541658358466


以下是我個人的猜測 ,
javascript可能有些不合吧, 導致性能變差
我以前有個情況 ,  我裝了GOOGLE ANALYSIS,  然後因為jquery的ready 是說要全部讀取完才會跑其他的 , 可是GOOGLE ANALYSIS 是一值在跑的東西,  幾時等到他ready ?(當然還是有提升性能的方法, 不過我當時似乎讓2個Javascript糾結在一起)

我也是去其他的電腦論壇跑了跑 才知道.
也許你先將你的javascript 變成comment , 然後跑看看, 看看效果如何 ?
(個人猜測)
回复

使用道具 举报

 楼主| 发表于 3-6-2010 11:56 PM | 显示全部楼层
我现在已经插入了一个flash在这面页里,我要如何在它跑完后会直接跳去另一个面页??
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>歡迎來到Sheung的個人網站</title>
  6. <style type="text/css">
  7. <!--
  8. body {
  9.         background-color: #000;
  10. }
  11. body table tr {
  12.         color: #FFF;
  13. }
  14. -->
  15. </style></head>

  16. <body>
  17. <table width="200" border="0" align="center">
  18.   <tr>
  19.     <td>
  20.     <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="590" height="300" align="middle" id="FlashID">
  21.   <param name="movie" value="68flash590x300.swf" />
  22.   <param name="quality" value="high" />
  23.   <param name="wmode" value="opaque" />
  24.   <param name="swfversion" value="8.0.35.0" />
  25.   <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
  26.   <param name="expressinstall" value="Scripts/expressInstall.swf" />
  27.   <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
  28.   <!--[if !IE]>-->
  29.   <object data="68flash590x300.swf" type="application/x-shockwave-flash" width="590" height="300" align="middle">
  30.     <!--<![endif]-->
  31.     <param name="quality" value="high" />
  32.     <param name="wmode" value="opaque" />
  33.     <param name="swfversion" value="8.0.35.0" />
  34.     <param name="expressinstall" value="Scripts/expressInstall.swf" />
  35.     <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
  36.     <div>
  37.       <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
  38.       <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
  39.     </div>
  40.     <!--[if !IE]>-->
  41.   </object>
  42.   <!--<![endif]-->
  43. </object>
  44. <script type="text/javascript">
  45. <!--
  46. swfobject.registerObject("FlashID");
  47. //-->
  48. </script>
  49.     </td>
  50.   </tr>
  51. </table>
  52. </body>
  53. </html>
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 24-11-2025 12:40 AM , Processed in 0.160969 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表