PIXNET Logo登入

小 春 日 和

跳到主文

部落格全站分類:攝影寫真

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 3月 27 週三 201312:43
  • CSS|IE8 嵌入iframe有白框邊

現在新版的瀏覽器FF/Chrome/IE9都已經不會有嵌入iframe有白框邊的問題了
唯獨IE8/IE7還是會有
解決方法如下:
<iframe name="container" frameborder="0" allowtransparency="true" id="container" src="{$func_url}" width="100%"
height="auto" marginwidth="100%" marginheight="100%" border="0" scrolling="no" onload="Javascript:SetCwinHeight()">
(繼續閱讀...)
文章標籤

cabuchi 發表在 痞客邦 留言(0) 人氣(1,040)

  • 個人分類:CSS
▲top
  • 3月 20 週三 201313:00
  • JQ|Setting cookies with jQuery

使用前要先下載並引入:jquery.cookie.js
(https://github.com/carhartl/jquery-cookie)
 
(繼續閱讀...)
文章標籤

cabuchi 發表在 痞客邦 留言(0) 人氣(725)

  • 個人分類:JQ
▲top
  • 3月 15 週五 201312:54
  • YOUTUBE|How to make a YouTube clip look better on your site

 <iframe> 

Basic
<iframe id="ytplayer" width="460" height="289" src="http://www.youtube.com/embed/fxs970FMYIo" frameborder="0" allowfullscreen></iframe>
 
(繼續閱讀...)
文章標籤

cabuchi 發表在 痞客邦 留言(0) 人氣(68)

  • 個人分類:YOUTUBE
▲top
  • 3月 14 週四 201309:55
  • CSS|HTML5 Doctor CSS Reset

/**
* html5doctor.com Reset Stylesheet v1.6.1 (http://html5doctor.com/html-5-reset-stylesheet/)
* Richard Clark (http://richclarkdesign.com)
* http://cssreset.com
*/
html, body, div, span,object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong,sub, sup,var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
margin:0;
padding:0;
border:0;
outline:0;
font-size:100%;
vertical-align:baseline;
background:transparent;
}
body {
line-height:1;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
display:block;
}
nav ul {
list-style:none;
}
blockquote, q {
quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content:'';
content:none;
}
a {
margin:0;
padding:0;
font-size:100%;
vertical-align:baseline;
background:transparent;
}
/* change colours to suit your needs */
ins {
background-color:#ff9;
color:#000;
text-decoration:none;
}
/* change colours to suit your needs */
mark {
background-color:#ff9;
color:#000;
font-style:italic;
font-weight:bold;
}
del{
text-decoration: line-through;
}
abbr[title], dfn[title]{
border-bottom:1px dotted;
cursor:help;
}
table {
border-collapse:collapse;
border-spacing:0;
}
/* change border colour to suit your needs */
hr {
display:block;
height:1px;
border:0;
border-top:1px solid #cccccc;
margin:1em0;
padding:0;
}
input,select{
vertical-align:middle;
}
(繼續閱讀...)
文章標籤

cabuchi 發表在 痞客邦 留言(0) 人氣(129)

  • 個人分類:CSS
▲top
  • 3月 13 週三 201314:47
  • YOUTUBE API|Using JavaScript data API

<script type="text/javascript">     
        var loadInfo = function(videoId) {
            var gdata = document.createElement("script");
            gdata.src = "http://gdata.youtube.com/feeds/api/videos/" + videoId
                    + "?v=2&alt=jsonc&callback=storeInfo";
            var body = document.getElementsByTagName("body")[0];
            body.appendChild(gdata);
        };
        var storeInfo = function(info) {
            console.log(info.data.title);
        };
</script>
(繼續閱讀...)
文章標籤

cabuchi 發表在 痞客邦 留言(0) 人氣(184)

  • 個人分類:YOUTUBE
▲top
  • 2月 25 週一 201314:45
  • JQ|動態設定iFrame高度

 
head裡面填入
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script type="text/javascript">
(繼續閱讀...)
文章標籤

cabuchi 發表在 痞客邦 留言(0) 人氣(3,305)

  • 個人分類:JQ
▲top
  • 1月 28 週一 201311:46
  • JS|網站轉到對應的國家語系

<script type="text/javascript" src="http://j.maxmind.com/app/geoip.js"></script>
<script>
(function() {
/*確認使用者是否第一次進入本網頁*/
(繼續閱讀...)
文章標籤

cabuchi 發表在 痞客邦 留言(0) 人氣(833)

  • 個人分類:JQ
▲top
  • 1月 16 週三 201310:45
  • ASP|基本操作

頁面有亂碼,這可以除亂碼
<%@ codepage=65001%>
 
用迴圈印出變數
(繼續閱讀...)
文章標籤

cabuchi 發表在 痞客邦 留言(1) 人氣(83)

  • 個人分類:ASP
▲top
  • 1月 08 週二 201315:00
  • JQ|Mega Dropdown Menu Plugin

範例下載:
http://www.designchemical.com/lab/jquery-mega-drop-down-menu-plugin/examples/#
http://djdesignerlab.com/2011/07/08/16-jquery-menus-with-beautiful-animations-for-developers/
(繼續閱讀...)
文章標籤

cabuchi 發表在 痞客邦 留言(0) 人氣(469)

  • 個人分類:JQ
▲top
  • 12月 25 週二 201217:30
  • CSS|表格細框線

table {
   border: 1px solid #ccc;
   border-collapse: collapse;
}
tr, td {
   border: 1px solid #ccc;
}
(繼續閱讀...)
文章標籤

cabuchi 發表在 痞客邦 留言(0) 人氣(181)

  • 個人分類:CSS
▲top
«1234...22»

熱

  • (35,180)AppServ|安裝後無法啟用apache的原因
  • (17,781)[css]裁切圖片-利用overflow或clip:rect
  • (9,866)比較|WAMP比較(AppServ、XAMPP和Apache2TRIAD)
  • (6,399)程式設計師的態度 哈哈好忠肯
  • (452)CentOS|E45: 'readonly' option is set (add ! to override)
  • (213)JQ|$('.c1:checked').each(function(){
  • (9)4/04 - 4/11
  • (6)TEST
  • (2)旅行|野銀的月光海
  • (1)My life in Dharmsāla

近

  • HTTP|request method淺談
  • JS|cookies關掉瀏覽器不一定會真的清乾淨
  • 電影|聽說桐島退社了
  • PHP|抓資料夾全部檔案
  • PHP|APC upload process bar
  • Smarty|下拉選單1-50數字
  • JQ|模擬點擊
  • JQ|送出表單後,把表單值清空
  • PHP|把日期轉成我要的格式
  • Codeigniter|移除網址上的index.php

欸

  • [20/03/29] 拉芙 於文章「HTTP|request method淺...」發表了一則私密留言
  • [19/06/27] Vincent 於文章「MYSQL|關聯性資料庫...」留言:
    Thanks for your sharing. It is...
  • [18/11/01] cadch 於文章「比較|WAMP比較(AppServ、XA...」留言:
    Appserv是我小時候學PHP最流行的開發環境工具。...
  • [18/07/09] n035346 於文章「HTTP|request method淺...」留言:
    q5Y奢侈品仿牌,保固說到做到,誠信經營,,明星同款,官網最...
  • [17/09/27] 阿倫 於文章「傳值,切頁(js/post/get)及本...」留言:
    請問該如何取得 getuser1.php 裡面的某個變數的值...
  • [16/05/24] 訪客 於文章「AppServ|安裝後無法啟用apach...」留言:
    我升級win10後開啟一片空白,用你的方法有用,3QQ...
  • [15/12/21] 訪客 於文章「AppServ|安裝後無法啟用apach...」留言:
    cmd 命令应该是netstat -ano,中间有个空格的。...
  • [15/10/20] 訪客 於文章「AppServ|phpmyadmin無法...」留言:
    我用的是win10 也進不去??怎麼辦...
  • [15/07/03] 訪客 於文章「AppServ|phpmyadmin無法...」留言:
    我用的是win8.1 用樓主的方法也是無法解決 爬了其他...
  • [15/06/26] 訪客 於文章「AppServ|phpmyadmin無法...」留言:
    借轉載謝謝...

分

toggle 程式語言 (7)
  • Android Mobile (0)
  • drupel (3)
  • drupel (2)
  • FLASH CS3 (3)
  • API (0)
  • Other (1)
  • js (1)
  • HTTP (1)
  • Smarty (1)
  • YOUTUBE (2)
  • ASP (1)
  • FB (2)
  • MIS (0)
  • System (0)
  • MYSQL (2)
  • google analytics (1)
  • Cent OS (5)
  • JQ (19)
  • 面試 (3)
  • 國外旅遊 (1)
  • CSS (20)
  • 網路軟體設定 (5)
  • 作業學習 (3)
  • PHP (11)
  • JSP (2)
  • 筆記 (13)
  • 隨拍 (7)
  • 隨筆 (64)
  • 旅行 (7)
  • 未分類文章 (1)

pixGoogleAdsense1

pixGoogleAdsense2

*

文章彙整

參觀人氣

  • 本日人氣:
  • 累積人氣: