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: |
| Sortable categories (zb) | |
|---|---|
| Tweet Topic Started: Jul 2 2009, 11:05 AM (672 Views) | |
| Choco | Jul 2 2009, 11:05 AM Post #1 |
|
¡ʎɹoʇɔɐɟ ʎʇıʌɐɹƃ ɐ uı pǝddɐɹʇ ɯ,ı 'dןǝɥ
![]()
|
http://aquate.us/category.html In progress. Thoughts? =] (Obviously, that's not a real ZB forum. I just copied and pasted the HTML because the older jQuery version is screwing up the UI library an' stuff.) The code is like 3 lines long so far, but it's really retarded stuff so i'll fix it up later. It alerts the order of the categories after you've sorted them. It'll eventually save that order and automatically order the categories whenever you load the index (cookies!) |
It's a magical world, Hobbes, ol'd buddy... ...let's go exploring!In progress: Something Special ;) | |
![]() |
|
| Reid | Jul 2 2009, 11:10 AM Post #2 |
![]()
What? The land of the free? Whoever told you that was your enemy.
![]()
|
I have seen this idea before but I never bothered with it. Good luck with the cookies; they are devilishly irritating on ZB. |
| The Resource Board | |
![]() |
|
| Gorgor | Jul 2 2009, 11:13 AM Post #3 |
|
Hello
![]()
|
Whoa, that's so cool! |
![]() |
|
| HolySavior | Jul 2 2009, 11:15 AM Post #4 |
![]()
Modifying The World Around You
![]()
|
yeah the cookies are annoying just making our new expand/collapse code here was a pain.
|
![]() |
|
| Nivexonix | Jul 2 2009, 12:50 PM Post #5 |
![]()
only one, only you
![]()
|
O_O That's awesome. Too bad I don't know anything about coding here...otherwise I could insert some random comment about cookies too. Can't wait to see it finished up. =D
|
| |
![]() |
|
| Choco | Jul 2 2009, 02:01 PM Post #6 |
|
¡ʎɹoʇɔɐɟ ʎʇıʌɐɹƃ ɐ uı pǝddɐɹʇ ɯ,ı 'dןǝɥ
![]()
|
I dunno what type of cookie code you guys are using...I just use the read & write cookie functions from quirksmode.org and it's as simple as saying writeCookie("name","choco") and then readCookie("name"). ![]() Thanks for the comments so far.
|
It's a magical world, Hobbes, ol'd buddy... ...let's go exploring!In progress: Something Special ;) | |
![]() |
|
| Lout | Jul 2 2009, 02:10 PM Post #7 |
![]() ![]()
|
That is especially cool, and unfortunately I know absolutely nothing about coding either but great work all the same
|
| |
![]() |
|
| Reid | Jul 2 2009, 02:10 PM Post #8 |
![]()
What? The land of the free? Whoever told you that was your enemy.
![]()
|
Ah, that's true. I suppose you don't have to worry about the path at all since you don't have to have the cookie carry across the entire forum. When you try to make a cookie that is accessible on the entire forum, like in topics and stuff, etc, then it becomes very annoying. |
| The Resource Board | |
![]() |
|
| Choco | Jul 2 2009, 02:31 PM Post #9 |
|
¡ʎɹoʇɔɐɟ ʎʇıʌɐɹƃ ɐ uı pǝddɐɹʇ ɯ,ı 'dןǝɥ
![]()
|
I don't understand what you mean. Cookies are subdomain-wide, or at least that's what I understand them to mean. So the cookie works across the forum. My welcome PM script uses these functions and it reads cookies on the home and inbox page that were set on the registration page. Is it just me, or does anyone else feel it's odd to see this: ![]()
|
It's a magical world, Hobbes, ol'd buddy... ...let's go exploring!In progress: Something Special ;) | |
![]() |
|
| Reid | Jul 2 2009, 02:36 PM Post #10 |
![]()
What? The land of the free? Whoever told you that was your enemy.
![]()
|
Oh, I see. The cookie functions on quirksmode automatically assign a path for them. Very neat. They don't carry across like that, by the way. If you create a cookie without a path in a topic then it will not be able to be read on the index, for example. |
| The Resource Board | |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Code University · Next Topic » |


















just making our new expand/collapse code here was a pain. 
Can't wait to see it finished up. =D







7:46 PM Jul 10