• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 07:08
CEST 13:08
KST 20:08
  • 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
[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9uThermal's 2v2 Tour: $15,000 Main Event18
Community News
Weekly Cups (Aug 18-24): herO dethrones MaxPax6Maestros of The Game—$20k event w/ live finals in Paris34Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195
StarCraft 2
General
Greatest Players of All Time: 2025 Update A Eulogy for the Six Pool BoxeR's Wings Episode 2 - Fan Translation #1: Maru - Greatest Players of All Time Geoff 'iNcontroL' Robinson has passed away
Tourneys
$5,000 WardiTV Summer Championship 2025 Maestros of The Game—$20k event w/ live finals in Paris $5,100+ SEL Season 2 Championship (SC: Evo) Esports World Cup 2025 Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
External Content
Mutation # 488 What Goes Around Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below
Brood War
General
BW General Discussion No Rain in ASL20? Post ASL20 Ro24 discussion. BGH Auto Balance -> http://bghmmr.eu/ Recent recommended BW games
Tourneys
[ASL20] Ro24 Group F [ASL20] Ro24 Group E [IPSL] CSLAN Review and CSLPRO Reimagined! [ASL20] Ro24 Group D
Strategy
Muta micro map competition Simple Questions, Simple Answers Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread General RTS Discussion Thread Mechabellum Nintendo Switch Thread Dawn of War IV
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The year 2050 European Politico-economics QA Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s) Gtx660 graphics card replacement
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
How Culture and Conflict Imp…
TrAiDoS
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
INDEPENDIENTE LA CTM
XenOsky
[Girl blog} My fema…
artosisisthebest
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2348 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 States24698 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
Aiur21549 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
LiuLi Cup
11:00
Monthly Finals
MaxPax vs TriGGeR
ByuN vs herO
Cure vs Rogue
Classic vs HeRoMaRinE
Harstem188
WardiTV161
Rex50
CranKy Ducklings35
TKL 9
3DClanTV 7
IntoTheiNu 2
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Harstem 182
Rex 50
TKL 9
StarCraft: Brood War
Calm 5048
Britney 3138
PianO 1806
Horang2 1256
Rain 755
ZerO 437
EffOrt 411
Mini 351
BeSt 350
Stork 307
[ Show more ]
actioN 287
Larva 256
Hyuk 231
Light 222
ggaemo 165
Zeus 162
Mong 159
Mind 117
TY 110
Pusan 106
Leta 104
Hyun 104
Rush 76
Soulkey 63
ToSsGirL 55
[sc1f]eonzerg 47
Liquid`Ret 45
yabsab 44
Nal_rA 41
JYJ40
Sacsri 39
sorry 32
zelot 29
firebathero 28
soO 25
Sharp 22
Yoon 19
HiyA 14
JulyZerg 13
ajuk12(nOOB) 12
Sea.KH 9
Hm[arnc] 5
Dota 2
XcaliburYe235
XaKoH 131
League of Legends
JimRising 254
Counter-Strike
flusha148
zeus114
Other Games
summit1g7130
singsing1718
B2W.Neo649
Lowko237
SortOf150
oskar133
Happy131
DeMusliM126
Hui .98
Pyrionflax68
Dewaltoss12
ZerO(Twitch)12
MindelVK7
Organizations
Counter-Strike
PGL2223
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota279
League of Legends
• Jankos786
• Stunt485
Upcoming Events
Cosmonarchy
4h 52m
OyAji vs Sziky
Sziky vs WolFix
WolFix vs OyAji
Big Brain Bouts
4h 52m
Iba vs GgMaChine
TriGGeR vs Bunny
Reynor vs Classic
Serral vs Clem
BSL Team Wars
7h 52m
Team Hawk vs Team Dewalt
BSL Team Wars
7h 52m
Team Hawk vs Team Bonyth
Code For Giants Cup
11h 22m
SC Evo League
1d
TaeJa vs Cure
Rogue vs threepoint
ByuN vs Creator
MaNa vs Classic
Maestros of the Game
1d 4h
ShoWTimE vs Cham
GuMiho vs Ryung
Zoun vs Spirit
Rogue vs MaNa
[BSL 2025] Weekly
1d 6h
SC Evo League
2 days
Maestros of the Game
2 days
SHIN vs Creator
Astrea vs Lambo
Bunny vs SKillous
HeRoMaRinE vs TriGGeR
[ Show More ]
BSL Team Wars
2 days
Team Bonyth vs Team Sziky
BSL Team Wars
2 days
Team Dewalt vs Team Sziky
Monday Night Weeklies
3 days
Replay Cast
3 days
Sparkling Tuna Cup
3 days
PiGosaur Monday
4 days
LiuLi Cup
4 days
Replay Cast
5 days
The PondCast
5 days
RSL Revival
5 days
Maru vs SHIN
MaNa vs MaxPax
RSL Revival
6 days
Reynor vs Astrea
Classic vs sOs
Liquipedia Results

Completed

CSL Season 18: Qualifier 1
WardiTV Summer 2025
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
Acropolis #4 - TS1
CSL Season 18: Qualifier 2
SEL Season 2 Championship
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL 2025 AUTUMN (S18)
LASL Season 20
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
Maestros of the Game
EC S1
Sisters' Call Cup
Skyesports Masters 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
MESA Nomadic Masters Fall
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 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.