background preloader

Tena

Facebook Twitter

Useful

Video. Opensource. Javascript 1. Api. Web2.0. Database. For:tena_wtg. Rest 1. Css. Javascript 2. Rest 2. [brothercake] Generic onload. Version 1.1 - 1st November 2004 This script is an encapsulated onload function that doesn't interfere with other window.onload or <body onload> functions on the same page. The script works in all modern browsers (with javascript enabled). See the script in action The demo uses alert() dialogues to demonstrate the onload methods firing.

Get the script Download the zipfile [1K] and unzip it into your site directory, then you can either include the script on your page as it is: or copy the code into another script, and work with it from there: //GO1.1 :: Generic onload by brothercake - //onload function function generic() { alert('Generic onload function'); }; //setup onload function if(typeof window.addEventListener !

There may be limitations on where this can go, depending on the level of browser support you need ... Browser notes Mac/IE5 doesn't support any truly encapsulated onload methods, so the script has to use window.onload. TestSwarm jQuery Commits on Flickr. Adoption Questions - TENA SDA: Development. My Experience Writing a Build System. Lately there’s been some interest in build processes among various people — Vellum was announced a while back, Ben has been looking for a tool and looking at Fabric, and Kevin announced Paver.

At the same time zc.buildout is starting to gain some users outside of the Zope world, and I noticed Minitage as an abstraction on top of zc.buildout. A while ago I started working on a build project for Open Plans called fassembler. I think the result has been fairly successful and maintainable, and I thought I’d share some of my own reflections on that tool. Update: what we were trying to accomplish I didn’t make it clear in the post just what we were trying to do, and what this build system would accomplish. Our site (openplans.org) is made up of several separate servers with an HTML-rewriting proxy on the front end. We have a Zope server running a custom application, Apache running WordPress MU, and some servers running Pylons or other Python web applications for portions of our site.

The future. Re-thinking the website sign-up. There are a bunch of websites where you have to sign up as a user, a proces which normally requires that you hand over an email address which the site will validate by sending you an email with some sort of secret token (a URL) that you need to actually activate the account. As it happens, I’m implementing such a feature at the moment. Assuming that these sites aren’t actually harvesting the addresses for purposes of on-selling them or spamming them directly, it’s usually because they need a way to do things like: prevent a single person from creating an unlimited number of accountsprevent all but the most clever bots from creating accountspermanently ban troublesome users All of these are perfectly valid concerns.

Most sites that I am aware of require you to provide an email address when you create your account, at which time you also choose your username and password (and provide whatever other details are deemed necessary). So what’s the solution? Like this: Like Loading... How to Completely Test Your Website. Your site audience could be using a different browser or an operating system that you may have never worked on before, their system may not have certain fonts that are used in your site design, the resolution of their computer screen may be too low and so on. You may have developed your website using an expensive “what you see is what you get” editor but there’s no guarantee that site visitors “will get the website as you see it“.

You will need to extensively test the website to ensure that visitors have a comfortable stay and don’t leave your site in a jiffy. And here are some useful tools to help you completely check your website: Browsershots is an online service that automatically captures full page screenshot images of your website in various browsers across all different OS platforms. You also have the option to preview the website design in browsers with or without Flash, Java and JavaScript. Related: Use Opera Simulator to Unblock Restricted Websites.