JoshBlackwood
-
Remove class for the link, when the div is closed
Something like this, perhaps: http://jsfiddle.net/CF6rf/2/ Just added the select class in the animate complete callback. Edit: This was done in a bit of a hurry, as I had a moment between meetings . . . there's a lag in updating the select cl…
-
When would text exceed boundaries
Glad I could help. I run into this a lot when building HTML email templates.
-
Can't click on my link.. Why?
Works for me! Latest version of Chrome in OS X Mountain Lion.
-
When would text exceed boundaries
Without looking at your code in action, I obviously can't say for sure, but it sounds like setting table-layout: fixed; on the containing table might do the trick. Might I ask why you're using tables instead of a CSS-based layout?
-
Newbie at CSS could use some help
This is actually a common gotcha. It's caused by the browser-interpreted whitespace between items set to display: inline-block;. Here's a great topic that details many of the most common fixes to this: http://css-tricks.com/forums/discuss…
-
Page Errors and Conditionally Loading Javascript
Why not just wrap the section of your code that's causing the errors in an if statement to check if it's on the right page before executing? I think something like this would work, and might be the simplest way to prevent the errors: //Sk…
-
@font-face icon font not working in firefox
See: this link and this link And long story short, add this to your .htaccess: Header set Access-Control-Allow-Origin "*" Though I would recommend setting that to your domain, instead of an asterisk. Just to be safe.
-
How to do this navigation properly ?
@Merri, zoom: 1; is needed to even make the width register in IE7, actually. This is because we're telling IE7 to render the element as inline, and inline elements can't have set width's unless they're positioned (which takes the…
-
How to do this navigation properly ?
I always forget about IE7. Mostly because I hate it, and believe in killing it with fire. But here's how to fix it in IE6/7: .main-nav li { display:inline-block; text-align: center; width: 12%; vertical-align: middle; /* For IE 6/7 *…
-
URGENT! Several compatibility issues in IE
I fired up a clean instance of IE9 in a virtual machine running a clean install on Windows 7, and it looks identical to what I see in the latest versions of Chrome and Firefox on Mac OS X (Mountain Lion). To fix the white-space, you can do one of t…
-
How to do this navigation properly ?
cause i would have used "logo" as my blog title so I don't think it's the same as h1 for SEO. It's really not good practice, IMO and many others, to use an h1 for your logo anymore. Nor does it make sense from an SEO pe…
-
How to do this navigation properly ?
Well, the proper and correct way to do it would be more like this: http://codepen.io/JoshBlackwood/pen/koKHG Credit goes to @andyunleash for the general method.
-
Styling a menu that is given a dynamic ID
CSS attribute selectors to the rescue: ul[id^=accordion-menu] { /* Your styles here. */ } Reference: http://coding.smashingmagazine.com/2009/08/17/taming-advanced-css-selectors/
-
Batch compression or optimization or reduce white spaces of.css .js and .html code
Doesn't CodeKit do this automagically with a bit of configuration? I know it does CSS and JS, and I'm pretty sure it'll compress HTML as well now. If you can't use CodeKit, perhaps something like the HTML5 Boilerplate ant build …
-
Multiple ul's
Can you link us a live site where we can see this in action, or set up a CodePen?
-
Reload page when browser hits a specific width
I'm not sure why you would want to do this, and it seems like bad practice, but here's how you could do this with jQuery: $(window).on("resize", function() { var w = $(this).width(); if ( w === 768 ) { location.reload();…
-
Change content in DIV based on link click
Yarp, I would think it'd be better to have the data already on the page, and grab it something like this: http://codepen.io/JoshBlackwood/pen/yoLBJ Basically, I've got an id set on each image, then a class on each bio div which matches, b…
-
Firefox ignoring max-width:320px media query
That line of about:config has nothing to do with this, actually. It simply controls whether JavaScript can resize your browser window, and is set to true by default, which means that a rogue script on a visited page can't control your window vi…
-
css 3 works on Mobile
Absolutely!* *For a given value of absolute.
-
need help getting my logo to rotate on rollover
You got it. In your theme (Highlights) go ahead and create a file called custom.css right in the theme folder. Your theme will load it automagically in addition to the theme's existing stylesheet. In that file, paste your CSS, with the followi…
-
iMDb - Personal Movies Database webapp - test drive
What CrocoDillon suggests works fine in Chrome's console . . . $('#title-search-form').submit(function(e) { e.preventDefault(); });
-
htaccess file is not working on the hosting server
What have you tried so far? Tell us what you're trying to accomplish with your .htaccess file. URL redirects? Cross-domain access of fonts for Firefox? Setting MIME-types? What's the goal? Tell us what isn't working, in detail. Are …
-
Making it ALL work together on the same page
Okay, wow. At first glance, you got problems. You're calling jQuery three different times, in three different places, all different versions (1.4.2, 1.5.1, and 1.7.1. One of these is stickyajax.js). Call it once (the latest version if possible…
-
Making it ALL work together on the same page
If you don't, we can't really help you troubleshoot it.
-
Helping People complete their education for better lives
Bravely bold Sir Robin rode forth from Camelot. He was not afraid to die, O brave Sir Robin. He was not at all afraid to be killed in nasty ways, Brave, brave, brave, brave Sir Robin! He was not in the least bit scared to be mashed into a pulp, Or…
-
Help in choosing a computer
Personally, I work on a maxed-out late 2011 MacBook Pro 15", and I love it. I got mine about two months before the Retina models came out, and I'm happy that I did, as I actually occasionally use my disc drive. :O I will say, save any RAM…
-
Fallback font style
Actually just read a really good article on this! A bit exhaustive, but it certainly answers your question, I think. Setting Weights And Styles With The font-face Declaration
-
A beginner question in jquery.
Aw, shucks. I'm just glad to help!
-
icon font for bullet points, tried li:before
Force of habit with me (even when I shouldn't)...too many clever tricks with pseudo-elements & borders. :) Ah, gotcha. Totally understand -- I'm used to working with our organization's 7,000+ line stylesheet, and there are wa…