How can I make a js script toggle user.settings.USER_EXTDESC so that my f lists default to displaying all the diz's? :)
This is the code I use to toggle that:
if (user.settings & USER_EXTDESC)
user.settings = (user.settings & ~USER_EXTDESC);
else
user.settings = (user.settings | USER_EXTDESC);
I need to try and figure out what to do about the ssjs webserver :) I'm wondering...can I make a regular old index.html type of page, and still u some of the js synchronet commands in there? I'm thinking a sort of hybr service. Honestly, the only thing I'll neex is access to the messages, s
Re: user_extdesc
By: esc to All on Sat Sep 12 2009 20:05:01
How can I make a js script toggle user.settings.USER_EXTDESC so that my f lists default to displaying all the diz's? :)
This is the code I use to toggle that:
if (user.settings & USER_EXTDESC)
user.settings = (user.settings & ~USER_EXTDESC);
else
user.settings = (user.settings | USER_EXTDESC);
That works, but here's a short-cut:
user.settings ^= USER_EXTDESC;
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 91 |
Nodes: | 16 (0 / 16) |
Uptime: | 10:59:33 |
Calls: | 5,240 |
Calls today: | 4 |
Files: | 8,493 |
D/L today: |
107 files (71,059K bytes) |
Messages: | 354,309 |
Posted today: | 1 |