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,041 |
Nodes: | 17 (0 / 17) |
Uptime: | 10:45:42 |
Calls: | 501,713 |
Calls today: | 6 |
Files: | 104,421 |
D/L today: |
1,086 files (879M bytes) |
Messages: | 298,377 |
Posted today: | 2 |