↧
Answer by Jamie Cockrill for Javascript: select multiple div ID's
Here is an answer where the number of anchor (<a>) tags is derived from the number of div elements in your html body. No jQuery here either.If you give <div class="buttons"> an id and each...
View ArticleAnswer by joopmicroop for Javascript: select multiple div ID's
I see you work without jQuery so here is an answer without.Loop over all inner_div children and hide them by default,then show content div 1. Afterwards the hiding and showing is handled by the click...
View ArticleJavascript: select multiple div ID's
I'm using the javascript from this answer but since I want it for multiple pages, sometimes with more or less divs to show/hide I would like to call the function without listing all divId's. I've tried...
View Article