Hi, I hope this is the right group for this question. So, I am starting a new website project, and I wanted to start using the base jQuery theme from the beginning of the project. In the past, I have always built my CSS from the ground up... In other words, I have never used any of the themes. With that said, I have these questions: 1. <http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/base/ jquery-ui.css> If I wanted minimal jQuery theme styling, would the above style sheet be the best one to use? 2. How do you use the jQuery themes? I was thinking I would include the base styling, and then add "themes" to my CSS when it is needed. 3. Do you use the jQuery CSS for non-javascript manipulated elements? For example, should I use .ui-helper-clearfix on parent div of my floated navigation, even though jQuery is not touching it? In other words, do you use the jQuery CSS framework on everything, vs. just the jQuery manipulated elements? ===================== My main concern would be to use the jquery CSS framework on a big project, and then have to re-factor my code later because my approach and usage was wrong. Any thoughts? Tips? Thanks! M --
Hello, I like to use this online script to minify my js using YUI: <http://compressorrater.thruhere.net/> If I were to minify the raw jQuery source, would YUI compression work out of the box? Is there any reason why the YUI Compressor 2.4.2 would not work? Any tips? Thanks! M
Hi, I posted a message a while back asking about this: "SWF & animate() bug? Reloads swf. :(" <http://snipurl.com/sdz0f> But for some reason I can only reply to myself for those messages... Must be because the thread is old. Anyway, someone has posted a hackish fix here: <http://dev.jquery.com/ticket/4872> Hopefully this fix will get rolled into a future release of jQuery. :) Thanks! Micky
Hi, What would be the jQuery version of this: ================= function getFlashMovie(movieName) { var isIE = navigator.appName.indexOf("Microsoft") != -1; return (isIE) ? window[movieName] : document[movieName]; } ... ... $obj = getFlashMovie(name); ================= The above function works good (so far, only tested in Firefox/Mac), but I can't seem to get a working "jQuery" version. Any tips? Sorry if silly question... Have a great day! Cheers, M
Hi, For the sake of learning, does anyone know where I could nab a copy of the datepicker CSS that does not have any extra UI css? Basically, I just want to style the datepicker sans extraneous UI css. :) The "ui.datepicker.css" gets me pretty far, but I appear to be missing some styles. Should that stylesheet give me everything I need, or do I need the whole UI css in order for it to be styled correctly? Thank you! Cheers, M
Hello, This does not seem to work: // http://code.google.com/apis/ajaxlibs/documentation/ google.load("jquery", "1"); function OnLoad() { $(window).load(function () { alert('foo'); } } google.setOnLoadCallback(OnLoad); What am I doing wrong? Thank you! Cheers, M
Hi, Is this a stupid question? How easy is it to select a tab based on the URI hash? A quick and dirty solution was for me to use an absolute URI to the tab (i.e. http://site.com/index.php#tab-hash), but due to HTTPs restrictions, I have to make all my links root relative... Just kinda looking for a kick in the right direction. :) Thanks! M
Hi, Just wondering if anyone was/is able to find a solution to this bug: <http://dev.jquery.com/ticket/4628> I need to animate the container of a flash embed, but I can't have my flash re-loading every time the animation happens. On the other hand, I guess it is only happening in Firefox? I have only tested using FF 3.0.11 on a Mac. Anyone? :( Thanks! Cheers, Micky
Hi, I would like to put a border around every character in sentence... Is there an optimal way to do this with jQuery? I have an ideas as to how to do it (involves generating spans), but I would love to hear tips from the pros!!! Thanks! :) M
Hi, First, my code: ======== ... if ($alt_nav_ul.length > 0) { $alt_nav_ul.append('<li><a href="#" class="folioLink">Portfolio</a></ li>'); $('a.folioLink').click(function() { this.blur(); $folio = $('#folio').toggle(); return false; }); } // $alt_nav_ul ... ======== What would be the best way for me to also look at the uri hash? I would like #folio div to show if there is a hash in the uri: <http://www.site.com#portfolio> But I also want the href to handle show/hide of the #folio div. Not looking for the exact code... Just kinda curious as to the best approach to handling the hash -- I have never used a hash in my jquery scripts before. :) Any tips ya'll can send my way would be spectacular! Many thanks in advance! Cheers, M
Does this: $('input[@name="status"]').attr($attr_options_01); Need to be this: $('input[name="status"]').attr($attr_options_01); With the latest version of jQuery? I was reading somewhere on this group about this type of change? Any other similar changes I should be aware of? Thanks! Micky
Hey guys/gals, For some reason, I only have the option to "Reply to author" on this thread: <http://groups.google.com/group/jquery-en/browse_thread/thread/ 484d6cd5fd2a64cd> So I am starting a new thread here... For me, the technique Klaus proposed worked when I added "display:block": .tabs .ui-tabs-hide { display: none; } /* Fixes google maps: */ .tabs #story-map-tab.ui-tabs-hide { display: block; position: absolute; top: -999em; left: -999em; } For my particular setup, I only wanted the Maps tab to use "position:absolute"... All other tabs were fine using "display:none" Anyway, the key, for me, is the "display: block". ...and the CSS must come before any of your JS for this to work. Before I used display block, I was getting a lot of gray boxes on my tabbed map object. Cheers! Micky