Spam blocking with JavaScript and CSS

CSS, JavaScripting No Comments »

I got inspired by kari patila’s post where he uses CSS class to hide spam text using CSS and I wrote something my own by using JavaScript and content to write email address.

.email:after {
content: “@jpkeisala.com”;
}

<a class=”email” xhref=”http://www.jpkeisala.com/v6/#” mce_href=”http://www.jpkeisala.com/v6/#” onclick=”window.location = ‘mailto:’+this.innerHTML+’@jpkeisala.com’”>jp</a>

a bit ugly but i think it works.

When JavaScript is cool…

JavaScripting 2 Comments »

This is really cool especially for me old dhtml dude/today XSLT dude (and seems like AJAX dude tomorrow).

$(”ul#menu>li[ul] a.active”).toggle(function(){}

So, what is going on above? I am writing CSS selectors combined with XPath to target specific elements. Library that makes this all possible is called jQuery

XPath is a part of a part of it’s jQuery expression language together with CSS.
jQuery is really worth of checking out.

Iconfactory is on redesign progress

WebDesign No Comments »

and why is this intersting? Have a look their temporal site. They have a little animated story going on. By the time I write this there is 2 stories done. I waiting to see all 6 stories. Check out yourself iconfactory.

Top Ten Things They Never Taught Me in Design School

WebDesign No Comments »

designobserver.com has a very good post about a published piece in The Architect’s Newspaper from by Michael McDonough, the accomplished New York-based architect, writer and teacher, called “The Top 10 Things They Never Taught Me in Design School.

Web accessibility soon mandatory in EU

WebDesign No Comments »

C|NET writes that the 34 European Commission member countries just signed an agreement committing themselves to, “Internet for All”. Looks like EU will require accessibility of all public web sites by 2010, through compliance with the relevant W3C common web accessibility standards and guidelines.
There is going to be a lot of code cleaning in the future. It’s going to be intresting to see how well this will be adapted.

Yahoo Mail Worm

JavaScripting No Comments »

Now that the Rich Internet Applications are getting more and more popular, just like any other environment we are getting problems from the bad guys.  Now that the door is opened publicly there will be lots of crackers crawling through AJAX codes and finding holes to insert their own little exploits, this of course means that more security problems like the Yamanner worm are along the way.

What makes it a problem in AJAX world is that source-code is relatively easy to get and for writing an exploit you don’t have to be a clever guy, it’s pretty easy. Also for AJAX developers it’s very hard to filter out possible exploits and write safe JavaScript.

So how to solve security problems that JavaScript brings us?

Btw: Here is a source of XHR object that made all this possible.

Creating Bar Graphs with CSS

CSS, JavaScripting, WebDesign No Comments »

Polls or graphs are usually images generated from desktop software or web scripts perhaps sometimes flash+xml, and when it comes to web it is too much resource consuming to generate image on the fly.
Since we don’t have CANVAS or SVG yet on wide use there is a CSS trick.
The idea of using CSS to generate Bar Graphs could be very interesting in this case, and Apples to Oranges have a pretty interesting article describing in details how to create Bar Graphs with CSS.

symfony advent calendar

JavaScripting No Comments »

The PHP5 web framework Symfony has a “advent calendar” long tutorial series running. Each day will cover building a web application using Symfony.
The symfony advent calendar is a set of 24 tutorials, published day-by-day between December 1st and Christmas. A bit behind but here is the day one see also day eight it has some AJAX stuff.

EX4 (ECMAScript for XML)

JavaScripting No Comments »

Firefox 1.5 is bring developers a simple extension to JavaScript that makes XML scripting very simple it’s called EX4 (ECMAScript for XML). E4X support is part of JavaScript 1.6, which is delivered with Firefox 1.5. IE developers might be familiar with XML support through the Microsoft MSXML2 library but E4X is much simpler and easier. Read the rest of this entry »

New browsers goes 3D… kind of

WebDesign No Comments »

Australian guy Benjamin Joffe has developed Canvascape - “3D Walker”, a simple 3D first person game engine, this proof of concept uses JavaScript and <CANVAS> -tag introduced in Firefox, Safari and Opera. Screenshot below for old-school browser users. If you have latest FF, Safari or Opera Try game here.
Canvas Game
Not really a WOW experience but taking to consideration that it has been written in JavaScript and Canvas I have to say it’s cool.

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in