View Full Version : Post Rating - Not working under Safari 2 on Macintosh


Markus
25 September 2007, 17:25
I posted this (http://bbs.scoobynet.com/computer-related-34/637043-request-safari-2-users.html) thread in CR asking for Safari 2 users to rate my initial post as I had a feeling the post rating option wasn't working with Safari as clicking the icons didn't appear to do anything, whereas it did appear to work in Firefox.

If I copy the link for the post rating icon the code is as follows:
javascript:%20MyAjaxRequest('ratepost7280761','aja xratepost.php?p=7280761&r=0')

Looking in firefox the initial %20 (character escaping code for a space) does not appear, so it looks as though perhaps this might be the issue. Thanks to RichB for the suggestion on that point :)

ex-webby
25 September 2007, 17:43
Thanks Markus

I've made a small change. Please try again.

Simon

Markus
25 September 2007, 20:42
I've tried rating your post but it does not seem to have done anything. Of course it might simply be due to only me rating it and thus that won't increase/decrease the rating, however I'm sure you'll be able to see if I have rated the post or not.

Markus
25 September 2007, 20:57
I've had a peek at the code and my only thought is to add a semi-colon here:

javascript:MyAjaxRequest('ratepost7281431','ajaxra tepost.php?p=7281431&r=0');

Markus
25 September 2007, 21:00
My other thought is that it might just be that Safari 2 does not handle AJAX correctly in certain situations. I'm about to try Safari 3 so will report back shortly.

** Edit **

Same problem seems to exist in Safari 3.

I'm guessing you can only rate a post once? If so, is it possible to hide the rating buttons once you have rated the thread, as it would give a visual aid as to wether you have rated a post or not.

ex-webby
25 September 2007, 22:32
Markus

Your rating has appeared and has worked.

Bear in mind that the status doesn't change until enough ratings have pushed it in one direction or another.

Markus
26 September 2007, 01:05
Thanks Simon :)


LinkBacks Enabled by vBSEO 3.2.0 © 2008, Crawlability, Inc.