Hi guys, girls and Javascript experts!
I'm looking for some help with my blog. I want the tabs in the sidebar to be expanded by default, but am completely incapable of sorting out the code myself. I had a word with Mathiaus who very helpfully pointed out that the thing that I probably needed to edit was the javascript code. I believe it's somewhere in the following:
(Full code available here if needed)
Does anyone have any suggestions as to if and how I could achieve this?
Thanks for any input you can offer!
I'm looking for some help with my blog. I want the tabs in the sidebar to be expanded by default, but am completely incapable of sorting out the code myself. I had a word with Mathiaus who very helpfully pointed out that the thing that I probably needed to edit was the javascript code. I believe it's somewhere in the following:
| Code: |
| function initit(list, img, stylesheetpath)
{ var show = GetCookie(list); var listElementStyle=document.getElementById(list).style; if (show == "true"){ document.getElementById(img).src = stylesheetpath + "/img/up_light.gif" listElementStyle.display="block"; } else{ document.getElementById(img).src = stylesheetpath + "/img/down_light.gif" listElementStyle.display="none"; } } |
(Full code available here if needed)
Does anyone have any suggestions as to if and how I could achieve this?
Thanks for any input you can offer!
