คือไปดาวน์โหลด script lightbox มาจะเอามาใส่ใน shopping cart php
เวลาใช้ก็ เพิ่มคำสั่ง rel='lightbox' ที่ลิงค์
<a href=\"viewpic.php?category_type=$category_type&product_id=$product_id\" rel=\"lightbox\">
แต่พอคลิกที่รูปมันจะระบายสีจาง ๆ ที่หน้าเดิม แต่ไม่เปิดรูปใหญ่ให้
ต้องแก้ยังไงช่วยบอกวิธีให้หน่อย
ภาษาไทย สำหรับ phpBB เวอร์ชั่นล่าุด คือ 3.2.2
มาแล้วโหลดได้เลย
มาแล้วโหลดได้เลย
ช่วยหน่อยเกี่ยวกับ lightbox
โหลด มาจากไหน ง่ะครับ
lightbox นี่มันต้องใช้ javascript ไม่ใช่หรือครับ
lightbox นี่มันต้องใช้ javascript ไม่ใช่หรือครับ
สร้างไฟล์ pdf online
ท่องเที่ยว http://www.thailandhotelforums.com/" onclick="window.open(this.href);return false;
สอน php http://www.mindphp.com/" onclick="window.open(this.href);return false;
ท่องเที่ยว http://www.thailandhotelforums.com/" onclick="window.open(this.href);return false;
สอน php http://www.mindphp.com/" onclick="window.open(this.href);return false;
โหลดจาก http://www.huddletogether.com/projects/lightbox2/ ใส่แล้วมันไม่ขึ้นรูปใหญ่อ่ะ
ลองเช็ค ดู ว่าoutput ที่ออกมา ถูกต้อง ตามที่คู่ มือเค้าแนะนำมาหรือเปล่า
สร้างไฟล์ pdf online
ท่องเที่ยว http://www.thailandhotelforums.com/" onclick="window.open(this.href);return false;
สอน php http://www.mindphp.com/" onclick="window.open(this.href);return false;
ท่องเที่ยว http://www.thailandhotelforums.com/" onclick="window.open(this.href);return false;
สอน php http://www.mindphp.com/" onclick="window.open(this.href);return false;
งง ตรงไหนครับ
คู่มือ ตัวอย่าง ที่หน้าเว็บ เค้าบอกไว้อย่างละเอียด แล้วนี่คับ
Lightbox v2.0 uses the Prototype Framework and Scriptaculous Effects Library. You will need to include these three Javascript files in your header.
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
Include the Lightbox CSS file (or append your active stylesheet with the Lightbox styles).
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
Check the CSS and make sure the referenced prevlabel.gif and nextlabel.gif files are in the right location. Also, make sure the loading.gif and closelabel.gif files as referenced near the top of the lightbox.js file are in the right location.
Part 2 - Activate
Add a rel="lightbox" attribute to any link tag to activate the lightbox. For example:
<a href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>
Optional: Use the title attribute if you want to show a caption.
If you have a set of related images that you would like to group, follow step one but additionally include a group name between square brackets in the rel attribute. For example:
<a href="images/image-1.jpg" rel="lightbox[roadtrip]">image #1</a>
<a href="images/image-2.jpg" rel="lightbox[roadtrip]">image #2</a>
<a href="images/image-3.jpg" rel="lightbox[roadtrip]">image #3</a>
No limits to the number of image sets per page or how many images are allowed in each set. Go nuts!
คู่มือ ตัวอย่าง ที่หน้าเว็บ เค้าบอกไว้อย่างละเอียด แล้วนี่คับ
Lightbox v2.0 uses the Prototype Framework and Scriptaculous Effects Library. You will need to include these three Javascript files in your header.
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
Include the Lightbox CSS file (or append your active stylesheet with the Lightbox styles).
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
Check the CSS and make sure the referenced prevlabel.gif and nextlabel.gif files are in the right location. Also, make sure the loading.gif and closelabel.gif files as referenced near the top of the lightbox.js file are in the right location.
Part 2 - Activate
Add a rel="lightbox" attribute to any link tag to activate the lightbox. For example:
<a href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>
Optional: Use the title attribute if you want to show a caption.
If you have a set of related images that you would like to group, follow step one but additionally include a group name between square brackets in the rel attribute. For example:
<a href="images/image-1.jpg" rel="lightbox[roadtrip]">image #1</a>
<a href="images/image-2.jpg" rel="lightbox[roadtrip]">image #2</a>
<a href="images/image-3.jpg" rel="lightbox[roadtrip]">image #3</a>
No limits to the number of image sets per page or how many images are allowed in each set. Go nuts!
สร้างไฟล์ pdf online
ท่องเที่ยว http://www.thailandhotelforums.com/" onclick="window.open(this.href);return false;
สอน php http://www.mindphp.com/" onclick="window.open(this.href);return false;
ท่องเที่ยว http://www.thailandhotelforums.com/" onclick="window.open(this.href);return false;
สอน php http://www.mindphp.com/" onclick="window.open(this.href);return false;
-
- phpBBThailand Newbie
- โพสต์: 1
- ลงทะเบียนเมื่อ: 01 ม.ค. 1970, 07:00
- ที่อยู่: เธเธเธก
- ติดต่อ:
Re: ช่วยหน่อยเกี่ยวกับ lightbox
อยากทราบว่า ถ้าจะปรับให้ ปุ่ม CLOSE อยู่ด้านบนทำไงครับ ใครรู้
ช่วยตอบหน่อยครับ
ช่วยตอบหน่อยครับ
- แนบไฟล์
-
- 26-1-2552 15-36-46.png (7.09 KiB) เปิดดู 11326 ครั้ง
Re: ช่วยหน่อยเกี่ยวกับ lightbox2.04
ขอรวบกวนด้วยนะครับ ผมลองลงกับ phpbb3 มันไม่แสดงผลนะครับ ไม่รู้ว่าเอาไฟล์ไปไว้ที่ไหนบ้าง จึงอยากขอเป็นขั้นตอนได้เลยได้ครับ นั่งงม มาทั้งวันแล้วนะครับ
- แนบไฟล์
-
- lightbox2.04.zip
- (95.33 KiB) ดาวน์โหลด 371 ครั้ง
คุณกล้าที่จะเปลี่ยนแปลง กล้าที่จะแตกต่าง นั่นคือตัวคุณ
Re: ช่วยหน่อยเกี่ยวกับ lightbox
http://www.mindphp.com/forums/viewtopic.php?f=21&t=6466" onclick="window.open(this.href);return false;
โหลด phpBB3 ภาษาไทย ทั้งหน้าเว็บ และ admin
รวมพลคนใช้ phpBB3 แนะนำคนอื่นบ้างนะครับ ทุกคำถามจะได้มีคำตอบ แนะนำคนอื่นๆบ้างนะ ช่วยๆกันไป
สมาชิกใหม่ ก่อนถามแนะนำตัว
http://www.phpbbthailand.com/viewforum.php?f=41
กฏการใช้งานบอร์ด
http://www.phpbbthailand.com/viewtopic.php?f=37&t=5940
รวมพลคนใช้ phpBB3 แนะนำคนอื่นบ้างนะครับ ทุกคำถามจะได้มีคำตอบ แนะนำคนอื่นๆบ้างนะ ช่วยๆกันไป
สมาชิกใหม่ ก่อนถามแนะนำตัว
http://www.phpbbthailand.com/viewforum.php?f=41
กฏการใช้งานบอร์ด
http://www.phpbbthailand.com/viewtopic.php?f=37&t=5940
Re: ช่วยหน่อยเกี่ยวกับ lightbox
ครับผมเองครับ ก็ยังไม่ได้เหมือนเคยนะครับ เจอปัญหาใหม่อีก 5555 หัวเราะด้วยน้ำตา
คุณกล้าที่จะเปลี่ยนแปลง กล้าที่จะแตกต่าง นั่นคือตัวคุณ
ผู้ใช้งานขณะนี้
กำลังดูบอร์ดนี้: 78 และ บุคคลทั่วไป 0 ท่าน