Set display block JQuery Toggle as default / CSS positioning -
this first time asking on great website (that i've been learning long time now). i'd grateful if me this: im working on free html5 template called "proximet".
on website:
i know how make toggles display block default. tried adding
style="display: block;
" somehowdisplay:none;
default. toggles open default.on other hand, know how make website occupy whole height of browser window. on 21 inch display, , website doesnt seem fulfill whole height of display. footer div placed on bottom of website if content area not filled content.
the display set "none" here:
// toggle box //########################################## $(document).ready(function(){ $('.toggle-trigger').click(function() { $(this).next().toggle('slow'); $(this).toggleclass("active"); return false; }).next().hide(); });
remove .next().hide()
code , elements stay visible
Comments
Post a Comment