[jQuery] jQuery "Light"?
So after my little incident with the throw statement that warns prototype users that they're including stuff in the wrong order, i've taken a (quick) look at the core code and stuff that could be cut for us "no-prototype-near-my-sites" users. Now I'm wondering, Would it be worth it to also look into clipping the xpath functionality? It's something I personally don't use, and it could offer a jQuery-light library that could do all that needs to be done in some scenarios. or, possibly, the jquery prototype
[jQuery] Draggables, Droppables and Sortables update
> If I click an item, the replacement outline-box isn't displayed until > I move the mouse at least one pixel, it seems like that box should > appear immediately. Fix it. Now it appears > This may be related to the previous problem, but if I don't move an > element and then release it, it moves up to the top left corner of the > page (??) and not to its final destination. This is a bug in the fx plugin. If the animation has the same start and end points then the element goes crazy. I placed a check
[jQuery] tabs plugin explained
Hi all, I wrote some explanation for my tabs plugin finally: http://www.stilbuero.de/2006/05/13/accessible-unobtrusive-javascript-tabs-with-jquery/ Enjoy, Klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Draggables, Droppables and Sortables update
I had a connection problem while uploading and one file was not uploaded right. Force reload the page, it should work now. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Draggables, Droppables and Sortables update
Some improvement: - draggables can snap to a grid, can have a motion effect when the drag is ended - sortables can have a motion effect on items, 'onchange' callback - serializer accepts as argument an array of sortables ids tested so far on FF 1.5, IE 6, 5.5, Opera 8 same link http://www.eyecon.ro/test/jquery/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Two new examples
... at http://markc.renta.net/jquery/ A simple plugin example and background color dropdown selector. A significant rewrite so that the so called page modules are indeed independently loadable scriptlets. Only tested with Firefox 1.5 and Konqueror. This is more like what I was aiming for when I started this page so I hope it also works with IE and Safari too! Apparently example 6 does not work with Safari 2.03 and the example 2 fade out/in does not fade with Konqueror. --markc _______________________________________________
[jQuery] Licensing of jquery
> * Licensed under the MIT License:
[jQuery] xpath selectors
In the examples for Xpath, the "preceding-sibling" selector is used. This does not seem to work for me. Also, is "following-sibling" supported? (I looked at the source, in $.g, but neither of these appeared there.) the xpath example <pre>$("//div/preceding-sibling::form") </pre>did not work for me. I would like to select the <li> immediately preceding a <ul> (This would be handy for all sorts of things like menus, map legends, etc....) <br clear="all"> -- Jeremiah Knoche <a href="mailto:KnocheJ@gmail.com">KnocheJ@gmail.com</a>
[jQuery] Draggables, Droppables and Sortables for jquery
@G. vd Hoven: when this plugin gets working on enogh browsers I will change the names of the variables to get smaller in size and maybe deliver it as a single file. Also, this depends on feedbacks I get here so I know that this plugin will be usefull. @Robb Irrgang, Johan Bergström: I never test it on Safari. I just used FF 1.5 and IE 6 while developing. Consider this to be a alpha. I have to unpack my old mac so I can test it on Safari :) _______________________________________________ jQuery mailing
[jQuery] Draggables, Droppables and Sortables for jquery
So, I modified the Draggable function , added Droppable and Sortable. The result can be found <a href="http://www.eyecon.ro/test/jquery/">http://www.eyecon.ro/test/jquery/</a> . Still I have some problems. 1. $(document).bind('mousemove', function) does not work on IE 6 SP2 so i have to work with $('body').bind('mousmove', function); 2. setting alpha for elements created with $().append(html) does not work on IE 6 Maybe someone can help me here. Hope this small plugins helps. _______________________________________________
[jQuery] Licensing of jquery
<!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.2802" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=219412712-12052006><FONT face=Arial size=2>Hello</FONT></SPAN></DIV> <DIV><SPAN class=219412712-12052006><FONT face=Arial size=2>It is not very clear what licensing model jquery follows. We plan to use it for govt. projects and I am wondering if there is any limitations
[jQuery] Draggables, Droppables and Sortables for jquery
I suggest to wait till I fix the issues I have with this plugins. But you can test it : <a href="http://www.eyecon.ro/test/jquery/drag.js">http://www.eyecon.ro/test/jquery/drag.js</a> <a href="http://www.eyecon.ro/test/jquery/drop.js"> http://www.eyecon.ro/test/jquery/drop.js</a> <a href="http://www.eyecon.ro/test/jquery/sortables.js">http://www.eyecon.ro/test/jquery/sortables.js</a> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery Examples update
I've revamped this particular jQuery examples page and added a new Livesearch example. All of the "page module" examples have been reworked to be even more self-contained and should now work anywhere that jQuery is included by simply copying and pasting the code or wget'ing the individual examples from the "pm/" folder. There is also a simple PHP AJAX proxy script example that is untested. http://markc.renta.net/jquery/ Unfortunately the only way I could reliably use included styles was with a <style>
[jQuery] how to remove myself from the list?
<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] Form Field Validation
FWIW this is quite a good prototype.js based package that would be really neat to "port" to native jQuery. I've had a go at it but It's way over my head. If anyone feels like a challenge then this would be a good one :-) http://tetlaw.id.au/view/blog/really-easy-field-validation-with-prototype/ --markc _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Browsers supported?
I just demoed a prototype of an interface on my boss's computer and well, turns out that the onload and onready events werent firing on there. I didn't have a lot of time to test (he had to take the computer, so I gave him Firefox 1.5.0.3) but... is 1.3 supported? What other browsers should be working? R _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Update : jquery slideDown screwy with tables
OK, first I'd love if someone could tell me why Entourage winds up sending a new email and ignores 'in-reply-to'. I've now created 2 pages: http://www.davandi.com/jquery/csstable_jq.php - uses jquery and slideDown This only works in IE 6 / xp (which I don't consider to be working, just IE fudging it correctly) while it doesn't work correctly in Firefox/Safari/Camino. The second page, which has the proper CSS (same as above) and works using standard JS (no frameworks...jquery / moo.fx / prototype):
[jQuery] What compressor does jQuery use?
Hi, Just wondered what compressor jQuery uses now. It did look like Dean Edwards one before but it looks like its changed. Cheers, -- Dan Webb http://www.danwebb.net _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Trac and Drupal Progress
Hi Everyone, I've been frantically working, in the few spare seconds that I have, to setup some form of bug tracking that we can use for jQuery. Pretty soon, I'm going to be asking everyone to help dump all existing bugs/feature requests into a system so that we have some hope of keeping track of them. Ok, so here's the current story: - I originally tried to setup Trac, got lots of very weird errors, did some research and found that my OS (Red Hat 7) wasn't supported. - I recently installed Drupal
[jQuery] 'in-reply-to' not working for mailing list
My emails always wind up as a new thread, even though I'm clicking the link which has the 'in-reply-to' variable in the URL....what am I doing wrong? (Entourage x10 on Tiger) -David _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Problem with slideDown with table/div combo
I'm not surprised it'd work in IE6/XP (I tried it there myself and it worked). I look to IE last if I'm doing anything css. Dave- How silly of me not to mention that...I only looked at it on OS X 10.4 (FF, safari, camino). All have the same problem. I know the code that wound up on that page (the tags) were a little sloppy....it was done in great haste and I think I had caps lock on for part of it :) usually I'm more careful, but thanks for pointing that out. Franck - I was afraid you'd point me
[jQuery] Jumping Elements
Hi The element I'm using the effect on is an A element. If I don't specify a width after changing to a block element, it doesn't display correctly. Any other workarounds? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] JS Compression
It sounds like John is swamped right now, so I'll pose this Q to the list -- - Does any one know what tool John is using using to compress the jQuery source? - Also, has anyone measured the run-time performance impact of the "decompression" process ( i.e. the long eval)? Cheers, Andre<br clear="all"> -- <a href="mailto:andre.lewis@gmail.com">andre.lewis@gmail.com</a> My blog (Web 2.0 Technologies, Ajax, & more): <a href="http://www.earthcode.com"> www.earthcode.com</a> _______________________________________________
[jQuery] Problem with slideDown with table/div combo
OK, I've spent parts of the past 2 days trying to figure this out but I just can't get it. What I'm looking to do is use slideDown to show a TR that I've hidden underneath the current TR when a link is clicked on. When the TR is shown though, it's shown outside the current TABLE. Here's a shortened demo of what I'm trying to accomplish: http://www.davandi.com/jquery/csstable.php I've tried removing all the css but I still get the problem, so I know it's not that (atleast what's there isn't causing
[jQuery] Problem with slideDown with table/div combo
It seemed to work fine for me (WinXP/IE6), at least from what you describe. What browser/OS have you tried? BTW, the document doesn't validate HTML, but I think it may be the stray semicolon after the closing script tag in the head. Also you might want to make the tag names in lowercase. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of David Olinsky Sent: Wednesday, May 10, 2006 5:00 PM To: discuss@jquery.com Subject: [jQuery] Problem with
[jQuery] attaching an onload to things...
Okay, very fuzzy subject line, but... What I'm doing is that I'm using $(document).ready to load an image that is tailored to the height and width of the window into the body's background... i.e. $(document).ready(function(){ $('body').get(0).style.backgroundImage = 'url(/resize.php? s=assets/images/gallery/manoogian_01.jpg&w='+xClientWidth() +'&h='+xClientHeight()+')'; }).load(function(){ alert('zomg'); }); now I'd like to trigger another function after this load is complete.. however, $(document).load
[jQuery] Jumping Elements
Hi all I've got a layout with the following: <p id="container"> <a href="#"><img src="my.jpg" /></a> <a href="#"><img src="my.jpg" /></a> And here's my css: p#container { position: relative; width: 250px; height: 250px; text-align: center; } p#container a { position: absolute; left: 0; top: 0; display: block; width: 250px; height: 250px; vertical-align: middle; line-height: 250px; text-align: center; } p#container img { margin: auto; } This puts my images in the center of my "block" links. I'm then
[jQuery] dashes in attribute names illegal?
> Something else I've noticed in my debugging is that $.attr is getting > called many,many times in the course of a single $() call such as this: > $('input[@x-hover]') > I'm guessing it's being called for each input element matched, but it > shouldn't have to translate the attribute name every time it does it. This brings up a good point about performance. The DOM only provides two good functions for grabbing specific nodes: getElementById and getElementsByTagName. It looks like $.Select uses both
[jQuery] Can't use traditional anchor names
Good idea.. I tried it at first.. but I *think* the #loc has to come before the [?] in the URI -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Michael Raichelson Sent: Tuesday, May 09, 2006 1:17 PM To: jQuery Discussion. Subject: Re: [jQuery] Can't use traditional anchor names Just a thought 9and i don't suppose it's actually an answer), but usually don't anchor references like that go at the end of the URL string? Is it possible to url
[jQuery] Can't use traditional anchor names
<!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.7226.0"> <TITLE>Can't use traditional anchor names</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT FACE="Times New Roman">I cannot Response.Redirect to #Anchor Because of the ASP CMS I am deveoloping in... It crashes with the #name added.</FONT> <BR><FONT FACE="Times New Roman">Response.Redirect
[jQuery] Can't use traditional anchor names
Oh ok. You are absolutely correct. It may be worth notifying the project manager that #anchors cannot be used.. I just hate doing the. :P As to the work-around. Thank you for the info. I am always hoping to get to use jquery but rarely get a chance. I see it would be a simple Javascript function to move to one of my ID's? -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Stephen Howard Sent: Tuesday, May 09, 2006 1:04 PM To: jQuery Discussion.
[jQuery] dashes in attribute names illegal?
>So I've found the culprit, within $.attr:
[jQuery] Hello problem Jquery
Hello, Excellent Wave Javascript. Q? In a DIV to recover information coming from a script PHP. Code PHP of the File Load_Serveur.php function view_group_server($cid) { global $currentlang, $db, $dbi; $result1 = $db->sql_query("SELECT c.cid, c.imgurl, t.entete, t.word FROM " _TAB_CONTENU." c, "._TAB_TRANSLATE_CONTENU." t WHERE c.cid='$cid' AND t.cid= $cid' AND t.langage='$currentlang'"); list($cat_cid, $cat_imgurl, $cat_entete, $cat_word) = sql_fetch_array($result1, $dbi); echo z<br /><h2>$cat_entete "._HELLOVISIT."</h2>\n";
[jQuery] document.write() status (was $(document).ready() does not work properly)
Since it's started cropping up in a couple other discussions (and because i have to start a new project at work where this could have an impact) has there been any other headway or such made with the whole document.write() vs $(document).ready() fight? -Mike R. ---------- Forwarded message ---------- From: John Resig <jeresig@gmail.com> Date: May 2, 2006 10:35 AM Subject: Re: [jQuery] $(document).ready() does not work properly To: "jQuery Discussion." <discuss@jquery.com> Klaus - I wonder if this
[jQuery] Disabling and enabling form buttons
Hi all. This question actually came from a friend at an Spanish mailing list (aproximate translation): "I'm disabling some buttons on loading the page, using this code: $('input[@type=button]').set('disabled', 'disabled'); But it seems that jquery can't enable them again. Ideas?" Then I answered saying: "This code should do the work: $('input[@type=button]').each(function() { this.disabled = null; }); but I haven't tested it yet." Well, now _my_ proposed code is tested and works correctly. But: isn't
[jQuery] Disabling and enabling form buttons
> From: Dave Methvin
[jQuery] dashes in attribute names illegal?
Hello list, I use custom attributes in my html tags to hook js behavior into the DOM (eg, x-hover="1" and the like). Using raw statements like element.getAttribute('x-hover') functions properly in all modern browsers. The cssQuery.js package I've used in the past also had no trouble with this naming convention. jquery does not seem to like dashes in attribute names, however. My question is are dashes illegal according to some W3C DOM spec that I'm not aware of, or was this just an edge case that
[jQuery] Plugin - internal functions
<!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 dir=ltr align=left><SPAN class=295055113-09052006><FONT face=Arial color=#0000ff size=2>I think it would depend on whether the function could be reused in several places. If it is not useful outside the function, then I would think it should be nested rather than added to $.</FONT></SPAN></DIV>
[jQuery] Plugin - internal functions
<!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 dir=ltr align=left><SPAN class=656523913-09052006><FONT face=Verdana size=2>Actually, the JSON plugin uses both techniques. It has a couple of internal functions nested inside $.fn.json(), and it also has a static $.json object. (That's an object, not a function, but it is the same
[jQuery] Disabling and enabling form buttons
If the second argument to .set() is null (==undefined, like a missing argument) then the method assumes the first argument is an object with a list of attributes and values. Try this instead: $('input[@type=button]').set({'disabled': null}); -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Choan C. Gálvez Sent: Tuesday, May 09, 2006 9:34 AM To: jQuery Discussion. Subject: [jQuery] Disabling and enabling form buttons Hi all. This question
Next Page