Open links in new window javascript

This script automatically goes through all your links and inserts target=_blank;
Just copy and paste the following code to your page.
In order to work add id="bd" to your body element like:
< body id="bd" > 

<script type="text/javascript">
this.addEvent = function(obj,type,fn){
if(obj.attachEvent){
obj['e'+type+fn] = fn;
obj[type+fn] = function(){obj['e'+type+fn](window.event);}
obj.attachEvent('on'+type, obj[type+fn]);
} else { obj.addEventListener(type,fn,false); };
};

addEvent(window,"load",prepareLinks);

function prepareLinks(){
if(document.getElementById && document.getElementsByTagName){
if(document.getElementById('bd')){
var content= document.getElementById('bd');
var links = content.getElementsByTagName('a');
for( var i=0; i < links.length; i++ ){ links[i].target = "_blank"; links[i].className = "external"; }
}
}
}

</script>
by Nevyan Neykov



Photoshop for web design - video tutorial

Here is a video on how to create simple webpage with photoshop.

In this tutorial we look at:

* how to make simple button
* using the slice tool to create whole webpage

* how to edit and add simple HTML source code

by Nevyan Neykov



Ajax poll system


Update
Here is the new version of AJAX poll script.

Here you can download the new and updated version of the script. Now tracking all of your web pages automatically. You just have to include it to the desired page.
DEMO

ADMIN



With this package you can:
* Create new polls with unlimited number of fields
* Display multiple polls on a same page
* Vote easily without going out to another page

by Nevyan Neykov



SEO penalty checklist: 404 and 301redirects

Do you know what's the difference between these two? (where to find them? hint: look at your .htaccess file)
ErrorDocument 404 http://your_website.com/error404.php

ErrorDocument 404 error404.php
It appears that the first line returns 302 Found header code and then redirects to your 404 page. - a really bad thing from a SEO standpoint which gets penalized. More info on how to fix it here: 302 hijacking
The second line gives you the normal 404 page returning a proper 404 header code.


It also appears that using too many 301 redirects cause penalty. But how's that?
Can you recognize this code?
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L] 
You may know that it's OK when you have several empty PR5 domains to redirect them to your website via 301 temporary header redirect. But what happens if they already have some kind of penalty applied. Well it automatically transfers to your new domain, because as you've might noticed 301 is actually a PERMANENT redirect.
One must be really careful about these things. Now go ahead and fix all your 404 and 301 redirect headers!!! by Nevyan Neykov



Review of a future antivirus software or HIPS

On this video you'll see why it's great to have a Host Intrusion Protection System such as the free DefenseWall.
The program comes handy when you get infected with nasty viruses. Like those that use self modifying code, load up even in safe-mode or damage the system files like Virut variants. In such extreme cases sometimes the only option left for the user is to format and do a clean reinstall which takes time.

But before giving up try DefenseWall from http://softsphere.com. The program creates a sandbox in which runs every new application. Once inside the process has limited privileges/resources and if misbehaves you have the choice to delete the process and automatically rollback the system to its previous working state.

Every time a process tries to access your protected area or spawn a new one out you get notified and you can choose to allow, disallow this action or terminate the initiating process.
By default all the running applications are being untrusted, but you can also create another group of trusted applications that you frequently use.

Also you have one really wonderful tab called "Stop Attack" and if you press on the button Close untrusted processes the DefenseWall will automatically terminate all the untrusted applications.

If you are already infected just click on File and Registry tracks to search for, select and and delete all the malware/trojan/virus processes and their tracks.

Here is a quick intro on how to work with the program:



by Nevyan Neykov