[jQuery] problems with .set() in IE (fine in firefox)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = "urn:schemas-microsoft-com:vml" xmlns:o = "urn:schemas-microsoft-com:office:office" xmlns:w = "urn:schemas-microsoft-com:office:word"><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content=Word.Document name=ProgId> <META content="MSHTML 6.00.2900.2912" name=GENERATOR> <META content="Microsoft Word 10" name=Originator><LINK href="cid:filelist.xml@01C6BBDC.704B2550"
[jQuery] problems with .set() in IE (fine in firefox)
<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="http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=ProgId content=Word.Document> <meta name=Generator content="Microsoft Word 10"> <meta name=Originator content="Microsoft Word 10"> <link rel=File-List href="cid:filelist.xml@01C6BBDC.704B2550"> <!--[if gte mso 9]><xml> <o:OfficeDocumentSettings>
[jQuery] Returning formatted text from AJAX call
<html> <body> Hello folks, I cannot work out from the documentation how to return formatted text arising from an ajax operation. My code is... <tt>$.fn.ajaxSubmit = function(e) {this.submit(function(){ var params = {}; $(this) .find("input[@checked], input[@type='text'], input[@type='hidden'], input[@type='password'], option[@selected], textarea") .filter(":enabled") .each(function() { params[ this.name || this.id || this.parentNode.name || this.parentNode.id ] = this.value; });$("div#indicate").show();
[jQuery] Determine which table column was clicked
Hey all. I have constructed some elaborate code on a db which I need to do some work on, but there are a couple of problems getting in the way of business. What I have is a very large table, and I wish to edit cells individually, rather than create a textbox for each. I have something which allows for the creation of select boxes when a cell is hovered over (mouseover), but what I need to do next is quite complicated... Because of the way the data is taken out of the db, I have had to dump a row
[jQuery] AJAX get() Prob. retrieving XML Dom from file system [u]
If I load an XML document with the AJAX get("http://localhost...",myCallback,"xml") function from my server I am able to use this XML object inside a jQuery function like $("user adress", xmlDoc).each(...) to process the nodes. If I try to load the same XML content from the file system via get("file:///I:/SRC/html/test.xml",myCallback,"xml") the result is an simple String containing the complete XML, but the query $("user adress", xmlDoc).each(...) fails, because of the string nature of the returned
[jQuery] Tabs with fade and slide - jQuery bugs and questions
Hi all, I added slide and fade effects to the tabs plugin. I am using the latest svn version (rev 169): http://stilbuero.de/jquery/tabs/ Some things don't work so far: 1. There seems to be a bug when using slideUp/slideDown - somehow the height is not calculated correctly when switching tabs, as if the height of the initial tab's content is taken for all slideDown operations. Maybe I got something wrong, because there have been some changes to the effects? 2. How to combine fade and slide (see last
[jQuery] jQuery, ajax, and gladiolus
Hi folks, I'm struggling with a problem on this page... http://horticulture127.massey.ac.nz/degreeCdays.asp in the tab (a la Klaus) "Pre-assignment check" When I enter and submit a value into the box, I'm presented with the following error which means nothing to me. I'm sure there are translators in the community. Error: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"
[jQuery] TablePager: A small demo of thing to come.
Hi all, Just made a small demo of thing to come with the TableSorter 1.1 release with companion plugin tablePager. This code is highly experimental (in other words sloppy) :) Located here: http://motherrussia.polyester.se/pub/jquery/demos/pager/ Best regards Christian Bach _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] - help with scroll function
Hi, maybe is a javascript problem, <span style="font-weight: bold;">the code:</span> var toggleContent = { cel : null, doIt : function (el) { if (this.cel) { $('#' + this.cel).slideUp('slow'); } if (el != this.cel) { this.cel = el; $('#' + this.cel).slideDown('slow', function(cel){ alert(this.cel); $('#h_' + this.cel).ScrollTo(1500); }); } else { this.cel = null; } return false; } } <span style="font-weight: bold;">the question:</span>
[jQuery] how to check if element has certain className?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=koi8-r"> <META content="MSHTML 6.00.2900.2180" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>previous discussion inspired me to remember another question, that i wanted to ask in this list, but have forgotten to do it ))</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>for example, i
[jQuery] .toggleClass()
--
[jQuery] - help with scroll function
> var toggleContent = {
[jQuery] .toggleClass()
Thanks for your reply. One other question though. Since the docs that I know of (jquery.com/docs and jquery.com/images/jQuery-Map.png) made no mention of .toggleClass(), is additional documentation available at another location? I don't like to start calling methods based on the source code since a) I can't distinguish between published API methods and internal-use-only methods which might be subject to change b) I might misinterpret the purpose/usage of a method. However, is doing so a reasonable
[jQuery] jquery "1st space" bug while working with classes
> why under same circumstances element gets "white active"
[jQuery] Loading a thickbox from a link retrieved by AJAX
I have a link in a page that is included in another via AJAX. That link needs to call a thickbox to pop up, but no thickbox events are being attached, because the link wasn't in the DOM when thickbox initialized itself. I tried adding a TB_Init() call to the end of the page which is included, and i tried adding <span style="background-color: rgb(255, 255, 153);">onclick="TB_Show('Add Team','team.php?action=add&width=400&height=350');"</span> to the link, and that didnt work. Any help would be appreciated.
[jQuery] .toggleClass()
Hello, Is a .toggleClass( className ) method (or similar) available? The behavior is/would be similar to .toggle() and quite simple: if the className is present, remove it; if its absent, add it. This method would make it easy to handle objects with two visual states (e.g.: active/inactive). _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] cant parseInt
Hey... i cant manage it... i just want to increase a value... by jQuery: var cont = $("#img_counter").val(); //its an input value cont = parseInt(cont + 5); $("#img_counter").val(cont); by simple JS: var cont = document.getElementById("img_contador").value; var cont = parseInt(cont + 1); document.getElementById("img_contador").value = cont; //output of both routines: 0 05 055 0555 05555 =( where am i wrong? _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] UPDATED - possibility complicated color coding question, now with example...
Okay... I started a test page so that I can see if I can get this working. http://commadelimited.com/travian/maptest.html This moves on the suggestion that applying multiple fake classes can be used as placeholders for the real classes. So if you load up that page, you'll see some fake data. What I want to happen is when someone clicks the color by population button, jQuery loops through all divs searching for any class which begins with a p+number (right now: 25,50,75,100), then replaces that with
[jQuery] UPDATED - possibility complicated color codingquestion, now with exa
Interesting... What if, instead of your if/else if/else statements, I used a SWITCH statement. Given that there will be about 12 possible values, a switch statement might be even faster. I'm just not sure how to test for that one given this situation. <!----------------//------ 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
[jQuery] Plugin idea: Gradient Fill
> Not seen a plugin that does this yet. Would try it myself, but not
[jQuery] jquery "1st space" bug while working with classes
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=koi8-r"> <META content="MSHTML 6.00.2900.2180" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>i need some script that works with elements classNames, i used heavily jquery's addClass, removeClass, toggleClass to get tricky combinations of classes, and that's what i discovered:</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV>
[jQuery] Interview with John Resig
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=187420819-08082006><FONT face=Arial color=#0000ff size=2>Thanks. Looking forward to reading it.</FONT></SPAN></DIV> <DIV> </DIV> <P><FONT size=2><!----------------//------<BR>andy matthews<BR>web developer<BR>certified advanced coldfusion programmer<BR>ICGLink, Inc.<BR>andy@icglink.com<BR>615.370.1530
[jQuery] Interview with John Resig
Hi guys, I recently interviewed John Resig for the British web design magazine, .net, and thought you'd be interesting in the extended version of my interview with him, in which I ask about the future of jQuery and Javascript, and his thoughts on the other Javascript libraries. <a href="http://rikrikrik.com/log/jquery-interview">http://rikrikrik.com/log/jquery-interview</a> Thanks<br clear="all"> -- Rik Lomas <a href="http://rikrikrik.com">http://rikrikrik.com</a> _______________________________________________
[jQuery] Click and Double Click
> Click always happens before double-click. If you don't want
[jQuery] Horiz. Menu
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <TITLE>Horiz. Menu</TITLE> <META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=922135816-08082006><FONT face=Arial color=#0000ff size=2>Would I use an onmouseover on the each menu div? After the onmouseover unhides a section of menu how do you keep it showing?</FONT></SPAN></DIV> <DIV><SPAN class=922135816-08082006><FONT
[jQuery] Click and Double Click
Hi, I have a problem wit the click and dblclick event: var myClickFunction = function() { $(this).toggleClass("backcolor2"); } var myDblClickFunction = function() { alert('DoubleClick'); } both are bind to the same object. When I do a click on the object, the myClickFunction function is executed. When I do a double click, first the myDblClickFunction is executed, than the myClickFunction function. Why? Is there a way, that on a double click only the myDblClickFunction is executed? I'm using the stable
[jQuery] Click and Double Click
> Thanks for your help, but this doesn't change anything,
[jQuery] Horiz. Menu
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1"> <TITLE>Horiz. Menu</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=2 FACE="Arial">I have a horizontal row of divs. So far.. the divs change color onmouseover.</FONT> </P> <P><FONT SIZE=2 FACE="Arial">How would I get a layer to show up when I rollover say id='home'
[jQuery] can animate() accept units?
Hi, John. Can I request animate() in FxModule accept units such like em? I just found I could use any units in animate() and the default is px. I don't think this is a good idea for designers. Regards.<br clear="all"> -- <a href="http://realazy.org">realazy.org</a> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Mouse Down/Alternating Colors on Tables
<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"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=ProgId content=Word.Document> <meta name=Generator content="Microsoft Word 10"> <meta name=Originator content="Microsoft Word 10"> <link rel=File-List href="cid:filelist.xml@01C6BA4A.0B91D250"> <!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:DoNotRelyOnCSS/> </o:OfficeDocumentSettings>
[jQuery] sortable lists and php
I was wondering if anyone has seen this article and perhaps translated it to jQuery? http://www.phpriot.com/d/articles/client-side/sortable-lists-with-php-and-ajax/index.html I'm using the interface plugin for my list and I've been messing around with it a bit, but I'm just not pulling it all together properly. My .ajax callback will fire off the complete, success, and error functions everytime and my database isn't getting anything. I'm not sure what I'm missing here. -- View this message in context:
[jQuery] Different JQuery Version in Plugins
Just a suggestion, Hi i have noticed that most PLUGIN developer uses different version of JQuery...e.g. SVN, Latest, etc... When 2 plugin is used having different JQuery version, problem arises... :( Is it possible that developers reference only 1 version??? I mean perhaps SVN only... Just a suggestion though...thanks and happy coding... c",) Cheers. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Plugin idea: Gradient Fill
Not seen a plugin that does this yet. Would try it myself, but not sure how to do so (even after looking at existing implementations). Anyone up for a challenge? Syntax could be something like this $("#mydiv").gradientFill( { from: "background", to: "#fff", direction: "vertical" } ) Would go from the background colour of #mydiv to white, in a vertical direction. Or you could specify a different start colour and direction: $("#mydiv").gradientFill( { from: "#000", to: "#fff", direction: "horizontal"
[jQuery] Plugin idea: Gradient Fill
Might even be easier to assume a 3x3 grid then have a start point and an end point. 1 to 9 would be a diagonal gradient from top left to bottom right, etc. <!----------------//------ 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 Dan Atkinson Sent: Tuesday, August 08, 2006 9:04 AM To: discuss@jquery.com
[jQuery] SlideDown SlideUp Problems in IE6
> Demo:
[jQuery] Plugin idea: Gradient Fill
You'd also need to include directionality. <!----------------//------ 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 Sam Collett Sent: Tuesday, August 08, 2006 7:55 AM To: jQuery Discussion. Subject: [jQuery] Plugin idea: Gradient Fill Not seen a plugin that does this yet. Would try it myself,
[jQuery] SlideDown SlideUp Problems in IE6
This is an add-on to my previous question (Show/Hide with Two Links). Using the below code to show/hide a div works extremely smooth in Firefox Windows and Mac, Safari, Camino and Opera. However, in IE6, the slide down is slow and choppy and the slide up doesn't happen - the div just disappears. Is there something I'm missing to have it function properly in IE6? Scott Demo: http://nonsponsored.com/cart_demo/minicart.html SlideDown/SlideUp Code: $(document).ready(function(){ $("a.show_cart").toggle(
[jQuery] Dynamically creating radio buttons without using document.createElement("<input type='checkbox'>")
Found a solution to the problem with adding radio buttons dynamically in Internet Explorer and it does not require 'document.createElement("<input type='checkbox'>")'. I've not found anyone else come up with this, but it is very simple. You just capture clicks on radio buttons, uncheck others with the same name, and check the clicked one. Details: http://webdevel.blogspot.com/2006/08/dynamically-create-radio-buttons-with.html _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] Problems with addClass in IE
> I'm new to JQuery and experimenting with it. I've just
[jQuery] Auto submit onchange
Help, Hi i have a form which has an onchange event on specific field, how do I make an autosubmit form? Below is just an idea and don't know if i'm doing it right... $("#myForm").change(function() { $(this).submit() /* is this correct? */ }) Thanks in advance to all, cdelfino _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Next Page