Labs
NorthStarMortage.ca launches
We’re happy to announce that we’ve just launched a brand new website for NorthStarMortgage (www.northstarmortgage.ca), Canadian mortgage brokers offering the best mortgage rates from over 75 Canadian mortgage lenders.
If real life were like dealing with a bad client.
Pretty funny video. This happens in the web design and development world way too often. Enjoy.
Updated Flash Intro for BmwClient.com
We’ve just updated the flash intro on http://www.bmwclient.com with some pretty cool effects, and the brand new bmw m3.
Optimize your websites for speed and performance.
Read our article on speeding up and optimizing your websites at Optimizing Websites for High Performance
Simple Javascript Confirm Message using Mootools
As most of you know there are many ways to implement “confirm” messages for your websites, and we have come up with yet another. Confirm messages are important because without them important data could be deleted or changed by accident.
In the window event “domready” you have to add the following code:
$$('.confirm').addEvent('click',function(e){
var msg=this.title?'Are you sure you would like to: '+this.title+'?':'Are you sure?';
if(!confirm(msg)) e.stop();
});
After the initial code is implemented all that has to be done is to add a “confirm” class to a link and title to describe the action:
<a href="/product/delete/43" class="confirm" title="Delete item number 43">delete</a>
<a href="/product/save" class="confirm" title="Save current product">save</a>
When you click on the “delete” link you will be prompted with a confirm message “Are you sure you would like to: Delete item number 43?” and “save” link with “Are you sure you wouldl ike to: Save current product?”.
We’re on Facebook
You can now add us to your friends list on facebook. Our page is located at:
Google keyword tool. Search engine position tracking.
We’ve been working on a custom built application to track google search engine position over time. The application lets you enter any amount of keywords or phrases, set an interval time to scan, and graph keyword position changes over time. We think the application will be particularly interesting to those who wish to see the progress over time of their search engine campaigns, or search engine marketing. Here is a little teaser.
The application will be released to the public in a few weeks time. We’re still working out some kinks and trying to establish a competitive price plan. The application will also be extended to not only include Google, but other major search engines as well.
How to disable the submit button upon form submission
From time to time some of you may notice that you receive multiple requests from your form submissions. Be it an email or database record, the problem is not with your programming but with the actual form. Just see it for yourself, start clicking on your form’s submit button repeatedly and you will receive numerous submissions within seconds.
The following example will show you how to disable the submit button on form submission using mootools and it will work in most of the browsers.
window.addEvent('domready',function(){
$$('input[type=submit]').addEvent('click',function(e){
this.clone().inject(this,'after').set('disabled',true).set('value','Processing...');
this.setStyle('display','none');
});
});
What this code does is that it simply duplicates the submit button, injecting it after the original one, changing its text to “Processing…” and hides the original one. So it essentially looks like only the text is being changed. The reason why we are cloning the original submit button is because ie6 does not let you submit the form when you disable the submit button.
Enjoy
New website design and development for United Land Sales
We’ve just launched a brand spanking new website for http://www.unitedlandsales.com. Along with bringing the new website up to WC3 standards, we’ve also re-developed and re-programmed the entire property management system. Feedback and comments are welcome.
FashionHungry.net private beta signups open.
We’ve just opened up private beta signups to FashionHungry.net, a new and exciting fashion based social network allowing users to share and discover the hottest men’s and women’s fashions, trends and brands. Reserve your spot at http://www.fashionhungry.net/ today, they’re going FAST.