Current date/time is Thu Mar 28, 2024 1:10 am
Technique Development
// Get the elements with class="column"var elements = document.getElementsByClassName("forum");// Declare a loop variablevar i;// List Viewfunction listView() {for (i = 0; i < elements.length; i++) {elements[i].style.width = "100%";}}// Grid Viewfunction gridView() {for (i = 0; i < elements.length; i++) {elements[i].style.width = "50%";}}Technique Development
- Shi no Tenshi Ti...
Thu Mar 31, 2016 7:17 pm
Guest
- Announcement & Sticky
- Replies
- Views
- Last Posts
Users browsing this forum: None
Moderators
None
Permissions in this forum:
You cannot post new topics in this forum
You cannot reply to topics in this forum
Legend
|
|