jamy_za
-
learn Jquery ( Newbie)
http://css-tricks.com/video-screencasts/20-introduction-to-jquery/ http://css-tricks.com/video-screencasts/35-intro-to-jquery-2/ http://jqfundamentals.com/
-
Is less better than Saas ??
@Senff I always thought it was SAAS - j/k. Ha, I was under the impression it was SASS and not Sass. Thanks for informing me/us.
-
How do you trigger Jquery function when dropdown menu option is clicked?
@Paulie_D yeah you can. So you would use the change, and then find out what the selected value of the select element is and then do something based on that value. http://codepen.io/JamyGolden/pen/IDqKA
-
Selecting a certain element from elements with same classnames
You don't really need javascript for that: http://codepen.io/JamyGolden/pen/Auovn You may not have more than 1 ID per page, so I changed the HTML IDs to classes.
-
Is less better than Saas ??
They are both great pre-processors. Personally I use Compass (which uses SASS) because it has a really greating spriting tool. http://compass-style.org/
-
Stuck with sub-menu
You're probably going to end up looking at :target for that. https://developer.mozilla.org/en-US/docs/Web/CSS/:target http://css-tricks.com/on-target/ However I'd suggest against it. Rather stick with javascript for functionality like tha…
-
Filter example in JQuery docs
$(element, context) So $('strong', this) is equivalent to $(this).find('strong') The snippet you've provided will return every that contains a element.
-
Classes on header, section, article, footer ?
@Rugg yeah it's generally a bad idea to style elements and IDs directly. A bad idea for ID's since they add 100 points to the specificity and this can/will start creating specificity wars.
-
What are the general rules on when to use OOCSS?
You should read this article: http://nicolasgallagher.com/about-html-semantics-front-end-architecture/ I wouldn't name my html class things such as .box-1, .box-2, etc. I develop my CSS modularly and I wouldn't know what a .box-1 module i…
-
How do i make this Jquery code shorter and more efficient?
"However, conventions and understandability don't need to (and shouldn't) stand in the way of efficiency." @traq company politics may not always allow that statement to be true. But I do completely understand and agree with wha…
-
How do i make this Jquery code shorter and more efficient?
@CrocoDillon You are quite right and it is goo to understand why it is a more efficient way of getting the attribute value, however, if you work in a group code consistency is important and the way one codes may change slightly compared to the way o…
-
How do i make this Jquery code shorter and more efficient?
$('[id^="staff_,member_"]').hover(function(){ // target element that has id that begins with var el_id = $(this).attr('id'), // get the id value num = el_id.substring(13); // strip all text but the num…
-
How to add a full width within a fixed div
Yeah, as Hugo said. So the 100% wide element would actually not be a "child" of the "parent". http://jsfiddle.net/ga7cE/2/
-
Text In Columns Bunched Up
http://codepen.io/JamyGolden/pen/xArHG I changed: #two-col and .column
-
How many people in here run Linux?
I ran Photoshop CS3 on WindowsXP performance edition, gave the VM 1.1gb ram off my 4gb ram. That worked for me :p
-
What made jQuery click for you?
http://css-tricks.com/video-screencasts/20-introduction-to-jquery/ http://css-tricks.com/video-screencasts/35-intro-to-jquery-2/ I avoided learning jQuery for a long time until I saw I saw Chris play around with it in those videos. @CrocDillon @Jo…
-
Double Column Not Working?
http://codepen.io/JamyGolden/pen/xkdjF Is that the kind of thing you're looking for?
-
How many people in here run Linux?
Aside from very specific games, I don't think there is a real reason to run Windows as your primary OS. I used Ubutnu for about 2 years without booting into Windows and used Photoshop. How you may ask? No, not wine :p I used to just use a VM fo…
-
Does anyone NOT use a preprocessor?
I don't nest anything besides media queries as can heavily add to the specificity. If you guys haven't already, perhaps you should read (and make use of the methods on a project before making up your mind) an article by Nicolas Gallgher -…
-
Does anyone NOT use a preprocessor?
Yeah, he's a troll guys, just ignore him.
-
How many people in here run Linux?
I run Ubuntu on my home PC. I also use Ubuntu Server while developing - I use Vagrant which runs a VM for my dev environment.
-
FOR loop with counter in variables
I'm guessing you've taken this into consideration, but in case not, traq's PHP example has a stray closing curly bracer.
-
Just a little mistake somewhere.
Something like that? http://codepen.io/JamyGolden/pen/xvzyd
-
Does anyone NOT use a preprocessor?
There's nothing wrong with not using a pre-processor, but it can definitely be useful. I use it primarily for 3 things: 1. Auto-create sprites 2. I work in a pretty modular fashion and have a ton of separate files. I could create a bash script…
-
Any similar codekit softwear for pc?
Check this out: http://alphapixels.com/prepros/ (I haven't used it yet, but looks decent)
-
HTML5 & CSS3 Template Structure
Have a look at the HTML5 Boilerplate, it's a good starting point most of the time.
-
CSS transparent background image hacks for IE6
Have a look at http://www.dillerdesign.com/experiment/DD_belatedPNG/ This may be a silly question to ask, but why are you developing for IE6 when it's pretty much got no browser usage share? http://www.ie6countdown.com/
-
Remove the last border right?
Perhaps you should use :first-child and change border-right to border-left. - This will add IE7 and 8 support. http://css-plus.com/2011/03/prevent-last-child-from-slowing-you-down/
-
Unable to position an element
You shouldn't really position layout with margin left/top. The changes I made are the first 6 lines of css. http://jsfiddle.net/ZFzp7/4/
-
How to set the height of sidebar equal to the height of content in CSS?
http://css-tricks.com/fluid-width-equal-height-columns/