• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 17:33
CEST 23:33
KST 06:33
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL21] Ro24 Preview Pt2: News Flash10[ASL21] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy18ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book20
Community News
$5,000 WardiTV TLMC tournament - Presented by Monster Energy2GSL CK: More events planned pending crowdfunding3Weekly Cups (May 30-Apr 5): herO, Clem, SHIN win0[BSL22] RO32 Group Stage4Weekly Cups (March 23-29): herO takes triple6
StarCraft 2
General
Quebec Clan still alive ? BGE Stara Zagora 2026 cancelled Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Weekly Cups (May 30-Apr 5): herO, Clem, SHIN win Rongyi Cup S3 - Preview & Info
Tourneys
GSL CK: More events planned pending crowdfunding $5,000 WardiTV TLMC tournament - Presented by Monster Energy Sparkling Tuna Cup - Weekly Open Tournament RSL Season 4 announced for March-April Sea Duckling Open (Global, Bronze-Diamond)
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
The PondCast: SC2 News & Results Mutation # 520 Moving Fees Mutation # 519 Inner Power Mutation # 518 Radiation Zone
Brood War
General
ASL21 General Discussion so ive been playing broodwar for a week straight. BW General Discussion Gypsy to Korea Pros React To: JaeDong vs Queen
Tourneys
Escore Tournament StarCraft Season 2 [Megathread] Daily Proleagues [ASL21] Ro24 Group F [BSL22] RO32 Group B - Sunday 21:00 CEST
Strategy
Fighting Spirit mining rates Muta micro map competition What's the deal with APM & what's its true value Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread General RTS Discussion Thread Starcraft Tabletop Miniature Game Nintendo Switch Thread Darkest Dungeon
Dota 2
The Story of Wings Gaming Official 'what is Dota anymore' discussion
League of Legends
G2 just beat GenG in First stand
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread The China Politics Thread European Politico-economics QA Mega-thread Trading/Investing Thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion Cricket [SPORT] Tokyo Olympics 2021 Thread
World Cup 2022
Tech Support
[G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Loot Boxes—Emotions, And Why…
TrAiDoS
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Iranian anarchists: organize…
XenOsky
ASL S21 English Commentary…
namkraft
StarCraft improvement
iopq
Electronics
mantequilla
Any Web Designers Out there?…
sob3k
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1887 users

I'm a n00b, making a website!

Blogs > Raithed
Post a Reply
Raithed
Profile Blog Joined May 2007
China7078 Posts
March 01 2008 02:25 GMT
#1
Here!!

So I'm using Dreamweaver(really good, but the learning curve is a bit steep but not unlearnable), my question is that, you know how TL.net has the spoiler tags? How does one do that using HTML or it cannot be done? It looks very newbish right now I know.

Can anyone give me pointers, etc?

Try
Profile Blog Joined August 2007
United States1293 Posts
March 01 2008 02:26 GMT
#2
What's the website for?
micronesia
Profile Blog Joined July 2006
United States24768 Posts
March 01 2008 02:28 GMT
#3
Advent Children?
ModeratorThere are animal crackers for people and there are people crackers for animals.
Raithed
Profile Blog Joined May 2007
China7078 Posts
March 01 2008 02:36 GMT
#4
It's just for personal use, blogging about random crap, and just mainly people wanting to know me better etc, that kind of site. Give me pointers!
SonuvBob
Profile Blog Joined October 2006
Aiur21550 Posts
March 01 2008 02:45 GMT
#5
The basics: (quote to see the html)
show surprise
SURPRISE!!!
Administrator
paper
Profile Blog Joined September 2004
13196 Posts
March 01 2008 02:50 GMT
#6
On March 01 2008 11:45 SonuvBob wrote:
The basics: (quote to see the html)
<a href="#" onclick="document.getElementById('surprise').style.display='';return false">show surprise</a><div id="surprise" style="display: none">SURPRISE!!!</div>


OMG A SURPRISE!!
Hates Fun🤔
Raithed
Profile Blog Joined May 2007
China7078 Posts
March 01 2008 03:10 GMT
#7
On March 01 2008 11:45 SonuvBob wrote:
The basics: (quote to see the html)
<a href="#" onclick="document.getElementById('surprise').style.display='';return false">show surprise</a><div id="surprise" style="display: none">SURPRISE!!!</div>

Whoa, Bob, is this javascript? It doesn't look like HTML to me. Oh and I got another question, I'll try to be crazy specific as possible.

I want to be able to do this in PHP, and I don't know PHP slightest. I have PHP.net, and I have one PHP as template, and another as a content. So basically, the template.php would always be there and always be included in the content.php.

...anyone follow?
berated-
Profile Blog Joined February 2007
United States1134 Posts
Last Edited: 2008-03-01 03:49:43
March 01 2008 03:37 GMT
#8
I think I understand what you are saying. Let me try to reexplain and then answer.

You want to keep the same page, but just reload the content?


You could have a header.inc and a footer.inc


You could have a div content that is your body that is your content.

so then everypage would be like,

<?php include("header.inc"); ?>

<div id = "content">

blah blah blah


</div>


<?php include("footer.inc"); ?>
Raithed
Profile Blog Joined May 2007
China7078 Posts
March 01 2008 03:56 GMT
#9
On March 01 2008 12:37 berated- wrote:
I think I understand what you are saying. Let me try to reexplain and then answer.

You want to keep the same page, but just reload the content?


You could have a header.inc and a footer.inc


You could have a div content that is your body that is your content.

so then everypage would be like,

<?php include("header.inc"); ?>

<div id = "content">

blah blah blah


</div>


<?php include("footer.inc"); ?>

YES! Exactly, something like this: + Show Spoiler +
[image loading]


So for the header.inc is it .inc or .php? Thanks, this is something I want.
fusionsdf
Profile Blog Joined June 2006
Canada15390 Posts
March 01 2008 05:47 GMT
#10
I've always used .php and then include

but its been a while :O
SKT_Best: "I actually chose Protoss because it was so hard for me to defeat Protoss as a Terran. When I first started Brood War, my main race was Terran."
jtan
Profile Blog Joined April 2003
Sweden5891 Posts
March 01 2008 09:50 GMT
#11
On March 01 2008 12:10 Raithed wrote:
Show nested quote +
On March 01 2008 11:45 SonuvBob wrote:
The basics: (quote to see the html)
<a href="#" onclick="document.getElementById('surprise').style.display='';return false">show surprise</a><div id="surprise" style="display: none">SURPRISE!!!</div>

Whoa, Bob, is this javascript? It doesn't look like HTML to me. Oh and I got another question, I'll try to be crazy specific as possible.

I want to be able to do this in PHP, and I don't know PHP slightest. I have PHP.net, and I have one PHP as template, and another as a content. So basically, the template.php would always be there and always be included in the content.php.

...anyone follow?

Best way is probably to start learning php, and then your specific questions becomes easier.

I learned php by myself by making a starcraft-clan website for me + friends back in highschool
It's pretty easy once you get started.
Enter a Uh
yenta
Profile Blog Joined April 2006
Poland1142 Posts
March 01 2008 11:09 GMT
#12
Read this article on Model View Controller Architecture with php website:
http://www.symfony-project.org/book/1_0/02-Exploring-Symfony-s-Code

Consider using a framework to build your site - its much easier to understand when half the shit is already written for you.

Also, spoilers are javascript - checkout jQuery or Prototype frameworks for easy javascript.
http://jquery.com/
http://www.prototypejs.org/
Trutacz Practice Discord - https://discord.gg/PWF7Pv
jhNz
Profile Blog Joined September 2006
Germany2762 Posts
March 01 2008 12:02 GMT
#13
On March 01 2008 12:56 Raithed wrote:
Show nested quote +
On March 01 2008 12:37 berated- wrote:
I think I understand what you are saying. Let me try to reexplain and then answer.

You want to keep the same page, but just reload the content?


You could have a header.inc and a footer.inc


You could have a div content that is your body that is your content.

so then everypage would be like,

<?php include("header.inc"); ?>

<div id = "content">

blah blah blah


</div>


<?php include("footer.inc"); ?>

YES! Exactly, something like this: + Show Spoiler +
[image loading]


So for the header.inc is it .inc or .php? Thanks, this is something I want.


you could use an iframe for that too.

<iframe width="100" height="100" framerborder .... ></iframe>

btw i have no clue, whether html code can be shown in my comment or not.
http://twitter.com/jhNz
d.arkive
Profile Blog Joined January 2007
United States843 Posts
March 04 2008 16:12 GMT
#14
Do you know a good site that will help you learn Dreamweaver ? I'm trying to start, but it's just so intimidating ><. Thanks!
"Refrigerator. Refrigerator, damn you. Refrigerator."~Spiritofthetuna, speaking in Haiku after losing
Bub
Profile Blog Joined June 2006
United States3518 Posts
March 04 2008 18:13 GMT
#15
I guess your first question has been answered. Anymore just ask and I might be able to help. You know the [yt] tag on TL? I liked the idea so much I got it on my forum too.. I had no idea it'd take quite some time to get it all working
XK ßubonic
Bub
Profile Blog Joined June 2006
United States3518 Posts
March 04 2008 18:16 GMT
#16
as for learning Dreamweaver why not just head over to Barnes & Nobbles? They have a nice variety not just on Dreamweaver but pretty much everything else too. That's how I learned the basics of FlashMX.

XK ßubonic
Please log in or register to reply.
Live Events Refresh
The PiG Daily
20:15
Best Games of SC
Rogue vs TriGGeR
Maru vs MaxPax
Rogue vs herO
Clem vs herO
Rogue vs Maru
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
White-Ra 184
PiGStarcraft163
StarCraft: Brood War
Britney 13792
Shuttle 350
Dewaltoss 102
Sexy 34
NaDa 11
Dota 2
Gorgc5715
Pyrionflax205
capcasts84
Counter-Strike
byalli692
Other Games
gofns23073
summit1g14129
tarik_tv4773
Grubby2841
FrodaN1449
C9.Mang0242
mouzStarbuck226
Liquid`Hasu195
ArmadaUGS134
ViBE48
ZombieGrub42
Organizations
StarCraft 2
angryscii 33
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• mYiSmile166
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• RayReign 35
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV353
League of Legends
• Doublelift1859
Other Games
• imaqtpie1203
• Shiphtur269
Upcoming Events
CranKy Ducklings
12h 27m
WardiTV Team League
13h 27m
uThermal 2v2 Circuit
17h 27m
IPSL
18h 27m
Hawk vs TBD
StRyKeR vs TBD
BSL
21h 27m
n0maD vs perroflaco
TerrOr vs ZZZero
MadiNho vs WolFix
DragOn vs LancerX
Sparkling Tuna Cup
1d 12h
WardiTV Team League
1d 13h
OSC
1d 15h
BSL
1d 21h
Sterling vs Azhi_Dahaki
Napoleon vs Mazur
Jimin vs Nesh
spx vs Strudel
IPSL
1d 21h
Artosis vs TBD
Napoleon vs TBD
[ Show More ]
Replay Cast
2 days
Wardi Open
2 days
Afreeca Starleague
2 days
Soma vs YSC
Sharp vs sSak
Afreeca Starleague
3 days
Snow vs PianO
hero vs Rain
GSL
3 days
Replay Cast
4 days
Kung Fu Cup
4 days
The PondCast
5 days
Escore
6 days
Liquipedia Results

Completed

Proleague 2026-04-09
RSL Revival: Season 4
NationLESS Cup

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
StarCraft2 Community Team League 2026 Spring
Nations Cup 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026

Upcoming

IPSL Spring 2026
Escore Tournament S2: W3
Acropolis #4
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
RSL Revival: Season 5
WardiTV TLMC #16
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.