Comments on: It’s all about CSS http://jqueryfordesigners.com/its-all-about-css/ Tutorials and screencasts Thu, 22 Sep 2011 12:58:42 +0000 hourly 1 http://wordpress.org/?v=3.3.1 By: 100 jQuery Tutorials and Examples | CSS Experiments http://jqueryfordesigners.com/its-all-about-css/comment-page-1/#comment-1678 100 jQuery Tutorials and Examples | CSS Experiments Mon, 02 Feb 2009 18:46:40 +0000 http://jqueryfordesigners.com/its-all-about-css/#comment-1678 <p>[...] It’s all about CSS- If you’ve got a good understand of CSS selectors, then you’re already familiar with how to query the DOM. [...]</p> [...] It’s all about CSS- If you’ve got a good understand of CSS selectors, then you’re already familiar with how to query the DOM. [...]

]]>
By: 51+ JQuery Tutorials and Examples at expertzweb http://jqueryfordesigners.com/its-all-about-css/comment-page-1/#comment-891 51+ JQuery Tutorials and Examples at expertzweb Mon, 01 Sep 2008 18:19:43 +0000 http://jqueryfordesigners.com/its-all-about-css/#comment-891 <p>[...] It’s all about CSS- If you’ve got a good understand of CSS selectors, then you’re already familiar with how to query the DOM. [...]</p> [...] It’s all about CSS- If you’ve got a good understand of CSS selectors, then you’re already familiar with how to query the DOM. [...]

]]>
By: Edwin http://jqueryfordesigners.com/its-all-about-css/comment-page-1/#comment-812 Edwin Sun, 17 Aug 2008 13:56:17 +0000 http://jqueryfordesigners.com/its-all-about-css/#comment-812 <p>Great introduction into jQuery, thank you very much!</p> Great introduction into jQuery, thank you very much!

]]>
By: prisca http://jqueryfordesigners.com/its-all-about-css/comment-page-1/#comment-223 prisca Sun, 27 Apr 2008 16:05:36 +0000 http://jqueryfordesigners.com/its-all-about-css/#comment-223 <p>Hi,</p> <p>thanks for a great site :) learning a lot on here ;)</p> <p>I've got a problem though with controlling this sliding down effect in a very specific manner... - as I'm new to this I would really appreciate any help, or pointers... </p> <p>I'm collecting my samples on this page here: http://dev.eyedea.eu/jquery/pages/slidepanel.html</p> <p>Basically, I would like to control the sliding element which reveals my content. I managed to get it working - it slides down fine. But I would like to stop it once it reaches a certain position, ie the very bottom of the window, and then assign it the CSS property of fixed (allowing page content to scroll behind it).</p> <p>My sample #6 works with a final result of how the page should look - m problem is that the panel slides out of the window entirely, then jumps into position.</p> <p>I think I am close - but cannot figure out to stop the sliding motion at the right moment (and if statement of some sorts I imagine). So the whole thing looks very clumsy ... my JS code (in addition to the JQuery link):</p> <pre><code>$(document).ready(function(){ $("#wrap").hide(); $(".btn-slide").click(function(){ $("#wrap").slideDown(); $("#wrap").slideDown("slow"); $("#wrap").slideDown(function () { $("#footer").css({ height: "84px", position: "fixed", bottom: "0" }); }); return false; }); });</code></pre> <p>Sorry to go on so long - but I have been trying to find a solution desperately and was trying to explain as clearly as possible. Any thoughts would be greatly appreciated....</p> Hi,

thanks for a great site :) learning a lot on here ;)

I’ve got a problem though with controlling this sliding down effect in a very specific manner… – as I’m new to this I would really appreciate any help, or pointers…

I’m collecting my samples on this page here: http://dev.eyedea.eu/jquery/pages/slidepanel.html

Basically, I would like to control the sliding element which reveals my content. I managed to get it working – it slides down fine. But I would like to stop it once it reaches a certain position, ie the very bottom of the window, and then assign it the CSS property of fixed (allowing page content to scroll behind it).

My sample #6 works with a final result of how the page should look – m problem is that the panel slides out of the window entirely, then jumps into position.

I think I am close – but cannot figure out to stop the sliding motion at the right moment (and if statement of some sorts I imagine). So the whole thing looks very clumsy … my JS code (in addition to the JQuery link):

$(document).ready(function(){
        $("#wrap").hide();
        $(".btn-slide").click(function(){
        $("#wrap").slideDown();
        $("#wrap").slideDown("slow");
        $("#wrap").slideDown(function () { $("#footer").css({ height: "84px", position: "fixed", bottom: "0" }); });
        return false;
    });
});

Sorry to go on so long – but I have been trying to find a solution desperately and was trying to explain as clearly as possible. Any thoughts would be greatly appreciated….

]]>
By: 51+最佳jQuery教程和示例 | 帕兰映像 http://jqueryfordesigners.com/its-all-about-css/comment-page-1/#comment-216 51+最佳jQuery教程和示例 | 帕兰映像 Fri, 25 Apr 2008 05:11:47 +0000 http://jqueryfordesigners.com/its-all-about-css/#comment-216 <p>[...] It’s all about CSS- If you’ve got a good understand of CSS selectors, then you’re already familiar with how to query the DOM. [...]</p> [...] It’s all about CSS- If you’ve got a good understand of CSS selectors, then you’re already familiar with how to query the DOM. [...]

]]>
By: Remy http://jqueryfordesigners.com/its-all-about-css/comment-page-1/#comment-27 Remy Tue, 05 Feb 2008 09:40:45 +0000 http://jqueryfordesigners.com/its-all-about-css/#comment-27 <p>@Tom - the second code looks right, so my bet is that it's not wrapped in a 'ready' statement:</p> <pre><code>$(document).ready(function () { $(”img.classname”).click(function() { /*stuff*/ }); });</code></pre> @Tom – the second code looks right, so my bet is that it’s not wrapped in a ‘ready’ statement:

$(document).ready(function () {
  $(”img.classname”).click(function() { /*stuff*/ });
});
]]>
By: Tom http://jqueryfordesigners.com/its-all-about-css/comment-page-1/#comment-26 Tom Tue, 05 Feb 2008 03:57:42 +0000 http://jqueryfordesigners.com/its-all-about-css/#comment-26 <p>I actually put the wrong code in my previous comment, should be</p> <p>$("img.classname").click(function() { //stuff });</p> <p>My html is a simple img with the class classname. I've tried this on anchor tags as well to no avail.</p> I actually put the wrong code in my previous comment, should be

$(“img.classname”).click(function() { //stuff });

My html is a simple img with the class classname. I’ve tried this on anchor tags as well to no avail.

]]>
By: Tom http://jqueryfordesigners.com/its-all-about-css/comment-page-1/#comment-25 Tom Tue, 05 Feb 2008 03:55:33 +0000 http://jqueryfordesigners.com/its-all-about-css/#comment-25 <p>Perhaps I'm doing something wrong, but I can't seem to get binding a click handler to elements of a certain class to work. I'm using jquery 1.2.2 and this code</p> <p>$("classname").click(function(){ //some things });</p> <p>html is </p> <p>Any ideas?</p> <p>TIA, Tom</p> Perhaps I’m doing something wrong, but I can’t seem to get binding a click handler to elements of a certain class to work. I’m using jquery 1.2.2 and this code

$(“classname”).click(function(){ //some things });

html is

Any ideas?

TIA, Tom

]]>
By: Jim http://jqueryfordesigners.com/its-all-about-css/comment-page-1/#comment-2 Jim Fri, 07 Dec 2007 20:45:57 +0000 http://jqueryfordesigners.com/its-all-about-css/#comment-2 <p>Of course you can also do:</p> <p><code>$('.hidden').css('display', 'none');</code></p> <p>I've always wondered if there is any speed difference between that and $('.hidden').hide();</p> Of course you can also do:

$('.hidden').css('display', 'none');

I’ve always wondered if there is any speed difference between that and $(‘.hidden’).hide();

]]>