รวมฮิต สคริปต์เด็ด

เริ่มโพสต์โดย iannnnn, 29 ก.ค. 2006, 02:09 น.

0 สมาชิก และ 1 บุคคลทั่วไป กำลังเปิดอ่านโพสต์นี้

กันย์

โหวตกันล้มหลามจริงๆ :37:
หนุ่มอักษรรักแน่ รักแท้ตลอดกาล~

iannnnn


@srakrn

#197
อ้างคำพูดจาก: ไอ้แอนนนนน เมื่อ 25 ต.ค. 2008, 23:20 น.
วิธีฆ่า IE6 :13:


<!--[if lte IE 6]>
<STYLE>@;/*
<![endif]-->


ใส่ลงไปเลยครับ เปิดมาปั๊บเจ๊ง สะใจมาก (ที่มา)
อีกอัน
<script>for(x in document.write){document.write(x);}</script>
วิธีทดสอบ
1. เปิด Notepad
2. วางโค้ดนี้ลงไป
3. Save ชื่อว่าอะไรก็ได้ แต่ให้พิมพ์ว่า .html ต่อท้ายด้วย
4. เปิดไฟล์ด้วย IE :13:
//ปล. ใช้ได้ดั้งแต่ IE 0.0.1 release a ยัน IE 7

เทอร์โบบูสเตอร์

กาก

iannnnn


iannnnn

http://net.tutsplus.com/articles/web-roundups/10-rare-html-tags-you-really-should-know/
เขาเอาโค้ด html ที่ไม่ค่อยได้ใช้กันมาให้ดูครับ



เช่นอันนี้ <label for="showtimes">Showtimes</label>
<select id="showtimes" name="showtimes">
  <optgroup label="1PM"></optgroup>
      <option value="titanic">Twister</option>
      <option value="nd">Napoleon Dynamite</option>
  <option value="wab">What About Bob?</option>
      <optgroup label="2PM"></optgroup>
      <option value="bkrw">Be Kind Rewind</option>
      <option value="stf">Stranger Than Fiction</option>
</select>


ก็จะออกมาเป็นแบบนี้
อ้างอิง




:25:

หนุ่ม

เพิ่งรู้ว่ามี optgroup ด้วย

จดๆๆ :12:
Reading Learning & Sharing

ej_sing


JΛNΣ


iannnnn

อ้าว ไม่แสดงผลในโครมแฮะ :05:

iannnnn

  HTML 5 and Web Standards by LAB.TOSDN

แนะนำ HTML 5 ที่มาเคาะประตูบ้านเราแล้วเนี่ย (แต่ยังไม่เคาะ IE :13:)
เรียบเรียงมาให้อ่านพร้อมภาพประกอบ น่าอ่านมากๆ ครับ

ยุนเอ



มาแนะนำ javascript lib เท่ๆ ตัวนึงครับ คุ่แข่ง jquery ui เลยทีเดียว
มันคือ jquery tools

เอาไปใช้กับงานที่บริษัทดูหรูหราไฮโซมาก  :30:
ตัวอย่าง tooltips
http://flowplayer.org/tools/tooltip.html

วิธีใช้แสนง่าย

1. โหลดลิบมันไปก่อน
2. โค๊ด html
<!-- trigger element -->
<a href="#" id="trigger">
    Move the mouse over this box to see the tooltip in action.
</a>

<!-- tooltip element -->
<div class="tooltip">
    <h3>The Tooltip</h3>

    <p>
        <strong>A great tool for designing better layouts and more intuitive user-interfaces.</strong>
    </p>

    <p>
        Tooltips can contain any HTML such as links, images, forms and tables.
        This tooltip is vertically centered on the top edge of the trigger element.
    </p>
</div>



3. CSS
/* tooltip styling. uses a background image (a black box with an arrow) */
div.tooltip {
    background:transparent url(../img/tooltip/black_arrow_big.png) no-repeat scroll 0 0;
    font-size:14px;
    height:153px;
    padding:30px;
    width:310px;
    font-size:14px;
    display:none;
    color:#fff;
}

/* tooltip title element (h3) */
div.tooltip h3 {
    margin:0;
    font-size:18px;
    color:#fff;
}


4.javascript tag ที่แทรกเข้าไปใน page

$("#trigger").tooltip();

เราจะต้องการอะไรมากมายไปกว่า อะไรมากมาย

IM

สวย  :25:

น่าเอาไปใช้กับหน้าแสดงภาพในเว็บ  พอชี้ปุ๊บก็ขึ้นเป็นเหมือนบทพูด  :53:

Bellbells


ณัฏฐ์


SMF 2.1.7 © 2026, Simple Machines