• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 15:45
CET 21:45
KST 05:45
  • 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
Rongyi Cup S3 - Preview & Info3herO wins SC2 All-Star Invitational14SC2 All-Star Invitational: Tournament Preview5RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0
Community News
Weekly Cups (Jan 12-18): herO, MaxPax, Solar win0BSL Season 2025 - Full Overview and Conclusion8Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets4$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)25Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7
StarCraft 2
General
StarCraft 2 not at the Esports World Cup 2026 herO wins SC2 All-Star Invitational PhD study /w SC2 - help with a survey! Oliveira Would Have Returned If EWC Continued [Short Story] The Last GSL
Tourneys
$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) OSC Season 13 World Championship $70 Prize Pool Ladder Legends Academy Weekly Open! SC2 All-Star Invitational: Jan 17-18 Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Simple Questions Simple Answers
Custom Maps
[A] Starcraft Sound Mod
External Content
Mutation # 510 Safety Violation Mutation # 509 Doomsday Report Mutation # 508 Violent Night Mutation # 507 Well Trained
Brood War
General
Which foreign pros are considered the best? [ASL21] Potential Map Candidates Gypsy to Korea BGH Auto Balance -> http://bghmmr.eu/ Fantasy's Q&A video
Tourneys
[Megathread] Daily Proleagues Azhi's Colosseum - Season 2 Small VOD Thread 2.0 [BSL21] Non-Korean Championship - Starts Jan 10
Strategy
Current Meta Simple Questions, Simple Answers Soma's 9 hatch build from ASL Game 2 Game Theory for Starcraft
Other Games
General Games
Beyond All Reason Nintendo Switch Thread Battle Aces/David Kim RTS Megathread Stormgate/Frost Giant Megathread Awesome Games Done Quick 2026!
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Lost love spell caster in Spain +27 74 116 2667
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Canadian Politics Mega-thread European Politico-economics QA Mega-thread NASA and the Private Sector
Fan Clubs
The herO Fan Club! The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
How Esports Advertising Shap…
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1016 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 States24753 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
Monday Night Weeklies
17:30
#38
RotterdaM1404
TKL 532
IndyStarCraft 343
SteadfastSC171
BRAT_OK 131
EnkiAlexander 51
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 1404
TKL 532
IndyStarCraft 343
SteadfastSC 171
BRAT_OK 131
ProTech124
JuggernautJason114
StarCraft: Brood War
Calm 1857
EffOrt 211
Shuttle 106
Soulkey 91
ivOry 12
NaDa 8
Dota 2
capcasts40
febbydoto6
LuMiX1
Counter-Strike
FalleN 4006
fl0m1971
byalli920
Foxcn392
edward155
adren_tv99
ptr_tv53
Heroes of the Storm
Liquid`Hasu518
Other Games
summit1g12222
Grubby2211
FrodaN1307
Beastyqt764
QueenE144
Mew2King45
Livibee43
ZombieGrub27
OptimusSC24
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 21 non-featured ]
StarCraft 2
• kabyraGe 162
• Hupsaiya 33
• mYiSmile15
• Reevou 4
• Kozan
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• intothetv
• Migwel
• IndyKCrew
StarCraft: Brood War
• 80smullet 24
• HerbMon 14
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV405
League of Legends
• Jankos2265
• TFBlade1357
Other Games
• imaqtpie1624
• Shiphtur221
Upcoming Events
OSC
3h 15m
Replay Cast
12h 15m
RongYI Cup
14h 15m
Clem vs TriGGeR
Maru vs Creator
WardiTV Invitational
17h 15m
PiGosaur Cup
1d 4h
Replay Cast
1d 12h
RongYI Cup
1d 14h
herO vs Solar
WardiTV Invitational
1d 17h
The PondCast
2 days
HomeStory Cup
3 days
[ Show More ]
Korean StarCraft League
4 days
HomeStory Cup
4 days
Replay Cast
5 days
HomeStory Cup
5 days
Replay Cast
6 days
Liquipedia Results

Completed

BSL 21 Non-Korean Championship
OSC Championship Season 13
Underdog Cup #3

Ongoing

CSL 2025 WINTER (S19)
KCM Race Survival 2026 Season 1
Acropolis #4 - TS4
Rongyi Cup S3
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025

Upcoming

Escore Tournament S1: W6
Escore Tournament S1: W7
Acropolis #4
IPSL Spring 2026
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Nations Cup 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 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.