Posts Tagged ‘css’

Forced mouse tracking of reading behavior

Mar 28, 2011 at 1:37 pm, Jared Stein

I just had the wacky idea that I could force users in an experimental situation to engage in movements that help track their reading behavior in a web browser. This method would employ Javascript and CSS–in short, the script would obscure text outside of the foveal vision area–the readable foveal vision area would be centered near the cursor, requiring the user to move the cursor with her fixations. Combine this with coordinate-based Javascript mouse tracking and user input that reports to a server via AJAX a la UsaProxy, and you’ve got an interesting, albeit limited, method of tracking eye movements (more…)

Condensing the “News” Feature of My Moodle Using a Show/Hide Javascript

May 19, 2010 at 2:19 pm, Jared Stein

The My Moodle feature in Moodle 1.9x displays a list of registered courses to a user after logging in. The nice thing about the list is that each course link is followed by a listing of any recent news or events in the course. Unfortunately in highly active courses this list becomes quite lengthy, and ultimately obnoxious as the length obstructs quick access to other courses in one’s view.

To remedy this I have, for quite some time, maintained a custom bit of very basic Javascript and CSS that sets the default view of news items to hidden, with a clickable link to show the entire list from the My Moodle page (more…)

The Joy of CSS max-width

Apr 7, 2010 at 8:38 am, Jared Stein

The CSS max-width property has long been a favorite of mine, most often used to restrict the flow of content depending on the user’s browser, such as we see in elastic layouts. Since I began making WordPress themes a couple years ago I’ve used max-width as a staple rule for media in my stylesheet, starting with images that might appear in a post (e.g. .post) (more…)

Blackboard Vista Triggers Quirks Mode

Apr 2, 2009 at 9:25 am, Jared Stein

Ever been annoyed by Blackboard Vista’s (or Campus Edition 6+’s) rendering of your XHTML + CSS web pages? Yeah, me too–especially on Internet Explorer. This happens because Bb Vista triggers a browser’s quirks mode in spite of DOCTYPEs and validated markup (more…)

Re. “CSS Angles” and the Future of Em-Based Scaling

Dec 3, 2008 at 11:43 am, Jared Stein

Sitepoint offered up an article by Tim Wright (CSSKarma), CSS Angles: Just the Edge Your Web Page Needs!, which shows that increasing the size of a single border property results in an angular object that can be placed behind things. After some experimentation I found a new solution and a new conundrum (more…)