Current date/time is Thu Nov 21, 2024 2:13 am

Outside Skills

// 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%";}}

Outside Skills

   



  • Topics
    Replies
    Views
    Last Posts
  • No message.
 

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
  • New posts New posts
  • New posts [ Popular ] New posts [ Popular ]
  • New posts [ Locked ] New posts [ Locked ]
  • No new posts No new posts
  • No new posts [ Popular ] No new posts [ Popular ]
  • No new posts [ Locked ] No new posts [ Locked ]
  • Announcement Announcement
  • Sticky Sticky
  • Global announcement Global announcement