If u have followed my javascript code for implementing an expand all, contract all feature on your blog then u may want to add this small piece of javascript that will auto-expand a post whenever a visitor clicks the permanent link on one of your posts.
Just add this code somewhere near the bottom of your blog template:
<script type="text/Javascript">
var pageURL = location.href;
if ( (pageURL.indexOf(".html")!=-1) && ( pageURL.indexOf("archive")==-1) ) {
expandcollapseAll();
}
</script>
Friday, June 30, 2006
Subscribe to:
Post Comments (Atom)
I have started this blog to keep track of all the interesting stuff I read about. In some cases, friends of mine have shared their cool stuff with me. I try to keep the headlines and descriptions short, so you must follow the links to read and decide for yourself if a topic is worth your time. Want to contribute? Just comment on any of the stories and I will be notified instantly.
No comments:
Post a Comment