|
 |
|
คือผมไม่เข้าใจกับโค๊ด array php อ่ะครับ พอดีไปก๊อปเค้ามา |
|
 |
|
|
 |
 |
|
Code (PHP)
<?php
$jquery_ui_v="1.8.5";
$theme=array(
"0"=>"base",
"1"=>"black-tie",
"2"=>"blitzer",
"3"=>"cupertino",
"4"=>"dark-hive",
"5"=>"dot-luv",
"6"=>"eggplant",
"7"=>"excite-bike",
"8"=>"flick",
"9"=>"hot-sneaks",
"10"=>"humanity",
"11"=>"le-frog",
"12"=>"mint-choc",
"13"=>"overcast",
"14"=>"pepper-grinder",
"15"=>"redmond",
"16"=>"smoothness",
"17"=>"south-street",
"18"=>"start",
"19"=>"sunny",
"20"=>"swanky-purse",
"21"=>"trontastic",
"22"=>"ui-darkness",
"23"=>"ui-lightness",
"24"=>"vader"
);
$jquery_ui_theme=$theme[11];
?>
คือผมไม่เข้าใจว่ามันใช้ทำอะไรอ่ะครับ ใครรู้ช่วยบอกผมหน่อยนะครับ ขอแบบละเอียดเลยนะครับ ขอบคุณมากๆครับ
Tag : PHP, HTML/CSS, jQuery, Windows

|
|
 |
 |
 |
 |
Date :
2012-08-06 09:58:26 |
By :
jackkieclub |
View :
1004 |
Reply :
2 |
|
 |
 |
 |
 |
|
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
อาเรย์ก็คือกลุ่มข้อมูลแบบชุด จะมี Index เป็นตัวชี้ ค่าใน Array
จากโค้ดที่ให้มา คิดว่าน่าจะใช้เกี่ยวกับระบบ theme ของ jquery Ui
$jquery_ui_theme=$theme[11]; <= หมายถึง ใช้ theme ที่11 ชือ 'le-frog'
|
 |
 |
 |
 |
Date :
2012-08-06 10:18:16 |
By :
adaaugusta |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
อ่อ แล้วพอจะมีตัวอย่าง การเขียนหรือการใช้งาน jquery ui ไหมครับ พอดีผมจะทำระบบค้นหาแบบ auto complete โดยติดต่อจากฐานข้อมูลอ่ะครับ ที่ไปค้นหามามันบอกไม่ค่อยจะละเอียดเท่าไหร่อะครับ
|
 |
 |
 |
 |
Date :
2012-08-06 10:37:38 |
By :
jackkieclub |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 00
|