[jQuery] Forms and the fx module
<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:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face
[jQuery] Plugin Update: numeric
I have updated my plugin for only allowing numbers to be typed into input boxes. It now works with textareas (possibly of use if you need to enter a very large number). You can also prevent pasting (so people don't paste in non-numeric values), while still allowing copying and cutting. Works in IE 6, Firefox 1.5 and Opera 8.51 (I think later versions of Opera will be fine too). Demo, code: http://www.texotela.co.uk/code/jquery/numeric/ The plugin found at http://sam.collett.googlepages.com/numeric.html
[jQuery] Add to attr() before using
Hey all, Ive got a simple bit of jQuery that takes the href from an ancor tag and passes it on: $(".jShow a img").hide().attr({"src": $(this).attr("href"), "title": $(this).attr("title")}); How do i go about adding to the $(this).attr("href") part, i wish to add -large to it before the file extension any help would be great! Mark _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Slider plugin (pre-alpha): HELP NEEDED
I've developed (or partially developed) a new plugin that implements webform2's slider. Specifically, you can do stuff like <span style="font-style: italic;"><input type="range" step="1" min="1" max="10" value="1" id="a" /> </span>and jQuery will automatically convert it into a stylable range widget. It uses jQuery and Interface, but there are three problems: 1) There is a rounding error of some sort, such that sometimes (not always), it's tough to get the range widget to get to the last number in
[jQuery] jQuery Map solution
Hi, I want to know, if anyone have any interactive map solution in jQuery, like this at http://www.alistapart.com/articles/cssmaps -- View this message in context: http://www.nabble.com/jQuery-Map-solution-tf2388045.html#a6657345 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] New plugin: toXML (XML serializer)
Hi, I've submitted the XML serializer plugin to the wiki: http://jquery.com/docs/Plugins/toXML/ - Mark Gibson _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Autocomplete Plugin: iframe visible in IE6.
When using the Autocomplete plugin found here: http://www.dyve.net/jquery?autocomplete I've got one version of IE (6.0.3790.1830) that shows the entire 3000px by 3000px iframe on the screen, obscuring everything behind it and causing huge scrollbars to appear on the page. It even happens on the demo page itself. Other browsers (even other versions of IE 6) have a few mild quirks here and there, but nothing like this. Anyone else seeing this? Any ideas for a workaround? I am guessing, looking at the
[jQuery] jQuery + Atlas (ASP.NET AJAX) or $ conflict
Before I dirty my hands digging around in 'Atlas' <http://atlas.asp.net/> I thought it worthwhile asking the question here: Has anyone successfully combined jQuery with this particular Microsoft JavaScript library? jQuery is failing after some 'Atlas' code is introduced into the same page. I have not looked into it closely myself. I am told the problem is something to do with '$' being used by 'Atlas'. I'd love to talk our developers out of using Atlas altogether, but as a designer I lack the appropriate
[jQuery] New plugin: toXML (XML serializer)
I'm sorry but I don't agree with this plugin's name or usage. It simply appends multiple valid xml together so the result could be invalid xml and include multiple root elements. In my opinion, the result of any method named .toXML() should be valid xml and the following tests should result in valid XML documents. IE: domDoc.loadXML( $([ item1, item2 ]).toXML() ); FF: (new DOMParser()).parseFromString( $([ item1, item2 ]).toXML(), "text/xml" ); Tony Collins -----Original Message----- From: discuss-bounces@jquery.com
[jQuery] Highlight fade plugin bug
hey, have you faced this bug? <a href="http://blocparty.com.br/js/teste2.html">http://blocparty.com.br/js/teste2.html</a> Should that happen? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Plugin Rewrite: Accordion
Hi folks, instead of pointing Frank what he could change on his code, I gave it a try for myself. You can see the result, yet badly documented, here: http://www.joern.jquery.com/accordion/accordion.html The behaviour should be exactly the same as the original. Is this worthy to put it in the jQuery plugin repository? -- Jörn -- GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist! NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl _______________________________________________ jQuery
[jQuery] Bug?
I am using rev: 249 Around line 363 is a function css: function(e,p) { in the middle of that function is a section like this } else { e = $(e.cloneNode(true)).css({ visibility: "hidden", position: "absolute", display: "block" }).prependTo("body")[0]; oHeight = e.clientHeight; oWidth = e.clientWidth; e.parentNode.removeChild(e); } The part where the node is cloned then prepended to the body is causing some trouble in ie in my layout. I have a div that has a number of
[jQuery] load() and the params parameter
I am using the load() method and passing parameters and a callback function. However, if I pass null, undefined, or even an empty object to the params parameter, the server returns the HTML status code 412. Is it not possible to pass something empty for this parameter? I'm getting the value from a function call which is defined by outside developers, so I don't know what's going to be coming back. The developers may or may not want to pass parameters. I assumed that if they didn't want to pass
[jQuery] question on how not() works
Hi all, I'm a newbie in jQuery. I have some question on how 'not()' works. e.g. HTML: <table id="test"> <tr> <td> <input type="checkbox" name="checkbox"/> <input type="hidden" name="hidden"/> </td> <td> <input type="text" name="text"/> </td> <td> <select name="select" name="select"> <option value="0">0</option> </select> </td> <td> <textarea rows="3"
[jQuery] Using $ to insert HTML into the page
Apologies if this has been raised before - I searched but couldn't find anything. In the documentation (<a href="http://visualjquery.com">visualjquery.com</a> version), it says that the $ function, when passed some HTML as a string, will "create the DOM elements representing that HTML string, on the fly". Looking at the code though (the clean function), it appears all it is doing is using innerHTML - is this the case? If it is, I think the documentation should be changed to better represent what
[jQuery] JQuery Forge
A thread a while back mentioned a jQuery Forge website. I have built a forge type website with Drupal for another open source project I'm involved with called Qcodo. That website is at <a href="http://qforge.qcodo.com">http://qforge.qcodo.com </a>. I wanted to bring the issue back up because I still see people asking about it. If this is already in the works, I don't want to step on anyones toes. Additionally, if John is working on something like this, I'd be happy to take the back seat to whatever
[jQuery] POSSIBLE bug: slideUp / slideDown and nested divs
I just hit this problem myself. I have done a bit of investigation, and I have a different solution and may have uncovered a bug. I am working with rev. 249 Bug first... Somewhere around line 1313 is setAuto: function(e,p) in the middle of this function is a check if ( p == "height" && e.scrollHeight != o || p == "width" && e.scrollWidth != o ) return; it seems that e.scrollHeight is returning a number and o is returning a string with 'px' at the end. So they never match and
[jQuery] Slider plugin (pre-alpha): HELP NEEDED
> Regarding the validation:
[jQuery] Selected value in dropdownlist
Hi folks, How can I get selected value in dropdownlist? That code does not work. Why ? $(document).ready(function() { var test; test = document.getElementById("ddlCourse").value; $("#ddlCourse").change( function() { $('#class').load('filter_report.asp', {ajax:'1', cod_course: test }); } ); }); <br clear="all"> thanks, Harlley <a href="mailto:harlley@gmail.com"> harlley@gmail.com</a> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] IE fadeTo won't work?
$("li.menu").hover(function(){ $(this).find("ul").fadeTo("medium", 0.92); }, function(){$(this).find("ul").fadeTo("medium", 0);} ); This does work in Firefox but not in IE. 1. the fade won't work. 2. the hover over starts. But when the mouse goes out of the box it doesn't go away... Is this a known error. Onno _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Slider plugin (pre-alpha): HELP NEEDED
> I've developed (or partially developed) a new plugin that implements
[jQuery] NEWS: JQuery mentioned in Web Builder magazine, Sept 2006 issue #154
Not sure if any of you read Web Builder magazine. Its a UK-based magazine published by the same guys that publish .net magazine. In the September 2006 (#154) magazine, they published are article on creating lightboxes and have a VERY lengthy tutorial on ThickBox. They go on to provide a link to the ThickBox demo on JQuery demo page and provide a great quote about JQuery: "Thickbox takes advantage of the lightweight, but powerful, JQuery to do a lot of the heavy lifting". This is great exposure for
[jQuery] Plugin Rewrite: Accordion
Looks pretty good, J�rn. One thing I'd add somewhere in there is, after expanding a section, set it's height to "". This was discussed on the list a while back, and is necessary so the section will expand to contain any dynamically added content. --Steve sivy@userwire.com | irc: monkinetic|redmonk
[jQuery] .css ('display') in IE6
Another problem found in IE6. I tried to display and hide two rows in a table using method .css: $("#waktu_mulai").css("display", "table-row"); $("#waktu_selesai").css("display", "table-row"); in Firefox, it run well, but in IE6, the rows didn't show. Before I use jQuery, I'm using this code: var waktuMulai = document.getElementById("waktu_mulai"); var waktuSelesai = document.getElementById("waktu_selesai"); waktuMulai.style.display = "table-row"; waktuSelesai.style.display = "table-row"; same problem,
[jQuery] unhover and untoggle
Is there a reason why there isn't an unhover and an untoggle? I could really use unhover in my current project and was thinking about building it and just logging it as an enhancement. Just calling .unmouseover().unmouseout() is not enough b/c I have other handlers for those as well and don't want them wiped out. I just want to unhover(). -- Brandon Aaron _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] How can one add httpheaders or cookies to $.ajax() request?
What is the best way to add a custom httpheader and/or cookie info to a $.ajax() request? Many thanks, George PS: The http://jquery.com/api/ doc for ajax() differs slightly from the $.ajax() functionlality in the current jquery release. -- View this message in context: http://www.nabble.com/How-can-one-add-httpheaders-or-cookies-to-%24.ajax%28%29-request--tf2388404.html#a6658459 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing
[jQuery] Unwanted side effects when jQuery object is empty?
Dave Yes, this answer occurred to me while I was eating lunch. Oh well, I guess it's a rite of passage to ask your first dumb question. Thanks for your time and help. jQuery looks really very nice indeed. Alan -----Original Message----- From: Dave Methvin [mailto:dave.methvin@gmail.com] Sent: 05 October 2006 13:07 To: alan@ralentango.co.uk; 'jQuery Discussion.' Subject: RE: [jQuery] Unwanted side effects when jQuery object is empty?
[jQuery] Unwanted side effects when jQuery object is empty?
> $(".rounded").removeClass("rounded").wrap(env("div", "test", {"class":"rounded"})); > I found that the function was being called once > even though no html was generated. The jQuery object doesn't have any elements, but by the time the wrap method executes it has already evaluated its arguments, which in this case includes your env() function. The env() executes once, only once, and always once, no matter how many elements the jQuery object has selected. > I can avoid the problem by rewriting the
[jQuery] Unwanted side effects when jQuery object is empty?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0"> <TITLE>Unwanted side effects when jQuery object is empty? </TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <BR> <P><FONT SIZE=2 FACE="Arial">I'm a very green jQuery user, so apologies if I've missed something obvious …</FONT> </P> <P><FONT SIZE=2 FACE="Arial">I have a line of code
[jQuery] fadeIn and fieldsets (pixel shifting bug)
I have come across a bug with fadeIn, demonstrated on the following page: http://www.texotela.co.uk/fadeinbug.php Form inputs (radio button, dropdowns, text boxes etc) move by a pixel whenever I mouse over them. I know it is to do with fadeIn as the fieldset below (which is left alone by jQuery) doesn't have this problem. Only happens in Firefox (IE works fine). _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Interface FX / position: fixed
(I posted this question yesterday but I somehow forgot to put an appropriate title...so, I'm posting this again): Bonjour: Has anybody successfully used 'position: fixed;' with Interface FX? http://interface.eyecon.ro/demos/ifxslide.html In particular, the 'slide toggle down' function. I'm using... html>body #footer { position:fixed; bottom:0; z-index:10; } // jquery layer html>body #toggled { position: fixed; bottom: 0; z-index: 9; background: #fff20d; width: 100%; height: 200px; } The #footer works
[jQuery] Chainable if/else - hot or not?
As an aside, or perhaps a branch, to this conversation... I'm a jQuery newbie, and have found it interesting that callbacks in the system do not seem to get parameters. In systems that I've used before that provided callbacks, those callbacks typically got a parameter or set of parameters that would allow them to affect the data being operated on. Is this a philosophical matter (callbacks should not modify the current operation?) or is there something I'm missing? Thanks! --Steve sivy@userwire.com
[jQuery] Getting x- and y-positions of elements
Is there any plan to add jQuery methods to retrieve and set the coordinates of an element on the page? It seems like a good addition to dimensions.js, perhaps. Here's what I currently use: $.fn.x = function(n) { var result = null; this.each(function() { var o = this; if (n === undefined) { var x = 0; if (o.offsetParent) { while (o.offsetParent) { x += o.offsetLeft; o = o.offsetParent; } } if (result === null) { result = x; } else { result = Math.min(result, x); } } else { o.style.left = n + 'px';
[jQuery] Filtering by multiple checkbox selection
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40" xmlns:ns0="urn:schemas-microsoft-com:office:smarttags"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";}
[jQuery] Interface idrag.js / Opera 9.02 workaround
Hi, I've been using idrag.js in FF without trouble, but Opera (9.02 / Windows) is having trouble. Specifically in Opera, the idrag.js calls to: jquery('body', document) are failing. replacing these with: jquery(document.body) works with both Opera and FF. Not sure this change takes the right approach, but may help some working with Opera in the short term. Cheers, Ted _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Interface: Sortables onChange not working?
Is the "onChange" callback functional in Interface's Sortables? If so, does anyone have any documentation on it (what parameters it accepts)? I found some older message threads with more or less the same question, and it looks like it may have been resolved at one point - but no longer. -- View this message in context: http://www.nabble.com/Interface%3A-Sortables-onChange-not-working--tf2385481.html#a6649730 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________
[jQuery] JCarousel + ajax + Safari = trouble!
My first jquery page was to celebrate my new puppy, I had a few pictures, and I read about JCarousel, so it was simple! http://cigar.dynalias.org/junior/ then I realized I needed more pictures, and being too lazy to update the html every time, I decided to parse the index page from my server, and let ajax do it's stuff... and since it was built into jCarousel, I gave it a try! http://cigar.dynalias.org/junior/index-2-dyn.html And that worked great in my firefox, but it didn't show the pictures....
[jQuery] Serializing XML
Hello, I've search high and low, but can't find a method of serializing XML with jQuery. Have I missed something, or should I start writing a new plugin? ($.fn.serializeXML) I know that firefox has XMLSerializer(), any ideas for IE, Safari, Opera? Maybe just a hand coded JS serializing routine? - Mark Gibson _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] New JTicker version - multiple tickers on a single page
I've updated JTicker to 0.5 Beta now. I added the ability to have multiple tickers on a single page. This was a feature I really wanted to add and had to learn a lot of new JavaScript to implement it. So it was a win-win situation for me. ;-) I hope you like it too: http://www.jasons-toolbox.com/JTicker/ -Jason Levine http://www.jasons-toolbox.com/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Small jQuery demo
How would we know you if we saw you? <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Jörn Zaefferer Sent: Wednesday, October 04, 2006 4:04 PM To: jQuery Discussion. Subject: [jQuery] Small jQuery demo Hi folks, while I hardly get the chance to use jQuery at work (or even
Next Page