View: 3763|Reply: 27
|
beberape soalan utk yg tahu..hrp mod kasi credit pada yg dpt selesaikan..
[Copy link]
|
|
1) I ade upload 1 web template masuk ke dlm server hosting yg I beli,tp kenape bila click HOME or PRODUCT or SERVICE or SUPPORT or NEWS or ABOUT,dia x tukar color biru mcm link ORDER tu ekk?
sepatutnya kalau klik dkt (misalnye)PRODUCTS,then bile dia gi ke page PRODUCTS,it should be color biru..(screenshot kt bwh)
2) misalnye kita post review/comment,ia akan kuar tarikh posting yg kita buat..soalannye,camne nk dptkan script tu ye..contoh mcm blogspot..kalau kita comment nnti akan kuar tarikh comment tu..contoh:
what your Market? - Posted on 6/3/2006
Getting to know your competitors - Posted on 2/1/2005
This is real nice! - Posted on 6/7/2005
ps:harap mod dpt kasi credit pada yg dpt solvekan persoalan I nie..thanx again! |
|
|
|
|
|
|
|
Reply #1 gadget's post
xde org sudi beri tunjuk ajar ke.. |
|
|
|
|
|
|
|
boleh tengok script ko??
pada pirasat aku yg color biru tu class="active"
so utk jadikan class active tu mengikut page ko
ko kona buat php script kat setiap class, cth
<a href="index.php" class="<?= $_SERVER['SERVER_NAME'] == 'index.php' ? 'active' : 'normal' ?>">Home</a>
<a href="products.php" class="<?= $_SERVER['SERVER_NAME'] == 'products.php' ? 'active' : 'normal' ?>">Products</a>
dan seterusnya
[ Last edited by BorderManager at 22-5-2008 04:04 PM ] |
|
|
|
|
|
|
|
Reply #3 BorderManager's post
<li><a href="#">Home</a> </li>
<li id="current"><a href="#">Product</a> </li>
<li><a title="" href="review.html">Services</a> </li>
<li><a href="#">Support</a> </li>
<li><a href="#">Forum</a> </li>
<li><a href="#">Links</a> </li></ul></div> |
|
|
|
|
|
|
|
Reply #3 BorderManager's post
harap BorderManager dpt solvekan..uwaaaa..thanx in advance |
|
|
|
|
|
|
|
Reply #3 BorderManager's post
utk pengetahuan U..screenshot post #1 diatas tu just example..screenshot tu bukan I punye.. |
|
|
|
|
|
|
|
Reply #4 bzzts's post
soalan no.2 tu bzzts tau x??? |
|
|
|
|
|
|
|
soklan no 1
ko nak buat cam dalam link ni kan? kalu dr pemahaman aku la
refer link ni --> click saya
[ Last edited by tengkubasri at 22-5-2008 07:28 PM ] |
|
|
|
|
|
|
|
soklan 2...
ko pakai db ke tak?? base kpd apa yg aku paham, ko kne store db yg terima komen2 tu, then simpan skali dgn tarikh org tu post... so nanti bila load, patut nampak la tarikh post tu..
just my 2 cent... |
|
|
|
|
|
|
|
Originally posted by tengkubasri at 22-5-2008 07:30 PM
soklan 2...
ko pakai db ke tak?? base kpd apa yg aku paham, ko kne store db yg terima komen2 tu, then simpan skali dgn tarikh org tu post... so nanti bila load, patut nampak la tarikh post tu. ...
alah..cuba U gi kat blogspot/blogger.com tu..lebih kurang mcm tu la..beri komen -> submit -> komen tu kuar dkt website tu & secara automatic ia paparkan tarikh post tu dibuat..
U tau ke? |
|
|
|
|
|
|
|
Originally posted by gadget at 22-5-2008 07:57 PM
alah..cuba U gi kat blogspot/blogger.com tu..lebih kurang mcm tu la..beri komen -> submit -> komen tu kuar dkt website tu & secara automatic ia paparkan tarikh post tu dibuat..
U tau ke?
yes, tau.. tp site2 blogger tu ada database diorg sendiri.. diorg dah provide.. so mmg bende tu akan capture post time pe sume, save dalam database...
so, kalu ko nak implement, ko kene la simpan dalam database, k? |
Rate
-
1
View Rating Log
-
|
|
|
|
|
|
|
Originally posted by tengkubasri at 22-5-2008 11:19 PM
yes, tau.. tp site2 blogger tu ada database diorg sendiri.. diorg dah provide.. so mmg bende tu akan capture post time pe sume, save dalam database...
so, kalu ko nak implement, ko kene la ...
so camne nk implementkan bende tu dlm my database?..boleh tunjuk ajar I x??? (I gune cPANEL)
[ Last edited by gadget at 23-5-2008 10:26 AM ] |
|
|
|
|
|
|
|
I nk yg simple like tis aje..sape boleh tolong tunjukkan coding nye(eh coding ke?)
|
|
|
|
|
|
|
|
ok ni cara aku guna, tapi orang lain caranya mungkin berbeza
aku bagi yang simple je la
kat dalam css file ko tu, ko letak samting like this (ni untuk background berimage)
ul li a:hover
{
background-image:url('images/backgroundkalerbiru.jpg');
line-height: 50px;
width: 100px;
padding: 10px;
/*line-height, width dan padding tukar ikut suka hati sendiri*/
}
ni pulak untuk yang tak berimage, guna kaler je
ul li a:hover
{
background-color: blue; /*siapa yang tahu code kaler biru silalah edit code ini*/
line-height: 50px;
width: 100px;
padding: 10px;
/*line-height, width dan padding tukar ikut suka hati sendiri*/
}
tengok menjadi ke tak |
Rate
-
1
View Rating Log
-
|
|
|
|
|
|
|
soalan nombor dua ko tu pulak, apsal ko tak guna je blogging script yang sedia ada, macam wordpress? why reinvent the wheel, wahhh feeling speaking london |
|
|
|
|
|
|
|
Reply #17 artgeex's post
hihihi..speaking london ekk????
xkan xde script khas utk buat box comment tue? |
|
|
|
|
|
|
|
Originally posted by tengkubasri at 22-5-2008 11:19 PM
yes, tau.. tp site2 blogger tu ada database diorg sendiri.. diorg dah provide.. so mmg bende tu akan capture post time pe sume, save dalam database...
so, kalu ko nak implement, ko kene la simpan dalam database, k?
camne nak dptkan database tu???? |
|
|
|
|
|
|
| |
|