[jQuery] .html and table rows in IE
> I can use the .each to iterate through each TD element in the
[jQuery] .html and table rows in IE
I want to either replace the content of a table row, or simply replace the whole row. Firefox works fine. IE give me an "Unknown runtime error". Anyone have any hints or workarounds? This thing is driving me nuts. ~ ~ Dave <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"" xml:lang="en" lang="en"> <head> <title>test</title> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript">
[jQuery] $().css("height")
--
[jQuery] SVN changes: New $.fx.FadeTo & name="id" bug fixed.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Tahoma">'lo, I've written a new function called $.fx.FadeTo. It requires 2 parameters, but can take 3. $.fn.fadeTo = function(a,ev,o) <b>a</b> and <b>o</b> are thesame as you call other effects, but <b>ev</b> is the <b>end value</b> (in double) For example, if you have a div
[jQuery] li fadeIn problem with ol list
hi, I've got a problem using an OL list, I would like to fadeIn each LI one by one. my problem is that the number of the LI simply not appears at all thank you for help ! _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Auto-complete question
I was just starting to write an application that uses auto-complete functionality (a la Google Suggest). I was basing my work of some of my old (pre-jQuery) code, and it seemed awfully long. Being fairly new to jQuery, I wanted to know if anybody already had an efficient auto-complete routine set up (plug-in or otherwise). Does anybody have a "favorite" implementation of auto-complete in jQuery? Thanks! -Mike _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] A posibble extension for fx plugin
@Andre Lewis: You don't need to include 'iutil.js' if you plan tu use only the pulsate fx. For the other fx you need the 'iutil.js' because some functions from it are used. Regarding opacity in Opera: as far as I know, Opera does not support opacity so the fx based on opacity will not work. Also I anounce the release of interface elements for jquery, compresed and ready for download. I developed the first project without scriptaculous and prototype and everything worked fine. _______________________________________________
[jQuery] A posibble extension for fx plugin
5 more fx. Slide up, down, left and right. Scroll to element. The slide up fx is not like the one from jquery. I consider de slideDown fx from jquery to by 'blinddown' same link <a href="http://www.eyecon.ro/interface/fx.html"> http://www.eyecon.ro/interface/fx.html</a> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Visibility
Is there a simple way to implement this in jQuery? var selectObj = document.getElementsByTagName("select"); if(selectObj){ var display = (document.layers) ? "show" : "visible"; // use different if netscape if(st == 0){ display = (document.layers) ? "hide" : "hidden"; // use different if netscape } for(i=0; i<selectObj.length; i++){
[jQuery] A posibble extension for fx plugin
I tried to understand the fx plugin so I played for a while. While studying the code I got the idea of building some more predefined animations for jQuery. Here is a pulsate fx with control over the speed and number of 'pulses' http://www.eyecon.ro/interface/fx.html _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] New slideshow plugin, though its buggy.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Helvetica, Arial, sans-serif">Hi guys I've created a slide-show plug-in (below). However, I've noted that it can be buggy. Sometimes it takes absolutely _ages_ to "kick-in", leaving the use with no image for upwards of 10 seconds. Anybody think they can improve on this code?
[jQuery] Effect.scrollTo for jquery?
Is anyone working on something like the scriptaculous Effect.scrollTo (<a href="http://wiki.script.aculo.us/scriptaculous/show/Effect.ScrollTo">http://wiki.script.aculo.us/scriptaculous/show/Effect.ScrollTo</a>) for jQuery? That's the last thing I'm using that requires prototype.js so I'm eager to jettison those kilobytes. I took a look through the code but I realized that it's way over my head :(. Thanks, Harry _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] height problem with slideUp and slideDown
> Does anyone experience the height of the element becoming taller
[jQuery] height problem with slideUp and slideDown
--
[jQuery] height problem with slideUp and slideDown
Does anyone experience the height of the element becoming taller and taller everytime you do slideup and slidedown? I think this is different from the issue of calling slideUp while slideDown is processing, and the height: auto doesn't seem to work either. thanks, - reynard _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Loading indicator
I need some help. I'm trying to add and remove a loading indicator dynamically next to a link. I could append it, but how can I remove it then later? I would like this done transparently (on ajax requests). Thanks for any insights. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] $.tabs() not starting properly.
Hi all I'm working with the latest tabs plugin, and I've noticed that randomly it doesn't work as expected, and "stop" at various points - some pages do nothing while others select the first tab but don't "collapse" the tabs. I've followed the examples, and use $(document).ready() to initiate the method. Is this a common problem? Has anyone else experienced it? Is there a way to force an update of the method? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Slide or Resize using clip instead of width/height - possible?
I'm looking to recreate the slide effect from scrip.aculo.us or Moo.fx, but so far, the fx code isn't making much sense to me (as the comment in the code also warn about). To describe better what I'm looking for: it's the slide effect, only using the clip CSS property instead of width/height, so that the contents won't re-arrange on resizing (and sliding). Is there someone out there that would be so kind as to make this possible somehow? I would love this feature for the next release of jQuery Cheers,
[jQuery] $('button') return noting
> If it's meant to support a convenience selection > syntax is this something that is really needed? > The negative side effects would seem to far > outweigh the benefits of such a convenience. I tripped over this with <button> as well since there is also an <input type=button>. I know John put some workarounds in for it but as you point out it still doesn't work right for XML docs. I would prefer to see this sort of thing done in a pseudo-class notation rather than introducing ambiguity into $("button")
[jQuery] Waiting for a CallBack function to endbefore continuing
> > Mike Alsup
[jQuery] $('button') return noting
Hi! i'm trying to get some button element: <form action="" method="post" enctype="multipart/form-data" id="form1"> <p class="actions"> <button type="submit" name="save">Save</button> </form> i'm using following code: $('button').click( alert('button'); return false; }); when i click on button noting hapens. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] hasClass()?
what is an easy way to either use $(foo) to find all li's with a certain class? has anyone written a function called hasClass or something that 'd allow me to check each li's class? R _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Waiting for a CallBack function to end before continuing
Hi! I'm just starting with jQuery and so far it's been amazing. Small, powerful and very easy to use. I have a question, please take a look at this simple code: $.get("search.php", function () { // code 1 alert("$.get is done"); }); // code 2 alert("This should always appear after $.get is done"); What should I do to make the script wait for $.get's response so it can execute code 1 before going on to code 2? Thanks in advance! _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] Motion Tween Plugin?
Hey everyone! I saw this JS library earlier: <a href="http://jstween.blogspot.com/">http://jstween.blogspot.com/</a> and i was wondering if anyone was working on converting this into a JQ plugin, because if not, i will start work on it. The library lets you use flash like tweening in your pages, and the basic library itselft is only a little bigger than 7kb. If anyones working on this currently, please let me know so i dont waste my time doing it, but if noone is, i will get to work on it right away.
[jQuery] Don't quite get how to read XML document with $.get
<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=windows-1255"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style>
[jQuery] Waiting for a CallBack function to end before continuing
> I have a question, please take a look at this simple code:
JSLint and AJAX Updates
Hi Everyone, Gilles just commited some new AJAX-related code and I just made jQuery compatible with JSLint (jslint.com). If you could do a quick check to see if the code explodes for you, or not - I'd appreciate it. Compressed (Packed code doesn't pass JSLint, unforunately): http://jquery.com/src/dev/ Uncompressed (Passes all but the eval catches, for JSLint): http://jquery.com/src/dev/sane/ --John
[jQuery] Don't quite get how to read XML document with $.get
<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=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; text-align:right;
[jQuery] .html and table rows in IE
> Well at least setting innerHTML on a TR is definiately a
[jQuery] custom selectors :even/:odd ind find() ? [u]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD> <BODY> <DIV><FONT face=Arial size=2><SPAN class=531103122-18052006>I've simple question about using the special selectors from inside the find() function:</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><SPAN class=531103122-18052006><FONT face=Arial size=2>the following function
[jQuery] formValues processing order
formValues does not maintain the ordering of elements on the page. This is a problem where elements which have the same name are processed on the server-side as an array. If form layout order is not maintained then the relationship between element arrays is lost. Thus: <form> <input type="text" name="a" value="1"> <input type="text" name="b" value="2"> <input type="text" name="a" value="3"> <input type="text" name="b" value="4"> </form> Server-side expects: a=1&b=2&a=3&b=4, which creates array elements:
[jQuery] IE crash
I am getting random crashes on IE, that are not consistently reproducible, using jQuery to "window shade" a box. I can usually get it to crash by opening and closing boxes and scrolling the window for a couple minutes. These crashes did not happen on an older version of jQuery as far as I can remember. I am getting no Javascript errors. The code I am working with is: $("div.secTitleContainer") .css("padding-left","20px") .prepend('<a href="javascript:void(0);" class="closeBoxButton"></a>')
[jQuery] Mouse Position
Hi, Is there any way to get the mouse coordinates using jQuery? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] IE crash
I just checked for leaks and the memory usage has not gone up, if anything it went down 3mbs while using it. I couldn't get the browser to crash again this time, but like I said before, it is very intermittent. I found another problem with it that might be a related problem. In IE only, this part of the code doesn't work: $(this).addClass("closeBoxButton").removeClass("openBoxButton"); Strangely enough, the first line just like it does work: $(this).addClass("openBoxButton").removeClass("closeBoxButton");
[jQuery] IE crash
> I am getting random crashes on IE, that are not consistently
[jQuery] tooltips
By the by... Has anyone done a custom tool tip implementation yet? I'm in need of one and I don't want to port one if the work's already been done... R _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] paging with jquery
> I meant no offense in asking; it just sounds like it will be
[jQuery] paging with jquery
> > > I need to make some kind of paging functionality for
[jQuery] paging with jquery
Hi I need to make some kind of paging functionality for my blog application and I dont want to do it in server side but in cleintside code. so lets say i have 20 entries and i want to page it per 5 entries. Is there something in jquery that would help me accomplish this faster, or sompne who allready done soemthing like this. So far i had the idea of reading out an unordered list in an array count the items, divide 5 and build a small unorered list with page number and when one of them is cleicked
[jQuery] paging with jquery
> I need to make some kind of paging functionality for my blog
Next Page