James
-
Key press adds class to element
@Stack, You shouldn't be sniffing "navigator.appName" just to target a specific property (entirely unrelated). Instead you should be checking for the existence of either property and then using whichever one is available.
-
Is Jquery viewable on an Iphone?
If you're looking to deliver content on a wide variety of mobile devices then the best advice I can give is not to use any JavaScript library. They're largely untested and size will definitely become an issue across slow mobile networks. …
-
Strange behaviour Jquery
If you give a SCRIPT element a SRC then any code residing within it will NOT run. You have to include two SCRIPT elements; one to get jQuery and another for your code: // Your code...
-
Checking accuracy of a textarea [RESOLVED]
Hi Brian, I messed around a little bit and managed to solve your problem; here's a working function: function checkAcc() { var fieldTextWordCount = 0, mainWords = document.getElementById(\"bodyText\").value.split(\&qu…
-
#hashes and urls
Don't forget about the back button! Ajax is great for speeding up and enhancing websites but using it for main site navigation is a very big task; history management is an integral part of such a thing. You can't just throw around some cli…
-
Beginner JavaScript help
I thought I'd give it a go :) Here: function getPositionForToday() { var days = ('Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday').split(','), currentDay = (new Date()).getDay(); return 'It\…
-
Is it time for Access Denied ?
Ok, I can see where you're coming from but this is definitely a bad idea. You mentioned that you know of some sites that use JavaScript (solely) for functionality, what makes you think the developers of these sites are right? Many people have…
-
Need a Flickr Widget (badge)
I'm not sure if this is what you're looking for but if you have a look here, css-tricks.com/examples/, you'll see Chris' downloadable Wordpress theme (3rd one down). It includes a flickr widget - I'm not sure if it fits the …
-
wordpress poll
I don't use one at the moment but I did have a look at WP-polls. It's looks quite good. I tried integrating it but since I use a hard-coded sidebar (instead of widget based) it becomes quite a task! You could have a look at a poll service…