User:Pokeresp/Sandbox

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search

Hidden text block

Attempt 1. Unsuccessful.

An attempt to create a hidden text block, which would lock after being open.

<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>

If only <a>'s were interpreted as normal hyperlinks, but, sadly, embedding html is not allowed, so <html> won't work...

Attempt 2. Semi-successful

Some experiment with links

For personal use.

EP001 Dawn Stone Not Existing Stone Dive Ball Foobar Ball Foobar!

JWBF

Hello, Pokémon world!