[jQuery] Any sample project practice to follow ?
Hi everyone knows how jquery works, but a project that needs to handle large amount of dynamic like Meboo.com , how actually coding in jquery will win prototype ? and which is the best practice to code in ? for example , each Tabs is dynamic, add , remove, rename, disable, hide, show and every new tab added must have the basic event handling like the above, And disable will actually give another new event handling .
[jQuery] weird problem with remove or toggle Class
I ve just downloaded new version of jquery 1.2.1 and i tried to do sth like that menu <div class="submenu hidden"> <div> zamknij wyloguj start <!-- trzeba zadbac aby przy relodowaniu nie ubic sesji --> </div> <div> kontrahent zamowienie produkt dokumenty wynik wyszukiwania </div> </div> and my simple code in JQ is $(function(){ $('#open_menu').click(function(){ var $r = $(this).next().filter('div'); $r.removeClass('hidden'); }); }); result is that i dont have any errors or warning in js console,
[jQuery] Open and search a .XML file
Can anyone provide me a link of how to open an xml file using JQuery?
[jQuery] strange slice and eq behavior with star ratings + jQuery 1.2.1
There is a line in the (Wil Stuckey's) star ratings plugin that looks like this: stars.eq(averageIndex).addClass('on').children('a').css('width', percent + "%"); I found that the eq() function was not returning 1 item, but rather all matching items from averageIndex to the end of the items. My first thought was that perhaps a bug was introduced when eq() was removed then readded. so I changed it to use a slice: stars.slice(averageIndex, averageIndex + 1).addClass('on').children('a').css('width',
[jQuery] [ANNOUNCE] jCarousel Lite - version 1.0
<div>Hi friends,</div><div> </div><div>I have finally released the 1.0 version of jCarouselLite plugin. There was a lot of feedback for the earlier revisions, and i sincerely thank you all for that, because that is what shaped this 1.0 release.</div><div> </div><div>Nicolas Hoizey and Mike Fern - As per your request, circular is now well, circular. The carousel won't rewind itself after the last element. Rather it will cycle as if there is no end. </div><div> </div><div>Anton - As per your request,
[jQuery] Plugin to format date string
I seem to recall seeing a plugin that would take a date-entry form field and reformat the date the user enters according to a predefined date format. Am I making that up? I can't seem to find it now. -- Owen
[jQuery] Plugin Question
Ok, lets say i make a plugin using this (function())(jQuery) format and it works like this: $('#something').plugin(); Now inside the plugin this is the access for the class, how do i access the jquery object that the plugin was called on? -- View this message in context: http://www.nabble.com/Plugin-Question-tf4516781s15494.html#a12883523 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] jQuery for Floating Div
Hi all, I'm trying to construct a "popover" menu that resembles the one on Amazon.com (put your mouse over "see all 43 product categories"). I'm not too familiar with jQuery/JavaScript, but I thought I would be able to do something like this: $(document).ready(function(){ $("#link").mouseover(function(){ $("#popup_menu").show(); return false; }); $("#popup_menu").mouseout(function(){ $(this).hide(); return false; });
[jQuery] Select event on SELECT box
Hi, Im having problems SELECT box. I have few options in my box. Some of them have class="unavailable" and for those I want to trigger an event. When you select option with that class: //Do something When you "deselect" it: //do something else I would like to find a solution for keybord and mouse select.... Thank you
[jQuery] jdmenu and new dimensions issue?
Does anyone know if the issue with the new dimensions(the one with the jQuery UI) is being worked out with jdmenu cause i need to use both or is there a menu system like jdmenu under development for release in the jQuery UI? -- View this message in context: http://www.nabble.com/jdmenu-and-new-dimensions-issue--tf4506665s15494.html#a12852921 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] slide to the left!
Hi everybody I'm looking for a plugin or something like that witch has the same functionality as the categories on http://www.deviantart.com/ (click on categories on the upper left side of the site...) What I'm after is the functionality that when you click a category it slides to the left and the subcategories appear with a back link. It would be great if it works with an unordered list!! I've been trying to mod the accordion plug in but I just won't get it right! so...any help would be much appreciated!
[jQuery] [NEWS] New ColdFusion Custom Tag for TableSorter
Brian Rinaldi has gone through the effort of simplifying server-side implementation of the jQuery UI TableSorter control within the ColdFusion application server. You can read more here: http://www.remotesynthesis.com/blog/index.cfm/2007/9/25/Sortable-Table-ColdFusion-Custom-Tag-with-jQueryUI As a developer and huge fan of ColdFusion I'm very happy to see this done. Great job Brian. Rey...
why would $('#foo') fail?
I have a webapp that uses JQuery (version 1.2) for doing javascript DOM manipulation. The webapp works great most of the time. However, we have an easily reproducible bug. 99% of the time, a particular call to JQuery's $('#foo') function works perfectly. But under one particular code path, it is unable to find the DOM object, even though the DOM object does seem to be there when looking at the page using "view source". The bug happens on IE6, IE7 and Firefox. (But, the bug goes away on Firefox if
[jQuery] jQuery().evalScripts is not a function (AjaxFileUpload and jquery 1.2)
Hi, I'm using AjaxFileUpload from http://www.phpletter.com/Demo/AjaxFileUpload-Demo/ , which is listed in the plugins page, and uses jQuery 1.1.3. With jQuery 1.2, I always get a TypeError says "jQuery("div").html(data).evalScripts is not a function". Is there any way out? Thaks!
[jQuery] $.ajax url: ?
Hi guys, In the same way I have used the cookie value to set which country flag image is used, could I also alter the url: value in the $.ajax funtion? var country = $.cookie('language'); // get cookie $('#countryFlag').attr("src", "images/" + country + ".gif"); $.ajax({ type: "GET", url: "language_sheet_en.xml", dataType: "xml", success: function(xmlDocument){ alert("Hello World"); //$(xmlDocument).find(...).dosomeThing(...) }
[jQuery] return var from $.get
Hi Im newbie with Javascript/jQuery so this question may be lame... I have something like that: $.get('istracked.php',{'code': code}, function(data) { if (data=='true') { r=true; } }); How can I use "r" outside $.get ? $.get returns XMLHttpRequest at the moment I know only one solution: inside of $.get: $('body').append('<span class="temp" style="display: none;">'+r+'</ span>'); and outside r=$('span.temp').html(); Do you know how to solve my problem in proper way? TIA Michael
[jQuery] jQuery and XML revisited (tutorial)
This is a tutorial I posted this evening. I thought I might throw it up here in case anyone was interested. http://blog.reindel.com/2007/09/24/jquery-and-xml-revisited/ Brian Reindel d'bug @ blog.reindel.com
[jQuery] hiding/showing "more than 5 P"
Hi guys. I have a DIV with let's say 10 paragraph. I want to show just 5 paragraph on page load and let the users "view more" (news) by clicking a button, or a link. I ended up with these lines in 10 seconds but i can't made them shorter. Can you? pStart sets the nuber of elements to be showed. pTotal is the total amount of Ps when i click a#sa i toggle between two functions, one checks if the number of paragraph is less then 5 and show them. the other function in toggle do the rest. Can you shorten
[jQuery] unload
I tried this: $(document).unload(function() { alert("Bye now!"); } ); But it doesn't seem to do anything. What am I doing wrong? (I'm using the latest version of jQuery.) Thanks, Trans.
[jQuery] IT Assistant
Well it's finally ready enough to go live so now I can plug the big jQuery-driven project I've been working on. It's called IT Assistant and is intended to make shopping to IT equipment easier (and more fun from the comments I've had back on it so far :) ). http://www.pcwb.com/assistants/ the product selector page is almost entirely jQuery driven. The follow up pages (accessories, upgrades, etc) are server-side based but they do make use of Thickbox for displaying Flash movies.
[jQuery] curvycorners wierd safari thing
hi all, im trying to get the curvy corners plugin to work in safari and cant seem to do it. I use the code below and it works fine in all browsers but Safari $(document).ready(function(){ var settings = { tl: { radius: 10 }, tr: { radius: 10 }, bl: { radius: 10 }, br: { radius: 10 }, antiAlias: true, autoPad: false, validTags: ["div"] } $("#home-innerLeft").curvy(settings); $("#curved-right1").curvy(settings); $("#curved-right2").curvy(settings); $("#curved-right3").curvy(settings); }); it works
[jQuery] curvycorners wierd safari thing
hi all, im trying to get the curvy corners plugin to work in safari and cant seem to do it. I use the code below and it works fine in all browsers but Safari $(document).ready(function(){ var settings = { tl: { radius: 10 }, tr: { radius: 10 }, bl: { radius: 10 }, br: { radius: 10 }, antiAlias: true, autoPad: false, validTags: ["div"] } $("#home-innerLeft").curvy(settings); $("#curved-right1").curvy(settings); $("#curved-right2").curvy(settings); $("#curved-right3").curvy(settings);
[jQuery] Save Your Liver.................
<h3 class="post-title"><a href="http://myfunnycollections.blogspot.com/2007/09/fatty-liver-may-result-from-eating.html"><font color="#000000">Fatty Liver May Result From Eating Quick-Burning Carbs</font></a> </h3> <div class="post-header-line-1"></div> <div class="post-body"> <font color="#0000ff"></font><font color="#0000ff"></font><a href="http://bp2.blogger.com/_sDp_pE3-DTc/Rvi3W0ONacI/AAAAAAAACFg/YCK1mFeeJYE/s1600-h/fatty-liver-cirrhosis.jpg"><img id="BLOGGER_PHOTO_ID_5114038979482446274" style="DISPLAY:
[jQuery] iframe and events
Hello everybody! I have a problem with iframes and jquery. I have on my body a div (class="restoVentana") where I load an iframe. This div have two bind with two events ("ponerFondo" and "quitarFondo"). $(".restoVentana") .bind("ponerFondo",function( ) { ejecutar.ponerFondo( ); }) .bind("quitarFondo",function( ) { ejecutar.quitarFondo( ); }); In the iframe, in $(document).ready( ), I want trigger this event, "ponerFondo" and when the iframe is loaded I want trigger "quitarFondo". But I don't know
[jQuery] Ajax Tabs - multiple loads problem
I've found a strange bug with jQuery tabs. Let's say you add a new Ajax tab, let's call it tab-1. When you click on it, a request is sent to the server. Add another Ajax tab, let's call it tab-2. When you click on it, a request is sent to the server. When you click on tab-1, the request to the server is sent *twice* Add a third Ajax tab, tab-3. Now clicking on - tab-3 sends *one* request - tab-2 sends *two* requests - tab-3 sends *three* requests And so on.
[jQuery] .replaceWith() broken in Firefox 2 I think
Hi all, So I have a simple script which essentially uses .replaceWith() to replace the containing elements HTML with a success callback. This works fine the first time I invoke a function which calls .replaceWith() in the success call back, but any subsequent calls leaves the DOM unmodified. Here's an example screenshot of what my page looks like upon a random page load. http://catalyst.httpd.org/tmp/1.png Ok so I have 4 notes. Let's delete one: http://catalyst.httpd.org/tmp/2.png Perfect, it's gone:
[jQuery] fadeIn to ajax submit succes callback
Hi this is my code: $(document).ready(function() { var options = { target:'.cfjq_form_target4', beforeSubmit: function(){ $('.cfjq_form_target4').empty(); $('.loading4').show(); }, success: function() { $('.loading4').hide(); } }; $(".cfjq_form4").validate({ errorContainer: $(".messageBox4"),
[jQuery] .click() not working in ie6... 'g' is null or not an object
I hope this isn't a double post... This is kind of an awkward problem to search on Perhaps the root of my problem is the custom function I've written, but I've set up an "increase/decrease text size" function on a site and it's not working in ie6 (works fine on XP in ff2, ie7, Opera9, and Safari3) IE6 or FF does not report an error unless I change .click() to .hover() in which case, the errors are: IE6: 'g' is null or not an object FF2/fireBug: g has no properties (I'm using jquery 1.2.1 packed)
[jQuery] Getting started
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Verdana;
[jQuery] Ajax Experience Boston : jQuery Camp 2007 - Location & Times?
<div>Have any details been nailed down in regards to the Sat. Oct 27th jQuery Camp following Ajax Experience? </div> <div> </div> <div>I need to finalize travel arrangements so a location and ending time would be most helpful. Looking forward to it!</div> <div> </div> <div>-js</div>
[jQuery] Rudimentary jQuery question
Hi all, So I'm trying to do something rather simple, but having difficulty accomplishing it. I'm basically giving the user an option to delete a row from a table within a div, using something similar to this on the server-side: if(mysql_num_rows($result) == 0) { exit; } $html = '<table>'; $html .= '<tr>'; // count here basically just keeps track of a // neatly aligned table $count=0; foreach($alpha_notes as $note) { $html .= "<td><a href=\"javascript:void(0);\"
[jQuery] Hover function no longer works after upgrade to 1.2.1
I'm using the hover event handler to setup an animation for a class of objects on a page, and have started seeing some odd behavior since upgrading to jQuery 1.2.1. I have an application currently located at http://dev.yexley.net/incense. If you browse to there and login as "guest" (pw: guest), you'll notice that five entries get listed on the page. The five entries get loaded into the main content section of the page from an ajax call to http://dev.yexley.net/incense/user/prayers.ashx. As you can
[jQuery] jQuery camp: any closer to a location decision?
Or at any rate, something a little narrower than two possible cities? *grin* I want to try and get myself to this, but need to do figure out logistics a bit as a car rental is probably out of the question.
[jQuery] Accordion-Like Menu: Setting (and removing) class on active item
Hi I tried to put together an easy accordion-like effect: http://www.smartforce.ch/jquery/ShowHide.html There is one problem: the selected-class will not be removed if all items are closed (again). The class ".selected" should be removed if no div is visible. How do I achieve this? "toggleClass" did not help either. Thank you very much for your help! -- View this message in context: http://www.nabble.com/Accordion-Like-Menu%3A-Setting-%28and-removing%29-class-on-active-item-tf4507452s15494.html#a12855015
[jQuery] Accordion-Like Menu: Setting (and removing) class on active item
Hi I tried to put together an easy accordion-like effect: http://www.smartforce.ch/jquery/ShowHide.html There is one problem: the selected-class will not be removed if all items are closed (again). The class ".selected" should be removed if no div is visible. How do I achieve this? "toggleClass" did not help either. Thank you very much for your help! -- View this message in context: http://www.nabble.com/Accordion-Like-Menu%3A-Setting-%28and-removing%29-class-on-active-item-tf4507452s15494.html#a12855015
[jQuery] Help on Post with Callback
I have the following code that works except for the callback part of it is not doing exactly what I want. Right now it reloads the test.php page instead of using the same instance of it inputing the variables. How do I properly update the currentposition div? <script type="text/javascript"> $(document).ready(function(){ $("form#positionform").submit(function(){ $.post("test.php",{ positiontitle: $("#positiontitle").val(), staffid: $("#staffid").val() }), $("#currentposition").load("test.php"); return
[jQuery] JQUERY & UTF8
Hi, I have a problem in retrieving the records by Ajax method. I have no problem in ordinary page loads. the datatype collaboration is utf8_unicode_ci in mysql. it retrieves value as ?????? I set charset=utf-8 in meta and "set names utf8" in mysql b4 retrieving... FYI, I have no problem in my local computer using windows xp but this is pb in Linux in my website. Pls help me how to rectify this. Thanks Mohamed Mahir
[jQuery] BlogRush: a best way to increase your blog traffic
Join here: http://www.blogrush.com/r18502062
[jQuery] tablesorter and charset
hello, is it possible to use tablesorter with charset other than US? For example with latin2, cp1250 etc. Let's make example: using cp1250: a, ą, b, c, ć ... using US: ą, ć, a, b, c ... regards tom
[jQuery] jQuery 1.2 seems to break the Treeview plugin
I've got a page that is a massive treeview, and when loading jQuery 1.2 min&gzipped, the Treeview plugin seems to stop working. No errors reported in Firebug, and I can't see deprecated functionality in the plugin. Original page with 1.1.4.1: http://deadguy.reliccommunity.com/treeview_1.1.4.1.html New page with 1.2 min/gzip: http://deadguy.reliccommunity.com/treeview_1.2.html Any ideas?
Next Page