LGF Front Page > TagViewer (entries by tag)
A technique I use at LGF to speed up the loading of Javascript files is to run them through a “minifier” script that removes spaces and extraneous formatting such as comments. Combined with server-side gzip compression, this produces the smallest possible download size. (There’s another technique for compressing Javascript called ...
LGF, Tech Note, jQuery, Javascript, Minify, Crockford, Linux, shell script
I received a couple of emails last night asking what happened to the lists of news sites and blogs that were in our right sidebar for years. They’re still here! Those sections have now been moved to the left sidebar, in that collection of “flippy triangle” menus. Just click the ...
LGF, Tech Note, Comments, jQuery, Javascript, User Interface, flippy triangles
The LGF interface cleanup continues; the “News/Opinion” and “Anti-Idiotarians” sections that used to be in our right sidebar have been moved to the left sidebar and set up as Flippy Triangle menus. (“Anti-Idiotarians” has been renamed to “Blogs.”) Both of these sections are dynamically refreshed via Ajax each time you ...
LGF, Tech Note, Comments, jQuery, Javascript, User Interface, flippy triangles
I’ve been using that Flippy Triangle technique to organize more of the stuff that used to be visible by default in our left sidebar, like the Statistics, the Tag Cloud, and the contact form. This user interface saves a lot of space; in fact, the sidebar looks almost naked with ...
LGF, Tech Note, Comments, jQuery, Javascript, User Interface, flippy triangles
You may have noticed that I've organized the stuff in our left sidebar with a series of "accordion" menus; some call this style the Flippy Triangle, since a little triangle indicates whether the menu is currently expanded or not, by ... flipping, believe it or not. Here's the technique I'm ...
LGF, Tech Note, Comments, jQuery, Javascript, User Interface, flippy triangles
You might have noticed that I’ve gotten rid of those pop-out menus in the left sidebar, and redesigned that section to use the same expandable “accordion” menus as the “LGF Headlines” and “Recent Comments.” Two benefits to this tweak: 1) It eliminates one jQuery plugin from our lineup of Javascript ...
LGF, Tech Note, Comments, jQuery, Javascript, User Interface
The LGF CommentSpy has been renamed simply “LGF Spy,” because its powers have been greatly expanded with little or no congressional oversight. In a nutshell, the LGF Spy now displays nearly every user-initiated action (comments, spinoff links, or ratings) that happens at LGF, in very close to real time. (Every ...
LGF, Tech Note, Comments, jQuery, Javascript, CommentSpy, LGF Spy
We’re unveiling a new feature for registered LGF users — the dreaded nefarious CommentSpy. The link shows up in your login panel at the top of the left sidebar. When you click that link, a new window opens displaying the most recent 10 comments posted in all front page articles ...
To make it more obvious which “pseudo-links” will cause some hidden content to slide into view, they’re now styled in green, with little “flippy triangles” to show that clicking them will display their associated content. Also, the “LGF Headlines,” “Recent Comments,” and “Top 10 Comments” all use a similar collapsible ...
In our left sidebar you will now discover a widget titled “Top 10 Comments.” When you click it, you’ll see the top-rated comments posted by LGF lizards during the last 24 hours. The list of top comments is produced with an Ajax call, so it updates each time it’s displayed. ...
Actually, they’re “regressions,” not “adjustments.” Versions 6 and 7 of Internet Explorer have bugs that prevent our new comment reporting and user profile features from working correctly; it appears that these versions of IE get very cranky if you try to create an IFRAME via Javascript that fills the entire ...
Internet Explorer, Javascript, BlockUI, jQuery, Report, Comments, Tech Note, LGF
As we continue to Ajaxify the LGF Blog Engine, the latest new feature is the user profile display, which appears when you click on a commenter’s personal icon. (Or if they haven’t uploaded a personal icon, the tiny green football.) Instead of opening a new window with the profile data, ...
LGF, Ajax, Javascript, Tech Note, jQuery, dialog box, Comments, profiles
To help us keep track of what’s going on in our comments, tonight we have some new features in our “report” function. The first thing you’ll notice is that there’s no longer a text link labeled “report” in the top line of each comment. Instead, there’s an icon that’s supposed ...
LGF, Tech Note, Comments, Report, jQuery, BlockUI, Javascript
Let’s check the PHP error log, shall we, and see what kind of spambots we’ve caught in our trap? When I installed our new spambot blocking code yesterday, I made sure to log all email script accesses that didn’t pass the token verification procedure. This lets me collect a list ...
LGF, Internet, Blogosphere, Technology, Spam, Bots, captcha, jQuery, Javascript, Security
Here’s an update to yesterday’s report on the spambot infestation at LGF, attacking our contact form and “email an article” form: both forms have been available and active since yesterday afternoon, and not one spam email has gotten through since I installed the token-based method (using the jQuery Javascript library) ...
LGF, Internet, Blogosphere, Technology, Spam, Bots, captcha, jQuery, Javascript, Security
Wee-oo wee-oo! Page reload alert! Wee-oo wee-oo! Yes, it’s time to reload the page again, as we install the fix for another annoying bug in our Ajax comments. To be completely sure you’re up to date, you may also want to clear your browser cache before hitting the refresh button. ...
LGF, Technical Info, Javascript, Ajax, jQuery, Comments, Metadata
If you’ve been plagued with a message about an “unresponsive script” when you load LGF, I’m happy to report that the problem is fixed. Non-techies may now proceed to the open thread ... For the techlizards amongst us, here’s the explanation, because it may help someone diagnose a similar problem. ...
LGF, Technical Info, Javascript, Ajax, jQuery, Events, window.unload
In the “Top Rated Links” area, you can now set how many links you want to display, from 5 to 25, in increments of 5. This value is saved in a cookie, along with the current category, the number of days, and the state of the link area (visible or ...
LGF, Technical Info, Javascript, Ajax, Spinoff Links, jQuery
One of the issues I considered when implementing the ‘Top-Rated Links’ feature was: how far back should the feature look? A day, two days, more? After some experimentation I settled on one day as a reasonable interval. But this meant that comment threads and conversations would disappear from the listings, ...
LGF, Technical Info, Javascript, Ajax, Spinoff Links, jQuery
With more than 10,000 links in the database already, less than a month after launch, it looks like the “spinoff links” feature is pleasing to the ravening bloodthirsty hounds of the lizard army. Since the click counter was developed and launched on January 16, we’ve recorded 122,200 total clicks on ...
LGF, Technical Info, Javascript, Ajax, Spinoff Links, jQuery
OK, call it “ECMAScript” if you want to get technical. But in the past week I’ve managed to trim more than 50K out of the Javascript/ECMAScript, by taking better advantage of the jQuery Library. Another huge savings: I switched away from our old Model T tooltip script to a jQuery ...
LGF, Technical Info, Javascript, Ajax, Spinoff Links, jQuery
Several readers suggested that I show how many times the spinoff links are clicked, as another measure of their popularity and/or brilliance and/or enticement factor, so tonight we’re proud to announce that so it is written, so it is done. In our spinoff links, next to the domain name (on ...
LGF, Technical Info, Javascript, Ajax, Spinoff Links, jQuery
A very irritating bug reported by several readers has bitten the dust tonight. I’m surprised more people didn’t complain about it, because it affected Internet Explorer 7 (but not 6, oddly enough!): if you showed the top rated links, the area opened correctly and slid down like it’s supposed to, ...
LGF, Spinoff Links, Technology, Ajax, Categories, Internet Explorer, Javascript, jQuery
The spinoff links feature has some enhancements tonight: * When you rate a link, the list of links is re-sorted to show you the new position of the link you just rated. * Starting earlier this afternoon, all links display their creation date. * The top rated links section uses ...
LGF, Technical Info, Javascript, Ajax, Spinoff Links, jQuery
The “daily archives” button is back in our left sidebar again. But this time the code checks which browser you’re using, and if it’s Internet Explorer you won’t see the button. The reason: the popup calendar module I’m using, even its latest version, still seems to sporadically trigger an Internet ...
LGF, Technical Info, Javascript, Refactoring, Ajax, jQuery, UI Datepicker