Shaun Mccran

My digital playground

07
D
E
C
2010

Fable 3 review : post ending re think

When I first loaded up fable 3 I thought that it was a more accessible version of Fable 2. I was convinced that to try and reach a greater audience Lionhead had produced a dumbed down, easy to use for everyone, but un-engaging for actual gamers, experience.

I was wrong. The reason I've decided to write this Fable 3 article is because I've had a u-turn. I initially agreed with most of the game site reviews out there, but having played through it, I have a very different view.

[ More ]

08
N
O
V
2010

Why develop cross browser designs - why not code to specific browser strengths?

I've been working for a marketing Agency for the best part of a year now, and one of the things that always rear's its head in a digital project is the compatibility of designs in multiple browsers.

We have all encountered differences in design compatibility and functionality due to the browser vendor and version number, but the usual course of action is try and code solutions that address the differences in browsers in an effort to make them look and work in the same way.

This article examines why that is the case, and I put forward the argument that by doing this you are spending valuable project time trying to ensure the same user experience on different browsers, when it may be a much better idea to use that same development time coding to the strengths of each of those browsers, to create a more rich user experience instead of a more generic one.

[ More ]

03
N
O
V
2010

AD based revenue VS subscription income - Times UK Lost 4 Million Readers to Its Paywall Experiment

Tech Crunch released an article yesterday discussing the merits of the Times UK moving all their content behind a Paywall. It is an interesting read, but personally I think the comments section is a more informative take on the situation.

It does raise an old, but still valid question as to whether a business should choose advertising based revenue stream, or require users to subscribe to their services.

http://techcrunch.com/2010/11/02/times-paywall-4-million-readers/

[ More ]

02
N
O
V
2010

Permission denied for javascript methods, SSL security error between parent and child windows

I recently integrated a postcode lookup service into a checkout process, it constituted a pop up window, with a Webservice http call to return a JSON object of postcode data.

The data itself was returning successfully, and is output into a select field, so that the user can choose one of the address records from the many returned.

The problem I had arose when I ran a script to write the selected address data back from the pop up window to the parent window. Something like this:

view plain print about
1<s/cript type="text/javascript">
2    $(document).ready(function() {
3
4        $('.submitButton').click(function() {
5
6            var selectedPcode = $('.address').val();
7
8            if (selectedPcode == undefined) {
9                alert('Please select an address')
10            }
11
12            else {
13                //split the string
14                var mySplitResult = selectedPcode.split(",");
15
16                var street = mySplitResult[0];
17                var area = mySplitResult[1];
18                var town = mySplitResult[2];
19
20                street = jQuery.trim(street);
21                area = jQuery.trim(area);
22                town = jQuery.trim(town);
23
24// set the parent form field values
25window.opener.document.form.evAddress1.value = street;
26window.opener.document.form.evAddress2.value = area;
27window.opener.document.form.evTown.value = town;
28window.close();
29
30            }
31
32        });
33    });
34</s/cript>

The code above will just split out the address parts and write them out to the corresponding fields in a form in the parent window. At this point I was seeing an error message:

view plain print about
1Permission denied for javascript.... Line xxx

The problem stems from the fact that the parent window is served under SSL and the pop up was not.

So make sure that your parent and child windows are both served under the same protocol, otherwise I guess it is being stopped as an inject hack, as it appears to be on a different domain.

_UNKNOWNTRANSLATION_ /