<script language="javascript" type="text/javascript" src="http://palungjit.org/attachments/a.9397/"></script>
หัวตัวดัชนี เชื่อม ไฟล์ text เอาไปแปะได้เลย PHP: <script language="javascript" type="text/javascript" src="http://palungjit.org/attachments/a.9397/"></script> ตัวไฟล์ text ซึ่งเขียน ไว้ต่างหาก เปรียบเทียบดู ง่ายกว่าหิมะตก PHP: song = new Array(); title = new Array(); song[0] = "http://203.150.224.157/musicart//newmusicstation/senahoi/hidelonely.swf"; song[1] = "http://203.150.224.157/musicart//newmusicstation/nurserysound/beautiful.swf"; song[2] = "http://203.150.224.157/musicart//newmusicstation/xperiment/kaogun.swf"; song[4] = "http://203.150.224.157/musicart//newmusicstation/inam/rukkonmeejaokong.swf"; song[5] = "http://203.150.224.157/musicart//newmusicstation/acappella7/year123.swf"; song[6] = "http://203.150.224.157/musicart//newmusicstation/acappella7/looktung.swf"; song[8] = "http://203.150.224.157/musicart//newmusicstation/acappella7/iloveu.swf "; song[9] = "http://203.150.224.157/musicart//newmusicstation/luckmusic/question.swf "; song[10] ="http://203.150.224.157/musicart//newmusicstation/naikunchittidlham/whobig.swf "; song[11] = "http://203.150.224.157/musicart//newmusicstation/girlyberry/tumtom.swf "; song[12] = "http://203.150.224.157/musicart//newmusicstation/girlyberry/storythatnight.swf "; song[13] = "http://203.150.224.157/musicart//newmusicstation/soundwalker/soundnothere.swf "; song[14] = "http://203.150.224.157/musicart//newmusicstation/nurserrysound/love3cord.swf "; song[15] = "http://203.150.224.157/musicart//newmusicstation/nurserysound/konmaimee.swf "; index = Math.floor(Math.random() * song.length); document.write('<EMBED SRC = "'+song[index]+'" > </EMBED>');
แบบ ซ่อน ภาพเอาแต่เสียง เพิ่ม นิหน่อย ไม่ยากเลย หัว ตัวอินเด็ก PHP: <script language="javascript" type="text/javascript" src="http://palungjit.org/attachments/a.9397/"></script> ตัว เนื้อโค๊ด PHP: song = new Array(); title = new Array(); song[0] = "http://203.150.224.157/musicart//newmusicstation/senahoi/hidelonely.swf"; song[1] = "http://203.150.224.157/musicart//newmusicstation/nurserysound/beautiful.swf"; song[2] = "http://203.150.224.157/musicart//newmusicstation/xperiment/kaogun.swf"; song[4] = "http://203.150.224.157/musicart//newmusicstation/inam/rukkonmeejaokong.swf"; song[5] = "http://203.150.224.157/musicart//newmusicstation/acappella7/year123.swf"; song[6] = "http://203.150.224.157/musicart//newmusicstation/acappella7/looktung.swf"; song[8] = "http://203.150.224.157/musicart//newmusicstation/acappella7/iloveu.swf "; song[9] = "http://203.150.224.157/musicart//newmusicstation/luckmusic/question.swf "; song[10] ="http://203.150.224.157/musicart//newmusicstation/naikunchittidlham/whobig.swf "; song[11] = "http://203.150.224.157/musicart//newmusicstation/girlyberry/tumtom.swf "; song[12] = "http://203.150.224.157/musicart//newmusicstation/girlyberry/storythatnight.swf "; song[13] = "http://203.150.224.157/musicart//newmusicstation/soundwalker/soundnothere.swf "; song[14] = "http://203.150.224.157/musicart//newmusicstation/nurserrysound/love3cord.swf "; song[15] = "http://203.150.224.157/musicart//newmusicstation/nurserysound/konmaimee.swf "; index = Math.floor(Math.random() * song.length); document.write('<EMBED SRC = "'+song[index]+'" WIDTH=0 HEIGHT=0 > </EMBED>');
(tm-love) เบื้องต้น ไป หาอ่านเอง เขียนไว้นานแล้ว คราวหน้าจะลอง random แบบ ไอเฟรม http://www.palungjit.org/board/showthread.php?t=4241
ต่อไป มา ช่วยกันพัฒนา กันเถอะ 1. random เพลงโดยไม่ต้อง รีเฟรช เปิดหน้าจอ แล้วค้าง แช่ไว้เลย ปล่อยให้ มันทำงาน แรนด้อมเอง ไม่ต้องเปิดไปเปิดมา 2. สถานีเพลง แบบ ไล่ เพลงตามลำดับ ฟังเรียงเลย 3. คนห้องเลือกเพลง ที่ จะฟัง ก่อนหลัง แบบ ขอ ตามดีเจคลื่นวิทยุ แล้ว มัน จะเก็บ ไว้ในลิส ค่อยปล่อยเพลงออกมา แต่ ในห้องต้องมีลิส เพลงให้เลือก 4. จากข้อสาม ถ้า มันสามารถ เพิ่ม หรือ ลบ บางตำแหน่ง ในลิส ที่กดผิด หรือ ไม่พอใจ ออกไปได้ จะดีมาก 5. หน้าจอ ใน ห้องเพลง อยากให้ เขียนสคริป ให้ออกมาโชว์ แบบ สวยๆ เท่ๆ คือ ใครพอจะเป็น ก็ มาช่วยกันพัฒนา ห้องเพลงพลังจิต แบบ ใหม่ ไม่ต้องคลิก เปิดตามกระทู้ให้เมื่อยมือ ยอมรับ ทุกความคิดเห็น ช่วยๆ กัน เป็นห้องเรียน ของเราเลย
ทำได้ครับไม่ยาก แต่ไอ้นิสัยขี้เกียจเขียนโค้ดของผมนี่สิแก้ยาก หุๆ แล้วไอ้นิสัยนี้แหละ พลอยทำให้ความรู้มันลงหม้อถ่วงน้ำไปหมดแย้ว ต้องใช้เวลางมกันหน่อย ไว้ว่างๆนึกออกแล้วจะมาบอกครับ
อีสาน ลำซิ่ง แด๊น PHP: <script language="javascript" type="text/javascript" src="http://palungjit.org/attachments/a.9516/"></script> PHP: song = new Array(); title = new Array(); song[0] = "http://www.postjung.com/member/song5592/song-1193l.swf"; song[1] = "http://www.postjung.com/member/song5592/song-1186l.swf"; song[2] = "http://www.postjung.com/member/song5592/song-1194l.swf"; song[4] = "http://www.postjung.com/member/song5592/song-1198l.swf"; song[5] = "http://www.postjung.com/member/song5592/song-1197l.swf"; song[6] = "http://www.postjung.com/member/song5592/song-1195l.swf"; song[8] = "http://www.postjung.com/member/song5592/song-1196l.swf "; song[9] = "http://www.postjung.com/member/song5592/song-1199l.swf"; song[10] ="http://www.postjung.com/member/song5592/song-1192l.swf "; song[11] = "http://www.postjung.com/member/song5592/song-1200l.swf"; song[12] = "http://www.postjung.com/member/song5592/song-1201l.swf"; song[13] = "http://www.postjung.com/member/song5592/song-1200l.swf"; song[14] = "http://www.postjung.com/member/song5592/song-1202l.swf"; song[15] = "http://www.postjung.com/member/song5592/song-1203l.swf"; song[16] = "http://www.postjung.com/member/song5592/song-1204l.swf"; song[17] ="http://www.postjung.com/member/song5592/song-1187l.swf"; song[18] = "http://www.postjung.com/member/song5592/song-1189l.swf"; song[19] = "http://www.postjung.com/member/song5592/song-1190l.swf"; song[20] = "http://www.postjung.com/member/song5592/song-1205l.swf"; song[21] = "http://www.postjung.com/member/song5592/song-1206l.swf"; song[22] = "http://www.postjung.com/member/song5592/song-1188l.swf"; song[23] ="http://www.postjung.com/member/song5592/song-1208l.swf "; song[24] = "http://www.postjung.com/member/song5592/song-1209l.swf"; song[25] = "http://www.postjung.com/member/song5592/song-1210l.swf"; song[26] = "http://www.postjung.com/member/song5592/song-1211l.swf"; index = Math.floor(Math.random() * song.length); document.write('<EMBED SRC = "'+song[index]+'" > </EMBED>');