Got problems with your web pages when Internet Explorer isn’t in compatibility mode (eg. Is running as Internet Explorer 8)?
Try using this meta tag in the header of your pages;
<meta http-equiv=”X-UA-Compatible” content=”IE=EmulateIE7″>
Part 2 of this tutorial gives code to validate the form designed in part one, stopping spam and fake users submitting data.
Here is the code (it uses javascript);
<script>
function validate(form){
var name = form.name.value;
var company = form.company.value;
var description = form.description.value;
var telephone = form.telephone.value;
var contact = form.contact.value;
var AtPos = contact.indexOf(“@”);
var StopPos = contact.lastIndexOf(“.”);
if (description.length < 1) {
alert(“You [...]
This is my first real tutorial (more commented code than a real tutorial), and is as much for myself as everyone else (I’m using the blog as a sort of resource store for myself, with the added bonus that everyone else can see it too!).
Anyway, the idea here is some explained code to produce a [...]
Catagories:
Tutorials,
Website Design
Tags:
code,
contact form,
email,
email form,
form,
input,
mail,
php,
validation,
variables,
Website Design
Opened wp-admin page this morning to find 65 comments. Thought for a moment that I may have had a huge responce to a post but it turns out that over 80% of them were spam! Time for a bit of spam prevention.
I used a simple CAPTCHA wordpress plugin which doesn’t require real people to input [...]
The UK’s first “illegal music downloading website” court case ended today with all charges being dropped for website OINK!’s owner and developer.
The site made over $300,000 in donations, which were claimed to be used to rent servers and eventually buy one. OINK! didn’t host any illegal files on the servers, it simply indexed music [...]
For those of you in the know, you will understand the burden which is IE6. It’s far less efficient, and awkward to boot, at designing websites to look both good and work well. Amongst the problems are;
Images can’t be wider than 800px
Images can’t be .PNG
Padding is calculated differently
IE in general is a nuisance; things in [...]
So the new site is finally up and running. It’s already been optimized for IE and Firefox, but the menu is still causing problems on certain browser versions.
Please fill in the poll, it only takes two clicks and will help me loads! Feel free to comment too if you have time! I can add [...]
I recently read the blog ‘Is Twitter The Main Force Behind The Wave?‘, which was wrote by Alex Sleat (a personal friend of mine) and discussed the use of Twitter to not only market Google Wave but also spread invites. In response, here are my thoughts on the first three points raised in his article, [...]
I have had the ‘Google XML-Sitemap’ plug-in for Wordpress installed for a time now, and everything was working perfectly.
However, after the plug-in was updated some time last week it started showing errors in Google’s Webmaster Tools. The error was the following.
“Paths don’t match we’ve detected that you submitted your Sitemap using a URL path that [...]
Catagories:
Internet,
Tutorials,
Website Design
Tags:
design,
Google,
google analytics,
Google ranking,
Internet,
online,
Search Engine Optimisation,
sitemap,
Website Design,
Wordpress,
XML
Google have recently announced some new features, demonstrating again its dominance over the World Wide Web!
Google’s latest feature is the integration of ‘real-time result’s (RTR’s) including Twitter, Facebook and Myspace updates to be shown for relevant search results. Although the feature is currently limited to a minority of key words it will be built upon [...]