Code อะไรครับที่มันเปิด หน้าต่างใหม่ได้ทั้งหน้าเลยโดยไม่ต้องใส่ target="_blank"

เริ่มโดย notepanya, 17 ตุลาคม 2009, 06:54:07

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

notepanya

คือผมหาแล้วก็ไม่เจอ ไม่รู้จะพอมีใครทราบไหมครับ แล้วถามอีกอย่างครับ คือว่าผมดึงหน้าโชว์เกมส์โดยใช้ iframe แต่พอคลิกใน iframe แล้วมันเปิดเว็บใหม่ในหน้าต่าง iframe เลย ผมต้องการให้มันเปิด หน้าต่างใหม่ เลยจะใช้ code อะไรหรอครับ นี้ครับตัวอย่าง http://www.noteptc.com ตรงส่วนเกมส์

code ระบบ

<table border="0" width="98%">
   <tbody>

<?
##
# AV ARCADE v3
# popular.php
# Loads the most popular games/media module
##
$colum=5;
$ii=0;
$sql = mysql_query("SELECT * FROM ava_games WHERE published=1 ORDER BY RAND() LIMIT 15");
while($row = mysql_fetch_array($sql))
{
$name = $row['name'];
if(ereg("^[a-zA-Z0-9' ':_]+$",$row['name'])){
if (strlen($row['name']) > 26) {
$name = substr($row['name'], 0, 26)."...";
}
}

   if($ii==0)echo '<tr width="47%">';

$abcd= $row['name'];
$abcd = str_replace (" ", "-", $abcd);

if ($seo_on == 0)
{
$url = 'index.php?task=view&id='.$row['id'].'';
}
else
{
$url = 'view/'.$row['id'].'/'.$abcd.'';
}
if ($row['import'] == 1) {
$image = '<img align="absmiddle" src="'.$site_url.'/games/images/'.$row['url'].'.png" style="border: 1px solid rgb(255, 255, 255);" width="80" height="80" alt="'.$row['name'].'" />';}
else if ($row['import'] == 3) {
$image = '<img align="absmiddle" src="'.$site_url.'/games/images/'.$row['image'].'" style="border: 1px solid rgb(255, 255, 255);" width="80" height="80" alt="'.$row['name'].'" />';}
else {
$image = '<img align="absmiddle" src="'.$row['image'].'" width="80" height="80" alt="'.$row['name'].'" />';}
echo '<td class="td3"  valign="top"  width="90" align="center" height="120">
<div align="center">
<a href="'.$site_url.'/'.$url.'">'.$image.'<br>'.$name .'</a></div></td>';
$ii++;
if($ii==$colum)$ii=0;

}
?>
  </tr>
</tbody>
</table>
[direct=http://xn--12c4bje1d8b7a6cyesa.blogspot.com]กลูตาไธโอน[/direct]
[direct=http://www.xn--c3cwjw5evbxa1ed6f.net]เซิฟเถื่อน[/direct]

GigBoT

[direct=https://pscclinic.com/breast-surgery/]ทำนม[/direct] - คลินิกเสริมหน้าอก PSC อันดับ 1 ของไทย
[direct=https://www.moveonmarketing.com/seo]รับทำ SEO สายขาว[/direct] |
[direct=https://www.cz.co.th/seo]รับทำ SEO[/direct]
[direct=https://www.nitithamclinic.com/laser-tattoo-removal-nitithamclinic/]ลบรอยสัก[/direct] - เลเซอร์ลบรอยสัก Pico Laser เห็นผลจริง มีรีวิวการันตี
[direct=https://www.ssdhosting.in.th/]WordPress Hosting[/direct] - โฮสติ้งคุณภาพ ที่ออกแบบมาเพื่อเว็บไซต์แบบ WordPress โดนเฉพาะ

notepanya

[direct=http://xn--12c4bje1d8b7a6cyesa.blogspot.com]กลูตาไธโอน[/direct]
[direct=http://www.xn--c3cwjw5evbxa1ed6f.net]เซิฟเถื่อน[/direct]

GigBoT

<a href="#" onclick="window.open('url,'game','height=500,width=400')">Link</a>


ลองประมาณนี้ดูได้มะครับ  :wanwan017:  -*-
[direct=https://pscclinic.com/breast-surgery/]ทำนม[/direct] - คลินิกเสริมหน้าอก PSC อันดับ 1 ของไทย
[direct=https://www.moveonmarketing.com/seo]รับทำ SEO สายขาว[/direct] |
[direct=https://www.cz.co.th/seo]รับทำ SEO[/direct]
[direct=https://www.nitithamclinic.com/laser-tattoo-removal-nitithamclinic/]ลบรอยสัก[/direct] - เลเซอร์ลบรอยสัก Pico Laser เห็นผลจริง มีรีวิวการันตี
[direct=https://www.ssdhosting.in.th/]WordPress Hosting[/direct] - โฮสติ้งคุณภาพ ที่ออกแบบมาเพื่อเว็บไซต์แบบ WordPress โดนเฉพาะ

notepanya

อ้างถึงจาก: GigBoT ใน 17 ตุลาคม 2009, 07:02:44
<a href="#" onclick="window.open('url,'game','height=500,width=400')">Link</a>


ลองประมาณนี้ดูได้มะครับ  :wanwan017:  -*-

ไม่รอดครับ ต้นเหตุมันอยุ่ที่ตัวสคริป มันอะครับ ที่ผมให้ดู code ระบบ  ผมไม่รู้จะไปจิ้มเพิ่ม target="_blank" ตรงไหนครับ งง :wanwan031:
[direct=http://xn--12c4bje1d8b7a6cyesa.blogspot.com]กลูตาไธโอน[/direct]
[direct=http://www.xn--c3cwjw5evbxa1ed6f.net]เซิฟเถื่อน[/direct]

mastergtx

ทำเว็บฝรั่ง

notepanya

อ้างถึงจาก: mastergtx ใน 17 ตุลาคม 2009, 07:18:28
<base target="_blank " />

เปิดหน้าต่างใหม่ทุกลิงก์

สุดยอดครับ แปะทีเดียวเอาอยู่เลย ขอบคุณมากๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆ :wanwan020:
[direct=http://xn--12c4bje1d8b7a6cyesa.blogspot.com]กลูตาไธโอน[/direct]
[direct=http://www.xn--c3cwjw5evbxa1ed6f.net]เซิฟเถื่อน[/direct]

notepanya

อ้างถึงจาก: notepanya ใน 17 ตุลาคม 2009, 07:20:05
อ้างถึงจาก: mastergtx ใน 17 ตุลาคม 2009, 07:18:28
<base target="_blank " />

เปิดหน้าต่างใหม่ทุกลิงก์

สุดยอดครับ แปะทีเดียวเอาอยู่เลย ขอบคุณมากๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆ :wanwan020:

เซงเลย  :wanwan023: IE มันไม่ได้อะครับ แต่ Firefox มันขึ้น
[direct=http://xn--12c4bje1d8b7a6cyesa.blogspot.com]กลูตาไธโอน[/direct]
[direct=http://www.xn--c3cwjw5evbxa1ed6f.net]เซิฟเถื่อน[/direct]

chui761

ลองใส่แถวนี้หรือยัง


<a href="'.$site_url.'/'.$url.'" target="_blank" />


บรรทัดท้ายๆ ของโค้ดที่ยกมา
[direct=http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=amazonnrr]เช่าโฮสเกเตอร์ Promotion ลด 50% click[/direct]|
Hostgator คูปอง Baby plan เดือนแรก 0.01$=TSBSAVE001 หลายเดือนลด 25%=TSBSAVE025 |[direct=http://www.amzhowto.com/websitemap/]สอน Clickbank Amazon CPA/Payday Viglink เช่าโฮสต์นอก จดโดเมนราคาถูก[/direct]
[direct=http://support.hostneverdie.com/aff.php?aff=156]เช่าโฮสต์ไทย hostneverdie[/direct]
[direct=http://hosterbox.com/billing/aff.php?aff=139]Hosterbox Host นอกราคาประหยัด คุณภาพดีไม่แพ้ gator[/direct]

notepanya

อ้างถึงจาก: chui761 ใน 17 ตุลาคม 2009, 07:57:15
ลองใส่แถวนี้หรือยัง


<a href="'.$site_url.'/'.$url.'" target="_blank" />


บรรทัดท้ายๆ ของโค้ดที่ยกมา


ขอบคุณมากครับ เปิดได้แล้ว  :wanwan020:
[direct=http://xn--12c4bje1d8b7a6cyesa.blogspot.com]กลูตาไธโอน[/direct]
[direct=http://www.xn--c3cwjw5evbxa1ed6f.net]เซิฟเถื่อน[/direct]

fan69

อ้างถึงจาก: notepanya ใน 17 ตุลาคม 2009, 08:01:32
อ้างถึงจาก: chui761 ใน 17 ตุลาคม 2009, 07:57:15
ลองใส่แถวนี้หรือยัง


<a href="'.$site_url.'/'.$url.'" target="_blank" />


บรรทัดท้ายๆ ของโค้ดที่ยกมา


ใส่ในส่วนไหนหรอครับ

ขอบคุณมากครับ เปิดได้แล้ว  :wanwan020: