19 พฤษภาคม 2555, 05:02:30
ยินดีต้อนรับผู้เยี่ยมชม
  • noavata
  • ยินดีต้อนรับคุณ, ผู้เยี่ยมชม กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน
    เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น
Page Rank

ทำเว็บไซต์ | แต่งบอร์ด | ออกแบบ | SMF | Joomla | Drupal | WordPress | JQuery | CMS | ECommerce | Tel. +668-08577477

ส่งหัวข้อนี้พิมพ์ หน้า: 1 
icon message ผู้เขียน หัวข้อ: คือว่า ผมจะทำงี้ยังไง html iframe target_new ช่วยหน่อยขอละ  (อ่าน 393 ครั้ง)
0 สมาชิก และ 1 ผู้เยี่ยมชม กำลังดูหัวข้อนี้
*



Thailand   ชาย ผู้เริ่มต้นกระทู้นี้ ออฟไลน์
www.busaba.tk

ตามรูปเลย ต้องแก้ที่ SSI หรือ iframe อะ


iframe ใน index.html ของผม
โค๊ด: [Select]
<iframe src="webboard/SSI_modify.php" frameborder="0" scrolling="no" allowtransparency="true"> </iframe>

ตัวที่เชื่อมต่ออะไม่รู้เรียกว่าไร
โค๊ด: [Select]
<?php require("C:\\AppServ\\www\\webboard\\SSI.php"); ?>

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

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>SSI.php example for home page</title>
  <style type="text/css">
   body {
font-family: Arial, Tahoma, sans-serif;
font-size: 80%;
color: #FFFFFF;
margin: 0;
width: 840px;
} #container #recent {
background-color: #999;
border-top-width: 20px;
border-top-style: solid;
border-top-color: #333;
color: #333;
}
#container #recent h3 {
color: #000;
}
ul,ol { padding-left: 19px; margin: 0; }

li { font-size: 11px; }

h1,h2,h3 { margin: 0; padding: 0; }

h3 { font-size: 15px; }

a:link,a:visited { color: #FF9000; text-decoration: none; }

a:hover {
text-decoration: underline;
}

#container {
width: 100%;
border: 2px solid #000;
line-height: 150%;
margin: 0;
}
#header,#footer {
color: #003;
clear: both;
padding: .5em;
background-color: #333;
}
#leftbar
{
float: right;
width: 160px;
margin: 0;
padding: 1em;
background-color: #0F0;
border-top-width: 20px;
border-top-color: #000;
border-top-style: solid;
color: #000;
border-right-width: 2px;
border-bottom-width: 2px;
border-left-width: 2px;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-right-color: #000;
border-bottom-color: #000;
border-left-color: #000;
}

#leftbar a { color: #000000; text-decoration: underline; }

#content {
padding: 1em;
color: #000;
background-color: #999;
border-top-width: 25px;
border-top-style: solid;
border-top-color: #666;
}

  #container #Onlineuser {
border-top-width: 20px;
border-top-style: solid;
border-top-color: #333;
background-color: #999;
color: #000;
}
#new {
text-align: center;
margin: auto;
}
#new #news {
background-color: #999;
border: 2px solid #000;
text-align: center;
margin-right: 200px;
margin-bottom: 30px;
margin-left: 200px;
font-family: Tahoma, Geneva, sans-serif;
font-size: 16px;
color: #000;
}
  a:link {
color: #000;
}
  a:visited {
color: #000;
}
  </style>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
 <body>
 <div id="new"><div id="news"><?php ssi_news(); ?><br /><br />  </div></div>
  
 <div id="container">
 <div id="header">
    <h1 class="header">.- แนะนำควรใช้ Chrome และ Firefox -.
    </h1>
 </div>
  
  <div id="leftbar">  <?php ssi_userinfo(); ?>
   <br /><br /> </div>
  
  
   <div id="content">
   <h2>News</h2>
<?php ssi_boardNews(); ?>
</div>
  <div id="recent">
 <h3>Recent Forum Topics</h3> <ul>
<?php ssi_recentTopics($num_recent 8$exclude_boards null$include_boards null$output_method 'echo'); ?>
  </div>
  <div id="Onlineuser">
   <h3>Online Users</h3> <?php ssi_logOnline(); ?> <br /><?php ssi_latestMember(); ?>
</div>
   <div id="footer">
    
   </div>
</div>
   </body>
   </html>










ลิงค์หัวข้อ: http://dexmore.com/topic/10688
« แก้ไขครั้งสุดท้าย: 14 มกราคม 2555, 16:53:31 โดย siriyot00 » Windows NT 6.1    Chrome 16.0.912.75   see ip บันทึกการเข้า
โฮสต์ดีๆ บริการด้วยใจ
*
*


!Personal

Germany   ชาย ออฟไลน์544566157 DexMore DexMore DexMore
เว็บไซต์
icon message
general ความคิดเห็นที่ 1 เมื่อ: 14 มกราคม 2555, 20:34:16
แก้ใน ssi ครับ

1. function ssi_boardNews
โค๊ด: [Select]
'link' => '<a href="' . $scripturl . '?topic=' . $row['ID_TOPIC'] . '.0">' . $row['numReplies'] . ' ' . ($row['numReplies'] == 1 ? $txt['smf_news_1'] : $txt['smf_news_2']) . '</a>',

2. function ssi_recentTopics
โค๊ด: [Select]
'link' => '<a href="' . $scripturl . '?board=' . $row['ID_BOARD'] . '.0">' . $row['bName'] . '</a>'

โค๊ด: [Select]
'link' => empty($row['ID_MEMBER']) ? $row['posterName'] : '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['posterName'] . '</a>'

โค๊ด: [Select]
'link' => '<a href="' . $scripturl . '?topic=' . $row['ID_TOPIC'] . '.msg' . $row['ID_MSG'] . '#new">' . $row['subject'] . '</a>',

ต้องการให้ส่วนใหนเปิดหน้าใหม่ก็ใส่ target="_blank" เข้าไป

ลิงค์หัวข้อ: http://dexmore.com/topic/10688
Windows XP    Firefox 9.0.1   see ip บันทึกการเข้า
ดูรายการสิ่งของสำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  สำหรับติดหมุดกระทู้ของคุณ!  เพิ่มเวลาที่อยู่ในระบบอีก 12 ชั่วโมง  น้องหมี..เอาไว้กอดนอนแทนกิ๊ก  สำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  
*



Thailand   ชาย ผู้เริ่มต้นกระทู้นี้ ออฟไลน์
icon message
general ความคิดเห็นที่ 2 เมื่อ: 14 มกราคม 2555, 22:33:36
ติดตรง ลิ้งหัว ข้อ ของ function ssi_boardNews
                                 ssi_recentTopics



ลิงค์หัวข้อ: http://dexmore.com/topic/10688
« แก้ไขครั้งสุดท้าย: 14 มกราคม 2555, 23:17:09 โดย siriyot00 » Windows NT 6.1    Chrome 16.0.912.75   see ip บันทึกการเข้า
โฮสต์ดีๆ บริการด้วยใจ
*



Thailand   ชาย ผู้เริ่มต้นกระทู้นี้ ออฟไลน์
icon message
general ความคิดเห็นที่ 3 เมื่อ: 16 มกราคม 2555, 00:19:08
ดันอ่าช่วยตอบที

ลิงค์หัวข้อ: http://dexmore.com/topic/10688
Windows NT 6.1    Chrome 16.0.912.75   see ip บันทึกการเข้า
โฮสต์ดีๆ บริการด้วยใจ
*
*


!Personal

Germany   ชาย ออฟไลน์544566157 DexMore DexMore DexMore
เว็บไซต์
icon message
general ความคิดเห็นที่ 4 เมื่อ: 17 มกราคม 2555, 20:15:27
ตอบไม่ถูกครับ ไม่รู้คุณถามอะไร

ลิงค์หัวข้อ: http://dexmore.com/topic/10688
Windows XP    Firefox 9.0.1   see ip บันทึกการเข้า
ดูรายการสิ่งของสำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  สำหรับติดหมุดกระทู้ของคุณ!  เพิ่มเวลาที่อยู่ในระบบอีก 12 ชั่วโมง  น้องหมี..เอาไว้กอดนอนแทนกิ๊ก  สำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  
*



Thailand   ชาย ผู้เริ่มต้นกระทู้นี้ ออฟไลน์
icon message
general ความคิดเห็นที่ 5 เมื่อ: 18 มกราคม 2555, 00:03:39
คือว่าตามหัวข้ออะ ใช้ target ไม่ได้อะดปลี่ยนแล้ว แต่ตรงที่ ความคิดเห็นแสดงความคิดเห็นมันใช้ target ตามที่บอกได้แล้ว

ลิงค์หัวข้อ: http://dexmore.com/topic/10688
Windows NT 6.1    Chrome 16.0.912.75   see ip บันทึกการเข้า
โฮสต์ดีๆ บริการด้วยใจ
*
*


!Personal

Germany   ชาย ออฟไลน์544566157 DexMore DexMore DexMore
เว็บไซต์
icon message
general ความคิดเห็นที่ 6 เมื่อ: 18 มกราคม 2555, 23:02:37
ก็ลองไล่ดูซิครับอะไรที่มี Tag A ก็ใส่ target เข้าไป ใส่ใน array ไม่ได้ก็ลองไปใส่ในเลย์เอาน์

ลิงค์หัวข้อ: http://dexmore.com/topic/10688
Windows XP    Firefox 9.0.1   see ip บันทึกการเข้า
ดูรายการสิ่งของสำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  สำหรับติดหมุดกระทู้ของคุณ!  เพิ่มเวลาที่อยู่ในระบบอีก 12 ชั่วโมง  น้องหมี..เอาไว้กอดนอนแทนกิ๊ก  สำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  
*



Thailand   ชาย ผู้เริ่มต้นกระทู้นี้ ออฟไลน์
icon message
general ความคิดเห็นที่ 7 เมื่อ: 27 มกราคม 2555, 20:25:28
ได้ละครับ โดยการใส่
โค๊ด: [Select]
<base target="_parent">
ไปใน ssi_modify.php  หรือไฟล์ที่เราสร้างขึ้นตรงที่ <head></head> อะครับ

ลิงค์หัวข้อ: http://dexmore.com/topic/10688
Windows NT 6.1    Chrome 16.0.912.77   see ip บันทึกการเข้า
โฮสต์ดีๆ บริการด้วยใจ
ส่งหัวข้อนี้พิมพ์ หน้า: 1 
กระโดดไป:  

Creative Commons License

SMF Thai Translation Powered by SMF © 2006–2012, Simple Machines LLC

WordPress Google เข้าเยี่ยมชมหน้านี้ล่าสุดเมื่อ : 15 พฤษภาคม 2555, 09:21:32

jQuery Plugin Copyright © 2551-2555 Themes Design & Hosting by DexMoreGroup

Sitemap | Thai Simple Machines Forum support SMF Thai

Web Begining | SMF Modifications | SMF Thai Translation Web Begining

Drupal | WordPress | CMS Joomla | jQuery Plugin | Web Graphics CMS Joomla