• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 18:42
CET 00:42
KST 08:42
  • 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 Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
ComeBackTV's documentary on Byun's Career !8Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15
StarCraft 2
General
When will we find out if there are more tournament ComeBackTV's documentary on Byun's Career ! Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win RSL Revival - 2025 Season Finals Preview Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament $5,000+ WardiTV 2025 Championship RSL Offline Finals Info - Dec 13 and 14! Master Swan Open (Global Bronze-Master 2) Winter Warp Gate Amateur Showdown #1:
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress
Brood War
General
How Rain Became ProGamer in Just 3 Months BGH Auto Balance -> http://bghmmr.eu/ FlaSh on: Biggest Problem With SnOw's Playstyle screp: Command line app to parse SC rep files [BSL21] RO8 Bracket & Prediction Contest
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] WB SEMIFINALS - Saturday 21:00 CET [BSL21] RO8 - Day 2 - Sunday 21:00 CET
Strategy
Game Theory for Starcraft Current Meta Simple Questions, Simple Answers Fighting Spirit mining rates
Other Games
General Games
Mechabellum Stormgate/Frost Giant Megathread Nintendo Switch Thread PC Games Sales Thread Path of Exile
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 Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI YouTube Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
The (Hidden) Drug Problem in…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1961 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 States24747 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
21:00
Best Games of Starcraft
SHIN vs ByuN
Reynor vs Classic
TBD vs herO
Maru vs SHIN
TBD vs Classic
PiGStarcraft661
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft661
StarCraft: Brood War
Shuttle 116
Mong 16
NaDa 9
Dota 2
PGG 98
LuMiX0
Counter-Strike
Foxcn181
Other Games
Grubby5811
FrodaN1201
Liquid`Hasu238
C9.Mang0170
B2W.Neo95
taco 80
Liquid`Ken53
Trikslyr40
ZombieGrub31
PPMD27
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• Hupsaiya 77
• RyuSc2 68
• davetesta57
• musti20045 35
• Kozan
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• intothetv
• Migwel
• IndyKCrew
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota22244
• WagamamaTV1104
League of Legends
• Doublelift4023
Other Games
• imaqtpie1741
• Scarra711
Upcoming Events
CranKy Ducklings
10h 19m
WardiTV 2025
11h 19m
Spirit vs Cure
Reynor vs MaxPax
SHIN vs TBD
Solar vs herO
Classic vs TBD
SC Evo League
12h 49m
Ladder Legends
19h 19m
BSL 21
20h 19m
Sziky vs Dewalt
eOnzErG vs Cross
Sparkling Tuna Cup
1d 10h
Ladder Legends
1d 17h
BSL 21
1d 20h
StRyKeR vs TBD
Bonyth vs TBD
Replay Cast
2 days
Wardi Open
2 days
[ Show More ]
Monday Night Weeklies
2 days
WardiTV Invitational
4 days
Replay Cast
5 days
WardiTV Invitational
5 days
ByuN vs Solar
Clem vs Classic
Cure vs herO
Reynor vs MaxPax
Liquipedia Results

Completed

Acropolis #4 - TS3
RSL Offline Finals
Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
CSL Season 19: Qualifier 1
WardiTV 2025
META Madness #9
eXTREMESLAND 2025
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

Upcoming

CSL Season 19: Qualifier 2
CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
OSC Championship Season 13
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
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.