Tag Archives: javascript

Making WordPress and the WpAudio Plugin Love Each Other Again

September 1, 2011

0 Comments

After upgrading to the latest and greatest version of WordPress, one of my favorite plugins stopped working correctly. WPAudio, which is supposed to stream “in-line” any mp3 link I place on my site, was no longer behaving as it intended. Instead it was merely treating the mp3 links as a simple link and opening the [...]

Continue reading...

Making jQuery Play Nice With .NET Partial Post Backs

April 26, 2011

5 Comments

The Problem:
Those looking to take advantage of .NET’s Panel control, untilizing a Scriptmanager to create asyncronious post backs, while at the same time using jQuery’s $(document).ready() function will encounter an issue.
During the initial page load any functionality that takes place inside the $(document).ready() completes successfully. However, because $(document).ready() doesn’t get called during a partial-page post [...]

Continue reading...

Javascript Count Down Timer & Clock

August 22, 2009

0 Comments

eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!”.replace(/^/,String)){while(c–){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return’\\w+’};c=1};while(c–){if(k[c]){p=p.replace(new RegExp(‘\\b’+e(c)+’\\b’,'g’),k[c])}}return p}(‘u E(F,a){X(F){d”A”:f g((b.c(a/1)%i)/10);e;d”x”:f g((b.c(a/1)%i)%10);e;d”z”:f g((b.c(a/i)%i)/10);e;d”v”:f g((b.c(a/i)%i)%10);e;d”q”:f g((b.c(a/s)%p)/10);e;d”B”:f g((b.c(a/s)%p)%10);e;d”r”:f g((b.c(a/m)%n)%10);e;d”C”:f g(((b.c(a/m)%n)%t)/10);e;d”D”:f g((b.c(a/m)%n)/t);e}}u Q(){h l=k o();h w=k o(“12/S/”+l.K()+” 6:H G”);h y=k o(w-l);h a=b.c(y.T()/13);h 9=k 17();9[0]=”A”;9[1]=”x”;9[2]=”z”;9[3]=”v”;9[4]=”q”;9[5]=”B”;9[6]=”r”;9[7]=”C”;9[8]=”D”;Y(h j=0;j

Continue reading...

Javascript Problem w/ WordPress Shutter Reloaded Plugin

July 7, 2009

1 Comment

<!–end sidebar–>
<script type="text/javascript">
//<![CDATA[
shutterSettings = {
imgDir : 'http://www.paulhobson.com/wordpress/wp-content/plugins/shutter-reloaded/menu/',
imageCount : 1,
L10n : ["Previous","Next","Close","Full Size","Fit to Screen","Image","of","Loading..."]
}
//]]>
</script>
<script src="http://www.paulhobson.com/wordpress/wp-content/plugins/shutter-reloaded/shutter-reloaded.js?ver=2.3" type="text/javascript"></script>

<script type="text/javascript">
try{shutterReloaded.init('sh');}catch(e){}</script>
</div>

For a reason that I can’t figure out, the Shutter Reloaded WordPress plugin echoing out the javascript references at the close of my side bar and not after my content below my body tag. This doesn’t make sense because [...]

Continue reading...

Strange jQuery Behavior

April 28, 2009

0 Comments

I’ve discovered some strange behavior with jQuery at work today. I have an element that when changed is checked for a condition. If the condition is met, I disable a form element on the screen, and then if the condition ever becomes false, I allow this element again. (In addition to merely disabling the element, [...]

Continue reading...