Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Support
  • Code University
  • [ZB] Jquery Snippets Collection
Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ;)

Interested in joining? Click here.


If you are already a member of ZBCode, feel free to login right here:

Username:   Password:
Locked Topic
[ZB] Jquery Snippets Collection
Tweet Topic Started: Oct 29 2008, 06:12 PM (807 Views)
Fission Oct 29 2008, 06:12 PM Post #1
Member Avatar
Weegee

Posts:
45
Group:
Member
Member
#1,120
Joined:
Oct 4, 2008
Coding language
Everything
I think that all the people that know Jquery and Javascript should compile a list of small scripts that people can selectively add to their board. If you're interested, post your small code (please add a comment line before each code describing its use and possibly the creator) or codes and separate each by at least two line breaks.

If this is in the wrong place, please move it! I have no clue where else this would go.

Code collections:

Code:
 

// Remove the "Delete Topic" mod option--useful if you want to only utilize the Trash feature.
// Fission
$(".c_foot select option:contains('Delete Topic')").css("display","none");


// Remove the "Delete Posts" mod option--useful if you want to only utilize the Trash feature.
// Fission
$(".c_foot select option:contains('Delete Post(s)')").css("display","none");


// Remove the "Delete Selected Topics" button in the Trash Can--useful if you only want to utilize the trash feature
// Fission
$(".c_sort button:contains('Delete Selected Topics')").css("display","none");


Directions for Use: Place this in your Board Template, preferably in Below the Board or Above the Copyright:

Code:
 

<script type="text/javascript">
// Jquery Snippets Collection - zbcode.com
// ADD CODES BELOW HERE




// ADD CODES ABOVE HERE
</script>


And as the lines say, add the codes in between those two lines.
Edited by Fission, Nov 2 2008, 10:55 AM.
0110110101100101
 
There are 10 types of people in this world: Those who know binary, and those who don't.

Floatboxes. They float. || Posted Image Posted Image

Posted Image
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Code University · Next Topic »
Locked Topic

Track Topic · E-mail Topic Time: 7:45 PM Jul 10
Hosted for free by ZetaBoards · Privacy Policy