Google Anyalitics, window.open() and IE
Introduction
This issue is that google analytics is not registering clicks from cairns.aust.com to a client site.
The analytic results for the client website seem to ignore the referrer url and log the hit as a direct link instead of logging the link to be associated with the cairns.aust.com
The current links look like this:
<a href="http://www.coraltowers.com.au"
title="http://www.coraltowers.com.au"
onmousedown="this.href = 'http://orion.tropotek.com/~godar/projects/cairnstoday.com.au/listingView.html?listingId=268&track=2';"
onclick="window.open(this.href);return false;"
rel="nofollow" class="link2" onfocus="this.blur();" >http://www.coraltowers.com.au</a>
We speculate that the onclick="window.open(this.href);return false;" is somehow stopping the referring url from becoming available in IE.
From preliminary tests using firefox the referring url is available and is transferring across to the new page using the onclick="window.open(this.href);return false;".
One suggestion has been to use target="_blank" to combat this. This is not ideal as it is not XHTML compatible and is a deprecated attribute. It is preferred to find a JavaScript solution.
I think that the target="_blank" method will not make any difference as is should not matter what method you redirect from one page to another as the referring page should remain. The most likely scenario is that Google Analytics is only logging 1 hit per IP address. This must also be check out on the google Analytics website.
PHP5 DOM Template Engine Released!
It's finally here, our first version of a PHP5 DOM Template Engine. It has been released to the open-source community and is available for download now.
We have been busy packaging a basic first release to guage if the system will be popular. If it goes well we will do more to the site and add more features like a wiki, forum, bugtracker, etc.
Javascript popup function
This week I would like to show you our example of a javascript popup function that has all the mod cons. When the popup function is called the new window is centered to the screen. If an existing popup window is open it is closed first to ensure window data is refreshed.
Godar's Game Development Library (Java)
We have place the "Godar's Game Development" Java libraries on this site. Although due to some data loss in the past the documentation is not complete.
The general idea of how to produce basic Java games and sprites still exsits. It is no longer maintained but it still may be of use to the wider Java development community. Therefore we have published the Java "Godar's Game Development" Library here.
Enjoy!
The Start Of the Tutorial Collection
Were of to a flying start with a number of tutorials published today. All revolve around PHP and we have a large eplanation of coding standards that we use for our code.
Have a read and feel free to Contact Us to update any errors in the tutorials.
PHPDruid Site Published
We are happy to announce the opening of the new PHPDruid web site. A repository of web development information. We hope other open source developers can benefit for the information paced here. As this is a relatively new web site it will take time to build up a library of content. So we encourage you to contact us if you have any content that you think you would like to publish on PHPDruid.com.

Results: 1 - 6 of 6