groups

name language licence
JavaScript Compressor - HelloWorld JavaScript GPL 2
Bookmarks_customJS JavaScript Other
delay function JavaScript Other
RwSetGet JavaScript Other
Dock Menu JavaScript JavaScript Other
extracontent.jq.js JavaScript Other
jQuery - show random div JavaScript Other
jsPathto.src.js JavaScript Other

< 1 2 3 4 5 >



language: JavaScript
licence: Other

jQuery - show random div

options: view full snippetsend to code collector
jQuery(document).ready(function($){
	/*
		A fellow RapidWeaver colleague asked my advice
		on the jQuery code required to build a Stack that would
		allow the user to drop in up to a dozen Stacks
		and only show one random Stack on each page load...
		and I do love a challenge!

		Here was my thinking on it. Each div needs to have two
		id's/classes, one that is common between them and one that
		is unique to each. For our sake here I am calling the
		common one .hideStuff and the unique ones .showStuff+
		(where "+" is 1 - 12).
	*/

	
(Continues...)