karlpcrowley
-
AJAX initial page not loading in IE7
Ha silly me, it should start with $(window) not $(document)
-
AJAX initial page not loading in IE7
Just a slight change, both will work fine $(document).on('hashchange',function(){ if(window.location.hash == "") { window.location.hash = "home/"; } }).trigger('hashchange');
-
CSS mac style defaults on windows computer
I think he's referring to the defaults Some unstyled elements mimic the style of the OS they're on
-
show div when the checkbox is checked
@TheDoc You're definitely not a dick, it's the reason we're here :)
-
Jquery: If ul has no li
Ah yes, this is why I refactor my code, I always miss ! vs ==0
-
show div when the checkbox is checked
Here's some code that will do the job but you should change the selectors I've used http://codepen.io/karlpcrowley/pen/FHgct
-
Jquery: If ul has no li
This should do the trick http://codepen.io/karlpcrowley/pen/JboEi
-
Feedback on screencasts, pretty please!
Sweet! I'd like to see you do some SASS/Codekit specific videos As for the time issue you mentioned, I'd stick with longer videos for project tuts and shorter ones that get straight to the point for specific tasks
-
Suggested DOC type to avoid using unicode characters
as @traq said, you can you force UTF-8 with .htaccess using this AddDefaultCharset utf-8 AddCharset utf-8 .css .js .xml .json .rss .atom
-
Windows Editers for HTML , CSS , PHP
Sublime text 2 - Most use Notepad++ - Quick editing Aptana Studio - Remote editing Netbeans - Handy for getting started with frameworks
-
Firewall blocking Lightbox JS
open it up with chrome behind the firewall and use the dev tools if it is the firewall it will show errors on the resources tab
-
jQuery run function in a loop?
I'd use the setTimeout instead x function yourFunction() { // content of yourFunction setTimeout("yourFunction()", speed); } yourFunction();
-
Web dev apps for Mac
I still go for Filezilla on all platforms New to Mac too so I'll have to check these out, thanks guys
-
Coda for Windows?
Sublime text 2 is by far the best I also use Aptana for remote editing when needed
-
simple I don't know how PHP
if(mysql_query($sqlinsert, $link)){ //Query worked } else { //Query failed }
-
How to fix reversed comments pagination
I think you can do it with this
-
Syntax Error
Hmm, how about this $(function() { $('#slider1').anythingSlider({ mode: 'f', resizeContents: false, navigationSize: 20, resumeOnVideoEnd: true, resumeOnVisible: true, addWmodeT…
-
Syntax Error
Hey, try this $(function() { $('#slider1').anythingSlider({ mode: 'f', resizeContents: false, navigationSize: 20, navigationFormatter: function(index, panel) { return ['SFBG…
-
play-sound-on-hover does not work on host PC
Have you got a link to this on your server? It could be possible that the server is sending the wrong mime type for the file
-
Best CMS Choice for Starting a forum
this site uses Vanilla and Wordpress http://vanillaforums.org/ http://wordpress.org/ Here's a few other prebuilt forums http://www.phpbb.com/ http://www.simplemachines.org/ There's a lot of options so I'd suggest searching YouTube f…
-
jQuery typing detection
Fixed up for ya I wouldn't recommend starting from scratch with this, it would involve writing a regular expression for every type of html element which somehow ignores any attributes, I'm sure there's plenty out there Here's a…
-
Slide to unlock redirection
If you copied Chris's code directly you have a lot of webkit only features as stated in his article You may be able to work around by replace the gradients with images etc
-
[jQuery] hashchange not detecting all nav links?
it's all working for me :) Looking good too Just a few notes; I'd slow down the background changes Remove the .html from the URL as for changing the content, currently its change->slide up->slide down instead of slide up->change…
-
Chrome browser issues with a banner
Works fine for me in Chrome 18 and 21 Also checked FireFox, Safari and Opera and even IE8
-
Order of elements in "head" section of html document
I normally do it in this order; Meta charset (this should always be before the title) Title Other meta tags Styles and move my JavaScript to the end of the document before the closing the body
-
Controlling a Chat theme with CSS
The Google talk app is themed with CSS too :) For gradients this is handy to bookmark http://www.colorzilla.com/gradient-editor/
-
LinkedIn
Added you guys :) Chris, some job boards and agencies here in Ireland only take applications through LinkedIn, it's silly
-
CSS best practice, lots of classes or larger class definitions
I sometimes make helper classes that can be reused, stuff like "floatleft", "floatright", "halfwidth" "You should imagine them as parts of the perfect sub from Subway or Quiznos" - can't remember who twe…
-
LinkedIn
Howdy, Like all my accounts its the same username https://www.linkedin.com/in/karlpcrowley