▼
◄
►
nè Michael Murray Ryan in Long Beach, California, USA, 1961
part of the mmryan.net + californialanguagelab.com series, est. May 1, 2009
The javascript I use:
function toggle(id) {
var e = document.getElementById(id);
e.style.display = e.style.display == "none" ? "block" : "none";
}
Then create an anchor to control the toggling:
<a href="javascript:void(0)" onclick="toggle('thecode')">Show code</a>
<div id="thecode" style="display:none"> my code goes here <div>
Hi hung,
I used your script its working thank you
By
Ashok kumar
How did you get the Javascript into a blog post? I thought that Blogger blocked javascript in blogposts.
NathanKP - Inkweaver Review
Nathan, you can add javascript through your dashboard settings (adding elements).
TEST iFrame | see list |
architecture | more |