• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 03:21
CET 09:21
KST 17:21
  • 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
RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
Weekly Cups (Nov 24-30): MaxPax, Clem, herO win1BGE Stara Zagora 2026 announced14[BSL21] Ro.16 Group Stage (C->B->A->D)4Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win3RSL Season 3: RO16 results & RO8 bracket13
StarCraft 2
General
SC2 Proleague Discontinued; SKT, KT, SGK, CJ disband Weekly Cups (Nov 24-30): MaxPax, Clem, herO win BGE Stara Zagora 2026 announced Information Request Regarding Chinese Ladder SC: Evo Complete - Ranked Ladder OPEN ALPHA
Tourneys
$5,000+ WardiTV 2025 Championship Constellation Cup - Main Event - Stellar Fest RSL Revival: Season 3 Tenacious Turtle Tussle [Alpha Pro Series] Nice vs Cure
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress Mutation # 500 Fright night Mutation # 499 Chilling Adaptation
Brood War
General
Which season is the best in ASL? [ASL20] Ask the mapmakers — Drop your questions BGH Auto Balance -> http://bghmmr.eu/ FlaSh's Valkyrie Copium BW General Discussion
Tourneys
[Megathread] Daily Proleagues [BSL21] RO16 Group B - Sunday 21:00 CET [BSL21] RO16 Group C - Saturday 21:00 CET Small VOD Thread 2.0
Strategy
Game Theory for Starcraft How to stay on top of macro? Current Meta PvZ map balance
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread Should offensive tower rushing be viable in RTS games? The Perfect Game
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
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
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread The Big Programming Thread Artificial Intelligence Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Where to ask questions and add stream? The Automated Ban List
Blogs
James Bond movies ranking - pa…
Topin
Esports Earnings: Bigger Pri…
TrAiDoS
Thanks for the RSL
Hildegard
Saturation point
Uldridge
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1421 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 States24744 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
Next event in 3h 40m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ProTech19
StarCraft: Brood War
Hyuk 1197
actioN 723
Jaedong 709
Shuttle 466
BeSt 348
Stork 309
Tasteless 291
Larva 176
Soma 122
Leta 80
[ Show more ]
sorry 66
Killer 64
ZergMaN 59
Aegong 27
Backho 19
Noble 16
ajuk12(nOOB) 14
ivOry 13
yabsab 13
Dewaltoss 11
Shine 11
Bale 10
Sacsri 9
zelot 8
SilentControl 6
Dota 2
XaKoH 479
XcaliburYe101
NeuroSwarm91
League of Legends
JimRising 557
C9.Mang0292
Other Games
summit1g11799
Mew2King162
Happy32
Organizations
Other Games
gamesdonequick818
StarCraft: Brood War
UltimateBattle 72
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• practicex 33
• Sammyuel 16
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 6
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Rush1587
• Stunt666
Upcoming Events
Wardi Open
3h 40m
StarCraft2.fi
8h 40m
PiGosaur Monday
16h 40m
Wardi Open
1d 3h
StarCraft2.fi
1d 8h
Replay Cast
1d 15h
The PondCast
2 days
Replay Cast
2 days
Korean StarCraft League
3 days
CranKy Ducklings
4 days
[ Show More ]
SC Evo League
4 days
BSL 21
4 days
Sziky vs OyAji
Gypsy vs eOnzErG
Sparkling Tuna Cup
5 days
BSL 21
5 days
Bonyth vs StRyKeR
Tarson vs Dandy
Replay Cast
6 days
Wardi Open
6 days
StarCraft2.fi
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2025-11-28
RSL Revival: Season 3
Light HT

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
CSCL: Masked Kings S3
Slon Tour Season 2
Acropolis #4 - TS3
META Madness #9
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
Kuram Kup
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
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 © 2025 TLnet. All Rights Reserved.