發表文章

周杰伦 & 五月天 (特別加強版) Jay Chou & Mayday (安靜+志明與春橋, 听妈妈的话, 干杯, 晴天, 离开地球表面+双节棍)

圖片
OPUS JAY 2013 WORLD TOUR TAIPEI !!!! 周杰倫 特別嘉賓: 五月天!!!!  MAY DAY!!!! 全場HIGH 爆!!!! 周杰倫 同五月天 cross over 唱 安靜+志明與春橋 聽媽媽的話x 乾杯x 晴天 離開地球表面 x 雙截棍

iPhone 5 Basic Screen Component Dimensions

圖片
iPhone 5 Basic Screen Component Dimensions I almost didn’t post this, since there’s really only one dimension that’s different – the height of the iPhone screen. However, after the sixth time of having to look it up online, I knew we needed a new diagram – so here you go! Click for larger image I only included retina dimensions for the iPhone 5 since there are no unRetina iPhone 5s. If you need unRetina iPhone dimensions,  check out this post.  It makes you wonder – how much longer will we even have to support unRetina devices? For those of you who would prefer a list instead, read on. iPhone 5 Pixel Dimensions Note: All pixel dimensions include highlight or stroke effects.  For example, a 60-pixel high button is actually a 58-pixel high button with a 2-pixel highlight on the bottom. iPhone 5 screen size: Portrait 640×1136 pixels Landscape 1136×640 pixels iPhone 5 Nav bar: Portrait: 88 pixels high Landscape: 64 pixels high iPhone 5...

[JQuery] hover(over, out )

Description: The   hover( over, out )   method simulates hovering (moving the mouse on, and off, an object). This is a custom method which provides an 'in' to a frequent task. Syntax: Here is the simple syntax to use this method: selector .hover( over, out ) Parameters: Here is the description of all the parameters used by this method: over:   The callback function to fire when the mouse is moved over a matched element. out:   The callback function to fire when the mouse is moved off of a matched element. Example: Following is a simple example a simple showing the usage of this method: <html> <head> <title>the title</title> <script type="text/javascript" src="/jquery/jquery-1.3.2.min.js"></script> <script type="text/javascript" language="javascript"> $(document).ready(function() { $('div').hover( function () { $(this)....

Mailto Syntax

This tutorial serves two purposes. It teaches you   how to create an email   link, and it also explains all of the properties of the mailto handle. If you want to use any of these options together with a munged and protected link with our   email address encoder   (to avoid spam), enter   the code   highlighted in light yellow   into the Advanced Options box. Note that converting the advanced options into ASCII would cause the link to fail to   work . Therefore we recommend not using the   cc   or   bcc   options (explained below) and instead enter all   email addresses   into the   email address   box separated by commas.. Simple email link: <a href="mailto:your@email.address">Contact Us</a>   Working example:   Contact Us This is the simplest link possible. Just like a regular URL link to any site,   this link   starts with the start tag   <a href=""> , f...

[五月天諾亞方舟Mayday NOWHERE 3D] 電影首支官方預告

圖片
當末日人人自危 五月天在我身邊

Display Related Posts in WordPress without a Plugin

Display Related Posts in WordPress without a Plugin Paste the following code in   single.php   where you want to display related posts view source print ? 01 <?php 02 //for use in the loop, list 5 post titles related to first tag on current post 03 $tags   = wp_get_post_tags( $post ->ID); 04 if   ( $tags ) { 05 echo   'Related Posts' ; 06 $first_tag   =   $tags [0]->term_id; 07 $args = array ( 08 'tag__in'   =>   array ( $first_tag ), 09 'post__not_in'   =>   array ( $post ->ID), 10 'posts_per_page' =>5, 11 'caller_get_posts' =>1 12 ); 13 $my_query   =   new   WP_Query( $args ); 14 if (   $my_query ->have_posts() ) { 15 while   ( $my_query ->have_posts()) :   $my_query ->the_post(); ?> 16 <a href= "<?php the_permalink() ?>"   rel= "bookmark" title= "Permanent Link to ...