Wednesday, 20 February 2013

English speaking doctor in Phú Quóc, Vietnam

I can't recommend him enough.

Dr Thomas Krüger
Dr.ThomasPQ@gmail.com
+84 1266 847 974


Saturday, 26 January 2013

Wordpress broken slider

Uncaught Error: Syntax error, unrecognized expression: [object Object][rel="2"]

Using an old-ish version of Woo's Diner theme, but with lots of mods so didn't really want to upgrade.

The way the pagination panel is created has changed in 0.5.5 of loopedSlider.js:
https://github.com/rbmntjs/loopedLiquidSlider/commit/89ed7891100e7ff6e1a291c1697833e0f6a0391e

So I just commented out the offending line on the server as the client isn't using it.

function current(times) {
if(times===slides+1){times = 1;}
if(times===0){times = slides;}
$(pagination,$t).parent().siblings().removeClass("active");
/* $(pagination+"[rel='" + (times) + "']",$t).parent().addClass("active"); */
};