Few days ago i asked a guy on this page for a code about toggleslide.It worked perfectly except that from the beginning the code shows the content which was supposed to be shown only after clicking the link.Can anybody fix it for me please?
<div id="StoryRightSidebar">
<<link "Your Skills">>
<<script>>
var $el = $('#your-skills').slideToggle({
'complete': function () {
State.variables.YourSkillsStyle = "display: " + $el.css('display') + ";"
}
});
<</script>>
<</link>>
<div id="your-skills" @style="$YourSkillsStyle">\
Math skill: $Mathskill
Literature skill: $Literatureskill
French skill: $Frenchskill
Physics skill: $Physicsskill
History skill: $Historyskill
Biology skill: $Biologyskill
Chemistry skill: $Chemistryskill
Geography skill: $Geographyskill
Art skill: $Artskill
Music skill: $Musicskill
Movie skill: $Movieskill
PE skill: $PEskill
Social skill: $Socialskill
</div>
</div>