公告版位

本站於2009年10月28日成立,本人將盡力提供好的資訊,希望對大家會有幫助。也希望大家可以幫忙點一下廣告,謝謝大家。

歡迎參觀我的賣場

版權所有,引用請註明引用來源,謝謝光臨。 部份文章來源為網路上,如有侵權,請留言,我會馬上刪除,謝謝。

 

濾鏡下載:http://www.68ps.com/gongju/gj_lj.asp

 

筆刷下載:http://www.68ps.com/gongju/index.asp

 

樣式下載:http://www.68ps.com/gongju/gj_ys.asp

 

圖樣下載:http://www.68ps.com/gongju/gj_ta.asp

 

動作下載:http://www.68ps.com/gongju/dongzuo.asp

 

自訂形狀:http://www.68ps.com/gongju/xingzhuang.asp

 

漸層下載:http://www.68ps.com/gongju/jianbian.asp

你可以參考:

Photoshop 自訂形狀- 載入網路上下載的形狀

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

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

用Dreamweaver做PHP時,會需要Apache的伺服器,而xampp及Appserv就有提供。如果要做發送Mail的表單程式,則要設定php.ini的SMTP設定。

xampp的php.ini放在「D:\xampp\php」內,可以用Dreamweaver開啟,再從「編輯>>尋找和取代」,找到:

[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

 

改成:

[mail function]
; For Win32 only.
SMTP = msa.hinet.net
smtp_port = 25

借助中華電信的Mail Server來發Mail,請注意:家裡的網路要使用中華電信的才可以用,否則會不能用哦。

存檔後,按「xampp_restart.exe」重新啟動。

Appserv也可以用,php.ini在「C:\WINDOWS\」內,修改後也要動新啟動哦。

你可以參考:

xampp修改MySQL密碼

xampp-建立ftp帳號

用免安裝伺服器xampp架設ftp網站教學

不用安裝的PHP伺服器-XAMPP

 

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

使用xampp時,MySQL密碼預設沒有密碼,這樣會有問題,所以建議改密碼

1.輸入http://localhost/phpmyadmin/,按「權限」

2.按「root localhost 否 ALL PRIVILEGES 是」的右邊。

3.輸入「密碼」及「確認密碼」,按「執行」

4.按瀏覽器的重新整理,會出現下圖錯誤。

5.用Dreamweaver修改「D:\xampp\phpMyAdmin/config.inc」,如圖:$cfg['Servers'][$i]['auth_type'] = 'config';改成$cfg['Servers'][$i]['auth_type'] = 'http';,存檔。

6.按瀏覽器的重新整理,可以看到帳號、密碼視窗,輸入帳號、密碼後按「確定」,就可以進入到MySQL了。

 Appserv也適用哦。

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

筆刷:http://myphotoshopbrushes.com/brushes

圖樣:http://myphotoshopbrushes.com/patterns

自訂形狀:http://myphotoshopbrushes.com/custom_shapes

樣式及漸層:http://myphotoshopbrushes.com/styles_and_gradients

教學:http://myphotoshopbrushes.com/tutorials

請按下載。

你可以參考:

Photoshop 自訂形狀- 載入網路上下載的形狀

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

JQUERY-在表單文字欄位輸入開頭文字,自動顯示相關文字

如:http://game.acd.idv.tw的搜尋

請先下載:http://ok6.cc/~css/100920/jaueryautocomplete.zip

下面範例需要資料庫哦,所以要自行建立資料庫哦。

在<head>...</head>之間加上下面語法:

<link rel="stylesheet" type="text/css" href="jquery.autocomplete.css" />
<script type="text/javascript" src="jquery.js"></script> 
<script type="text/javascript" src="jquery.autocomplete.js"></script>
<script type="text/javascript"> 
$(function() {       
  $("#t1").autocomplete("s.php", {matchContains: true});      
});  
</script>

在<body>...</body>之間加上下面語法:

<form id="form1" name="form1" method="post" action="">
  <label for="t1"> </label>
  <input type="text" name="t1" id="t1" />
</form>

開一個新的php檔案,儲存成「s.php」,語法如下:

<?php  
header('Content-Type: text/html;charset=UTF-8');
require_once('Connections/conn.php');
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
  if (PHP_VERSION < 6) {
    $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
  }

  $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;   
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  }
  return $theValue;
}
}
$colname_Recordset1 = "%";
if (isset($_GET['q'])) {
 $colname_Recordset1 = $_GET['q']; 
}
//if (!$q) return; 
mysql_select_db($database_conn, $conn);
$query_Recordset1 = sprintf("SELECT gname FROM games WHERE gname LIKE %s LIMIT 0 , 10", GetSQLValueString("%" . $colname_Recordset1 . "%", "text"));
$Recordset1 = mysql_query($query_Recordset1, $conn) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
do{
     printf("%s\n" ,$row_Recordset1['gname'] );
} while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
?> 

就可以用了。

css6 發表在 痞客邦 留言(5) 人氣()

網站內容推到Facebook的方法:

我們可以在做網站時,讓網友可以把網站內容推到Facebook的「塗鴉牆」。

 請先在網頁的<head>到</head>之間,放上下面的語法:如果你是使用Dreamweaver,請放在「程式碼」。

<meta name="title" content="遊戲巢-美奇電腦-好玩小遊戲-機器人大戰" />
<meta name="description" content="記住左邊機器人頭上出現的← → ↑ ↓跟笑臉.笑臉是空白鍵.
換右邊機器人玩時.照剛才記住的去按..像記憶的跳舞機" />
<link rel="image_src" href="http://game.acd.idv.tw/game/2010072903.jpg" />

 

再把下面語法放在你要出現「推到Facebook」文字的地方:

<a href="javascript: void(window.open('http://www.facebook.com/share.php?u='.concat(encodeURIComponent(location.href)) ));">[推到 Facebook]</a>

就可以了哦。

 

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

css6 發表在 痞客邦 留言(5) 人氣()

網站圖片版權為各作者所有,本頁所載作品只做為展示用,並未營業,如有侵權,請留言告知,站長將立即刪除。

2010年8月27日結訓

網址::http://ok6.cc/~css/homework/stud_100901

2010年8月27日結訓

網址::http://ok6.cc/~css/homework/stud_100902

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

很多人都是學Powerpoint 2003的,但是到Powerpoint 2007時,卻不會用了,所以微軟做了一Powerpoint 2003 to 2007的命令對照-互動式Flash,提供給使用者。
下載網址:

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

Close

您尚未登入,將以訪客身份留言。亦可以上方服務帳號登入留言

請輸入暱稱 ( 最多顯示 6 個中文字元 )

請輸入標題 ( 最多顯示 9 個中文字元 )

請輸入內容 ( 最多 140 個中文字元 )

reload

請輸入左方認證碼:

看不懂,換張圖

請輸入驗證碼