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: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,056 |
Nodes: | 17 (1 / 16) |
Uptime: | 04:40:00 |
Calls: | 501,028 |
Calls today: | 15 |
Files: | 109,384 |
D/L today: |
9,763 files (1,122M bytes) |
Messages: | 304,915 |
Posted today: | 2 |