PDA

View Full Version : magical links



tanel96
December 25th, 2005, 03:54 PM
I have seen several sites with links like this:

link1
link2
link3

now if i click on "link2" for example i would like to accomplish this:

link1
link2
"blaaaa blaaa blaaa
blaaa blaaa blaaa blaaa"
link3

BUT i dont want the page to reload, so i cannot use php !

Any ideas ?

ScriptFlipper
December 25th, 2005, 06:29 PM
sure, here's a guide:
http://www.netlobo.com/div_hiding.html

Theros
December 25th, 2005, 11:10 PM
Javascript? I believe Nokrev has something similar...

tanel96
December 26th, 2005, 05:19 AM
yep, that did the trick... thanks a lot... but i was wondering if anyone knew a good layer's tutorial somewhere ?

nowadays everyone is abandoning tables and starting to use more and more div tags... i just thought it was time to get myself up to date :)

ScriptFlipper
December 26th, 2005, 08:00 AM
well, you could check out these sites:
http://www.w3schools.com/tags/tag_div.asp
http://www.w3schools.com/css/default.asp
http://www.quirksmode.org/css

Jeff Wheeler
December 29th, 2005, 05:38 PM
This doesn't use layers, but it does store a cookie to keep the data:
http://nokrev.com/code/hide-seek-content/

Plus, I wrote it myself :D