forked from Baystation12/Baystation12
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changelog changes! Instructions on how to update it will be soon.
- Loading branch information
1 parent
ed2af14
commit 4f2aa3d
Showing
16 changed files
with
130 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<!-- | ||
Stick old posts here to prevent cluttering of main changelog. | ||
--> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
/* | ||
function dropdowns() { | ||
var divs = document.getElementsByTagName('div'); | ||
var headers = new Array(); | ||
var links = new Array(); | ||
for(var i=0;i<divs.length;i++){ | ||
if(divs[i].className=='drop') { | ||
divs[i].className='drop closed'; | ||
headers.push(divs[i]); | ||
} | ||
if(divs[i].className=='indrop') { | ||
divs[i].className='indrop hidden'; | ||
links.push(divs[i]); | ||
} | ||
} | ||
for(var i=0;i<headers.length;i++){ | ||
if(typeof(links[i])!== 'undefined' && links[i]!=null) { | ||
headers[i].onclick = (function(elem) { | ||
return function() { | ||
if(elem.className.search('visible')>=0) { | ||
elem.className = elem.className.replace('visible','hidden'); | ||
this.className = this.className.replace('open','closed'); | ||
} | ||
else { | ||
elem.className = elem.className.replace('hidden','visible'); | ||
this.className = this.className.replace('closed','open'); | ||
} | ||
return false; | ||
} | ||
})(links[i]); | ||
} | ||
} | ||
} | ||
*/ | ||
/* | ||
function filterchanges(type){ | ||
var lists = document.getElementsByTagName('ul'); | ||
for(var i in lists){ | ||
if(lists[i].className && lists[i].className.search('changes')>=0) { | ||
for(var j in lists[i].childNodes){ | ||
if(lists[i].childNodes[j].nodeType == 1){ | ||
if(!type){ | ||
lists[i].childNodes[j].style.display = 'block'; | ||
} | ||
else if(lists[i].childNodes[j].className!=type) { | ||
lists[i].childNodes[j].style.display = 'none'; | ||
} | ||
else { | ||
lists[i].childNodes[j].style.display = 'block'; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
*/ | ||
function dropdowns() { | ||
var drops = $('div.drop'); | ||
var indrops = $('div.indrop'); | ||
if(drops.length!=indrops.length){ | ||
alert("Some coder fucked up with dropdowns"); | ||
} | ||
drops.each(function(index){ | ||
$(this).toggleClass('closed'); | ||
$(indrops[index]).hide(); | ||
$(this).click(function(){ | ||
$(this).toggleClass('closed'); | ||
$(this).toggleClass('open'); | ||
$(indrops[index]).toggle(); | ||
}); | ||
}); | ||
} | ||
|
||
function filterchanges(type){ | ||
$('ul.changes li').each(function(){ | ||
if(!type || $(this).hasClass(type)){ | ||
$(this).show(); | ||
} | ||
else { | ||
$(this).hide(); | ||
} | ||
}); | ||
} | ||
|
||
$(document).ready(function(){ | ||
dropdowns(); | ||
}); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.