- เครดิต
- 50
- เพื่อน
- ทักทาย
- บล็อก
- อัลบั้ม
- โพสต์
- กระทู้
- แชร์
- สำคัญ
- สิทธิ์อ่าน
- 10
- จำนวนผู้ติดตาม
- จำนวนผู้กำลังติดตาม
- เพศ
- ไม่บอก
|
แก้ไขครั้งสุดท้ายโดย icemanz เมื่อ 2012-12-15 22:59
ตอบนะครับปัญหาที่ทุกคนไม่ได้กันคือ เฟชบุ๊คเขาปรับการเข้ารหัส iFrame ใหม่ ต้องทำ iFrame ใหม่ทั้งหมดครับ
ขั้นตอนนะครับ
1.ไปเอาโค๊ด iFrame จากที่นี่ครับ- http://developers.facebook.com/docs/reference/plugins/like-box/
คัดลอกไปที่คลิปบอร์ด 2.เอามาใส่แทนโค๊ด ตรง iFrame ของ จขกท.- <style type="text/css">
- #FBSlideLikeBox_left {background: url("-ที่อยู่รูปภาพ-") 292px 0 no-repeat; float: left; height: 200px; position: fixed; left: -292px; padding-right: 60px; top: 10%; width: 292px; z-index: 2000;}
- #FBSlideLikeBox_left #FBSlideLikeBox3_left {height: 590px; right: 0; position: absolute; border: 3px solid #3B5998; width: 292px; background: #f8f8f8;}
- #FBSlideLikeBox_right {background: url(-ที่อยู่รูปภาพ-ไม่จำเป็น) 0 0 no-repeat; float: right; height: 70px; position: fixed; right: -292px; padding-left: 60px; top: 20%; width: 292px; z-index: 2000;}
- #FBSlideLikeBox_right #FBSlideLikeBox3_right {height: 590px; left: 0; position: absolute; border: 3px solid #3B5998; width: 292px; background: #f8f8f8;}
- #FBSlideLikeBox_left #FBSlideLikeBox2_left {position: relative; clear: both; width: auto;}
- </style>
- <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.4.js"></script>
- <script type="text/javascript">
- var $fb = jQuery.noConflict();
- $fb(document).ready(
- function()
- {
- $fb("#FBSlideLikeBox_left").mouseenter(function()
- {
- $fb(this).stop().animate({left: 0}, "normal");
- }).mouseleave(function()
- {
- $fb(this).stop().animate({left: -292}, "normal");
- });;
- });
- </script>
- <div id="FBSlideLikeBox_left">
- <div id="FBSlideLikeBox2_left">
- <div id="FBSlideLikeBox3_left">
- <iframe src="ลิ้งของเพจเฟสบุ๊คของท่าน&colorscheme=light&show_faces=true&border_color=ffffff&stream=true&header=true&height=590" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:750px;" allowTransparency="true"></iframe></div></div></div>
คัดลอกไปที่คลิปบอร์ด ตรงแถบ iFrame นะครับบรรทัดที่ 26ได้โค๊ดจาก Face มาก็วางแทนที่ตั้งแต่เปิดแทก <iframe> จนปิดแทก </iframe> เลยครับ
3.เอาไปใส่ในโฆษณาตามสบายครับ |
คะแนน
-
ดูบันทึกคะแนน
|