User:Pokeresp/Sandbox

From Bulbapedia, the community-driven Pokémon encyclopedia.
Revision as of 15:58, 6 August 2008 by Pokeresp (talk | contribs)
Jump to navigationJump to search

An attempt to create a hidden text block, which would lock after being open. If only <a>'s were interpreted as normal hyperlinks, but, sadly, embedding html is not allowed, so <html> won't work...

<html>
<a href="javascript:void()" onclick="this.style.display='none';document.getElementById('songfirstverse').style.display='block'">Sing a song, please!</a>

I wanna be the very best
Like no-one ever was.
To catch them is my real test,
To train them is my cause.
<a href="javascript:void()" id="showkanto" name="showkanto" onclick="this.style.display='none';document.getElementById('showjohto').style.display='none';document.getElementById('kantoverse').style.display='block'">Kanto, please!"</a>
<a href="javascript:void()" id="showjohto" name="showjohto" onclick="this.style.display='none';document.getElementById('showkanto').style.display='none';document.getElementById('johtoverse').style.display='block'">Johto, please!"</a>

I will travel across the land,
Search in far and wide.
Is Pokémon to understand
The power that's inside?

My whole life has led to this,
Time to test my skills
I know I just can't miss
Gonna show the world

</html>