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: | fluid |
---|---|
Location: | wickliffe, ohio |
Users: | 5 |
Nodes: | 10 (0 / 10) |
Uptime: | 202:43:50 |
Calls: | 50 |
Files: | 15,838 |
Messages: | 50,758 |