CariDotMy

 Forgot password?
 Register

ADVERTISEMENT

View: 3086|Reply: 16

Sidebar

[Copy link]
Post time 11-7-2006 04:06 PM | Show all posts |Read mode
bleh x sape 2 yg expert dgn web programming ajar camne nak handle bahagian sidebar website. Maksud saya, saya nak guna bahagian sidebar utk letak iklan. Maknanya kalu tukar iklan lain, semua sidebar web page sama. Website saya html je. X guna pun web programming...
Reply

Use magic Report


ADVERTISEMENT


Post time 11-7-2006 04:09 PM | Show all posts
Originally posted by alhaadi2 at 11-7-2006 04:06 PM
bleh x sape 2 yg expert dgn web programming ajar camne nak handle bahagian sidebar website. Maksud saya, saya nak guna bahagian sidebar utk letak iklan. Maknanya kalu tukar iklan lain, semua sideba ...

Sidebar camane? Leh bagi contoh?

Kalo nak simple nye.. cuba pakai iframe
Reply

Use magic Report

 Author| Post time 11-7-2006 04:21 PM | Show all posts
maksud saya bahagian tepi website, bleh rujuk kat website x seberapa saya ni...:nerd:. camne nak handle bahagian tepi ni? Kalu ada 10 web page, saya nak bahagian ni sama tanpa perlu ubah kesemua 10 page. Guna css ke??
Reply

Use magic Report

Post time 11-7-2006 04:29 PM | Show all posts
Guna CSS saya tak pasti. tapi boleh pakai iFrame

Mula2 compilekan dulu banner2 yang nak letak dalam page tu.. kena buat 1 page baru nieh..

Pastu letakkan code iFrame

Contoh code dia camni

  1. <iframe src="iklan__web.html" width="400" height="350" scrolling="no">
Copy the Code


Pastu leh letakkan code tu kat tempat yang nak diletakkan iklan tue.

Kalo nak edit segala banner, gi je kat page iklan__web.html tu

Sumber lain - http://www.w3schools.com/tags/tag_iframe.asp
Reply

Use magic Report

 Author| Post time 11-7-2006 04:55 PM | Show all posts
opsst, bukan css tapi php. Macam sidebar wordpress...
Reply

Use magic Report

Post time 11-7-2006 05:00 PM | Show all posts
Sidebar wordpress? tue complicated skit kot
Apalagi kena guna php
Reply

Use magic Report

Follow Us
 Author| Post time 11-7-2006 05:07 PM | Show all posts
nampaknya kena guna CMS lah senang skit...
Reply

Use magic Report

Post time 11-7-2006 05:12 PM | Show all posts
Originally posted by alhaadi2 at 11-7-2006 05:07 PM
nampaknya kena guna CMS lah senang skit...

Yup.. pakai je CMS. senang skit nak organize data
Reply

Use magic Report


ADVERTISEMENT


 Author| Post time 11-7-2006 05:18 PM | Show all posts
ok, tq...:tq:
Reply

Use magic Report

Post time 11-7-2006 06:23 PM | Show all posts
lah kalau pakai php lagi senang

paling cantik guna php ngan css...
kat css define sidebar area tu,
pastu create satu php file (cth: banner.php), lumpkan semua ads kat situ,
pastu dalam page buat macam ni:

<div id="sidebar">
<? include("banner.php"); ?>
</div>

lagi senang, clean coding
Reply

Use magic Report

 Author| Post time 11-7-2006 06:38 PM | Show all posts
saya rasa nak tukar website saya jadi shopping website. Kalu nak letak iklan, sila kanlah...
Reply

Use magic Report

 Author| Post time 11-7-2006 09:31 PM | Show all posts
Originally posted by shahnazz at 11-7-2006 06:23 PM
lah kalau pakai php lagi senang

paling cantik guna php ngan css...
kat css define sidebar area tu,
pastu create satu php file (cth: banner.php), lumpkan semua ads kat situ,
pastu dalam page b ...

masalahnya saya x reti pun php dan css ni...
Reply

Use magic Report

Post time 12-7-2006 12:28 AM | Show all posts

Host

Sebelum kau buat PHP, Host kau guna PHP tak?
Kalau tak, haaauuuuu...tak leh wooo
Reply

Use magic Report

 Author| Post time 12-7-2006 02:58 AM | Show all posts
hosting berbayar n support php n mysql...:nerd:
Reply

Use magic Report

Post time 12-7-2006 10:13 AM | Show all posts
Originally posted by alhaadi2 at 11-7-2006 09:31 PM

masalahnya saya x reti pun php dan css ni...

Jangan risau, tak susah...buat camni:

1. Ko buat new file... guna html codes biasa untuk letak image/text for ad banner/whatever. Document ni biar bogel... takyah guna tags <html><title><body> etc, terus buat <table><tr><td>ad info</td></tr></table>. Aku suggest kalau ko nak buat vertical 'sidebar' ko set terus table guna width yg ko nak. Letak image/text dalam TD tu and link kan cara html biasa.
2. Pastu savekan file tu as "adspace.php"

3. sekarang dalam sumer documents2 ko yg ko nak ada 'adspace.php' tu, ko letak codes ni kat tempat ko nak 'adspace.php' tu;

<?include("adspace.php");?>

Pastu bila ko nak tukar ad tu, ko tukar codes kat dalam 'adspace.php' satu tu jer and terus sumer pages will tunjuk new ad.

Ni cara yang paling2 basic. Selamat mencuba.

Edit: Sorry, sumer documents ko kena php.

[ Last edited by  0001 at 12-7-2006 10:16 AM ]
Reply

Use magic Report

 Author| Post time 12-7-2006 02:15 PM | Show all posts
saya akan cuba, tq
Reply

Use magic Report


ADVERTISEMENT


Post time 12-7-2006 05:07 PM | Show all posts
kalau guna wordpress senang apa, include kan jer la side bar <?php sidebar (); ?>

pastu updet la iklan dalam sidebar tu

p.s kalau nak saya designkan boleh, harga boleh dirunding.. opss iklan secara tidak sengaja
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

 

ADVERTISEMENT


Forum Hot Topic

 

ADVERTISEMENT


 


ADVERTISEMENT
Follow Us

ADVERTISEMENT


Mobile|Archiver|Mobile*default|About Us|CariDotMy

28-12-2024 10:16 PM GMT+8 , Processed in 0.054929 second(s), 29 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list