js js

Safari Beta for Windows

June 12th, 2007
post #61 

Safari (beta, and for Windows), a bit of a damp squib this, I have a site in development for a client (and friend of old) with a strong Macintosh background. The site makes good use of the script.aculo.us library to animate items to the screen. I’d hoped this would allow me to stop switching machines quite so often for testing.

Loading the site up, I get no body text where I would expect it to load. The beta doesn’t seem to contain a Script debugger either. Reading through the docs for Safari I have to add the debug menu via terminal window (so no Win specific help then!).

I’m stuck now with a site I need to be exceptionally Safari friendly, but can’t debug. So am also stuck with a browser beta I can’t test any further.

Simple returns

September 22nd, 2006
post #22 

Simple Back Button generator (opens in a new window)

It’s not rocket science, in fact it’s probably not even breadmaker science, but it’s useful. Detects if there’s a history to return to before adding a back button to a menu of your choosing.

Our CMS generated breadcrumb trail reflects the site structure, not an individual user’s path into the site - this was one possible solution to the loss of adequate return navigation when you go from one site area (say a school) to another (a service team perhaps).

Drag n’ Drop CAPTCHA puzzle

September 8th, 2006
post #19 

Drag n Drop CAPTCHA mechanism screenie

Simply re-arrange the images to make a visible key before clicking submit.

Fiddling with Scriptaculous earlier today I had an idea for a CAPTCHA mechanism. Cycling through the $_POST array in PHP gives you the form data, in order of submission.Scriptaculous’ sortable feature allows you to change order of items in a List, so adding an image with corresponding hidden input field gives you a basic puzzle to satisfy the CAPTCHA requirement.

Simple Drag n’ Drop CAPTCHA (written 8th September, 2006, code available on request).

Still comes with all the same accessibility problems most mechanisms have (with the added JS requirement), but saves the need for image generation.This version *can* use any naming convention for the images and input field names, they’re generated and checked by an array so don’t need to be numerically ordered - which could be a giveaway.