ใส่codeยังไงช่วยทีครับ

เริ่มโดย soonbizz, 06 พฤศจิกายน 2012, 09:27:16

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

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

soonbizz

จาวาสคริปมันไม่ทำงาน ทำวิดีโอหลัก แล้วมีแล้วดูวิดีโออื่นๆเพิ่มด้านล่าง  :wanwan022:


  <div class="home-video-list">
        <span class="arrow-left"><a href="javascript:void(null);"><img src="<?=$webroot?>/images/home-video-list-arrow-left.png"></a></span>
        <div class="slides" style="overflow: hidden; position: relative; display: block; ">
        <div class="slides_control" style="position: relative; width: 2400px; height: 0px; left: -800px; "><ul class="list" style="position: absolute; top: 0px; left: 800px; z-index: 5; ">
                    1234
<?php
$newmovie5 "SELECT * FROM movie ORDER BY id DESC limit 1,11";
$Query5 mysql_query($newmovie5);

while($Result5 mysql_fetch_array($Query5))
{
?>


<li class="green">
                <a href="<?=$webroot?>/movie/<?=$Result5[id]?>/<?=$Result5[modre]?>.html" class="play" rel="icook" target="_blank"><img src="<?=$webroot?>/images/video-play-icon.png?1346738429058"></a>
                <div class="picture"><img src="<?=$webroot?>/movieposters/<?=$Result5[poster]?>" width="261" height="150"></div>
                <div class="info">
                    <h4 class="cufon-iannnnn"><?=$Result5[name_en]?> <?=$Result5[name_th]?></h4>
                    <span class="cufon-verdana"><?=$Result5[hits]?> View</span>
                </div>
            </li>
<? } ?>
                               
                                </ul></div>
           
           
           
        </div><a href="#" class="prev">Prev</a><a href="#" class="next">Next</a>
        <span class="arrow-right"><a href="javascript:void(null);"><img src="<?=$webroot?>/images/home-video-list-arrow-right.png"></a></span>

shokarita

เขียนง่ายๆๆ ครับ เปลี่ยนข้อมูล innerHTML ของแท๊กตัวเล่นเลยครับ ง่ายสุดแล้วลองหาในเน็ตได้เลย
หรือใช้ jquery ก็ ง่ายครับ ตัวอย่าง $('#div').html('ค่าที่ต้องการ');
เปลี่ยนเสร็จก็ทำให้มันเล่น

soonbizz

แก้ตรงนี้อย่างเดียวใช่ไหมครับ
</div><a href="#" class="prev">Prev</a><a href="#" class="next">Next</a>
        <span class="arrow-right"><a href="javascript:void(null);"><img src="<?=$webroot?>/images/home-video-list-arrow-right.png"></a></span>

wissawazul

<a href="#"

ใส่ url ที่ต้องการครับ