Neil Stewart Website
This site, built for photographer Neil Stewart, is the first site 76 Creative have launched this year. Built with PHP, it features categorized thumbnail galleries, the usual biog, links and contact information, and also a moving image section with an embedded Flash Video (flv). All of the navigation for the site is done using images to create the hand written look that we were going for, it uses a javascript to give the mouseover effect for the images. For me, this is one of the best designed sites I have worked on so far, as it has a distinctive style, yet it's simple and functional.
Check it out: www.photoneil.com






Hey Sam,
In the second example the window.open object and it’s properties are being assigned to a custom window object reference. This makes the process of isolating, controlling, and recognising individual window.open objects easier. Basically, the window object reference ties the main window to the sub-window as well as creating a link between the secondary window to its main opener window.
If you wanted to harden the function shown above some more you could do something like whats below. This ensures the creation code isn’t ran if the window already exists. You can also test and verify if a window is closed by using ‘w.closed’, err not done here.
function openWin(url){
var w=null;
if(!w)w=window.open(url,….);
else w.focus();
return false;
}
Using approches like these is very bad news. Best practice is to avoid using window.open() at all.
<a href=”#” rel=”nofollow”>
<a href=”window.open(…)” rel=”nofollow”>
Anyway, if you were to, ideally the event that fires this function should be attached to the link unobtrusively, however, at the end of the day it will be formed something like this…
…onclick=”return openWin(this.href);”
I.E 7 will put an end to developers setting certain properties by force, e.g. removing the address bar, due to accessibility and security reasons… No doubt someone will find a work around.
cheers, c-received
Hmmm.. muffed my code and turned it into real HTML … Should fix this soon mate, also have a look into Cross Site Scripting as it would be quite easy to do this on your site.. E.G
a=”get”;
b=”URL(\”";
c=”javascript:”;
d=”alert(’XSS’);\”)”;
eval(a+b+c+d);
blah blah…
or to test this way ..
”;!–”=view source
Hi c-received,
Thanks for your detailed response. I will indeed look into Cross Site Scripting. I think you are right that using the window.open(…) method is not great. This brief article was written after I’d spent ages scanning throught the code of about 4 or 5 wp plugins that I’d installed on a clients site to fix these popup window problems.
S