User:Pokeresp/Sandbox: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
No edit summary
mNo edit summary
Line 43: Line 43:
| Well, this table has no border and no fixed width, but its title won't move when "[show]" is clicked. At least in my browser.
| Well, this table has no border and no fixed width, but its title won't move when "[show]" is clicked. At least in my browser.
|}
|}
==Some experiment with links==
For personal use.
[[EP001]]
{{evostone|Dawn Stone}}
{{evostone|Not Existing Stone}}
[[Poké Ball|Dive Ball]]
[[Poké Ball|Foobar Ball]]

Revision as of 00:15, 10 August 2008

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