[jQuery] jQPie - 0.1 release
First real release, includes an easy to use autocompleter and table builder/sorter both powered by json. Fully working examples in php provided, Was not working in IE before, all examples/code have now been checked in IE 7 http://projects.cyberlot.net/trac/jqpie/wiki/WikiStart _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] [OT] A Good Cause: AIR (Accessibility Internet Rally)
I know many of you here share my desire to produce accessible websites, so what more can we do though, besides what that which we practice in our current roles? Well, for those of you who would like to put your design || development skills to good use by helping a non-profit organization (NPO), you should check out AIR, hosted by Knowbility: <a href="http://knowbility.org/air/">http://knowbility.org/air/</a> - AIR: Accessibility Internet Rally From the site, here's the rundown of how it works: 1.
[jQuery] Accessing an element's :hover colour?
How would I go about getting an element's :hover colour with Javascript? I've tried the following, var theLink = document.getElementsByTagName('a')[3]; document.defaultView.getComputedSt yle(theLink, 'hover').getPropertyValue('color'); but that didn't work because getComputedStyle specifically takes a pseudo-element (not a pseudo-class) as its optional second argument. Anyone have any ideas? -- View this message in context: http://www.nabble.com/Accessing-an-element%27s-%3Ahover-colour--tf3460537.html#a9655054
NOTICE: Moving to Google Groups
Hi Everyone - As you've probably noticed, the mailing list has been very very flaky the past couple days. Primarily, this is due to the fact that the amount of traffic coming to the server is entirely overwhelming. Currently, we're receiving about 260,000 web hits/day in addition to sending out about 150,000 emails/day. Up until this point I've been content to host the mailing list on this server, with the hope that the list would eventually be moved to a forum, of some sort. However, the strain
[jQuery] return false
<!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.2180" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2> <DIV><FONT face=Arial size=2>I have a html like this </FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV> <div id="list"><BR> <ul><BR><FONT face=Arial size=2> <li><a href="data/cat1.htm">cat1</a></li></FONT></DIV>
Google Groups Move Delayed
Everyone - Apparently it takes a couple days to approve all the users that need to be transferred over to the new jQuery Google Group. Feel free to continue posting to this mailing list while we wait for this to work itself out. In the meantime, please feel free to register with the new Google Group, I've opened registration to everyone: http://groups.google.com/group/jquery-en Posting is disabled on the Google Group, for now (until everything is finished moving over). Sorry for all the confusion.
[jQuery] JQuery.com problem
<!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"> Hey guys, I know I haven't been smoking crack and I saw this message on the website <h1><small><small>jQuery JavaScript Library has a problem</small></small></h1> was that supposed to happen? K </body> </html> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Accessing an element's :hover style?
How would I go about getting an <a> element's :hover color with jQuery? I've tried the following non-jQuery version, but it seems to only return the element's regular color, not the :hover color: var theLink = document.getElementsByTagName('a')[3]; document.defaultView.getComputedStyle(theLink, 'hover').getPropertyValue('color'); Cheers. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Inserting info into opening doc
With plain javascript I can do this from a child window: opener.document.getElementById("resumemessage").innerHTML = "Resume uploaded " + filename; What I'd like to do with jquery is $('opener.#resumemessage).load(myprocesspage.lasso, {pageID: 25}); Is this possible? What is the right syntax? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Function.call() and xss?
I got an email today that one of my plugins might be a cross-site scripting/security risk because the plugin uses the Function.call() method, like so: $.fn.plugin = function(elem, options, callback) { callback.call(elem, options); }; Has anyone heard of or dealt with this problem? If it is a security risk, wouldn't Function.apply also be an issue? Thanks, Luke _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Event not firing inside unhidden div
I have a div which is invisible by default, and becomes visible via slidetoggle when a button is clicked. Inside the div is dynamic content via ajax -- i take the responseText of an ajax call, and then append it to an empty div (inside the slidetoggled div) via .html(ajaxreponsevar). I do it this way because I use the same div for multiple bits of dynamic content, a different bit depending on which button is clicked. This approach works fine for getting/showing the dynamic content. However, now I'm
[jQuery] Best way to find current position in DOM stack?
Hi all, I'm looking to find the current numeric position of a certain element amongst it's siblings. Let's say I have a list like so: <ul> <li>Test 1</li> <li>Test 2</li> <li class="selected">Test 3</li> <li>Test 4</li> <li>Test 5</li> </ul> So, I grab $('li.selected'). I now want to find out what number it is (in this case, I would want it to return 3). Currently, I am doing it this way, but I am hoping for a more jQuery-esque way: var item = $('li.selected')[0]; var position = 1; $('li').each(function()
[jQuery] How do I, record what item was clicked
i have page <div id="one"> click one</div> <div id="two"> click one</div> i want a script in the header to be able to report the ID of the div that I clicked on. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Google group email problem
I joined the group but I can't set the email option for indivdual emails. Does anyone else have this problem? Janet _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] animate
Hi, i have a small problem to solve: i want to animate the "src" attribute in an <img> tag i have 25 scaled images of a filled circle. the larest is 640x640px and the smallest is 32x32 i want to animate the steps in one second. can anyone give me a hint how to do that? maybe with the animate method? -- "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: www.gmx.net/de/go/mailfooter/topmail-out _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] Upload image, make thumbnail all on the fly.. possible?
Hey, take a look at this image: <a href="http://img393.imageshack.us/my.php?image=magedbimageuploadcopylc6.png">http://img393.imageshack.us/my.php?image=magedbimageuploadcopylc6.png</a> is it possible to make that with jquery? if it is.. could someone help me making it? the automitically uploading is possible and the rest is just php so i think it`s possible but i don`t know how it has to be made.. specially the auto uploading. i can do the thumbnailing myself. thanx in favor. Mark. _______________________________________________
[jQuery] Best way to find current position in DOM stack?
Might want to be careful with that last suggestion, and be sure to specify the specific <ul> in question in case there are other <li> on the page. i.e. $("ul#theid li") though i am just learning jquery and am not sure if that is the correct syntax to select the <li> in a particular <ul> by id. ----- Original Message ---- From: John Resig <jeresig@gmail.com> To: jQuery Discussion <discuss@jquery.com> Sent: Friday, March 23, 2007 12:40:52 PM Subject: Re: [jQuery] Best way to find current position in
[jQuery] How install JQuery Plugins?
Hi I am trying install JQuery Plugins but I cant. I followed instructions "...simply include their source file after you include jQuery's..." Obviously my page will be something like this: <pre id="line20"> <<span class="start-tag">script</span><span class="attribute-name"> type</span>=<span class="attribute-value">"text/javascript" </span><span class="attribute-name">src</span>=<span class="attribute-value">"/home2/misc/jquery.js" </span>></<span class="end-tag">script</span>> <<span class="start-tag">script</span><span
[jQuery] Form Plugin: How to add a variable to serialization/array?
Hi there, I am using the form plugin to serialize my form fields and post them to a php file. It's working fine, but I need to add a variable added to the serialized object and/or array, that I use to prevent spamming (a security variable that is not printed in the html code). So I have the following: var securityCheck = "mysecuritycode"; var formData = $("#myForm").formToArray(); $.post('postentry.php',formData,function(txt) { blah; }); How do I add the variable securityCheck to the array now? How
[jQuery] Interface Sortables
Hi, I am trying to create two lists which the user can sort between. Basically an active and inactive list of sections of the site. So those in list a will be active and those in b will be inactive. Simple and I've got it working using Interface and a bit of fiddling. However (Yes the but!) I can't get my copy to react quite the same as the demo: Mine is here: http://www.sico.co.uk/jquery/sortable/ The demo is here: http://interface.eyecon.ro/demos/sort.html Problem 1: When you drag an element in
[jQuery] input textfield within a DIV that is sortable
Hi, I'm having trouble getting the cursor to focus on a text field within a DIV that has been made sortable. Here is the HTML <div id="m12" class="sortList"> <form onsubmit="return get(this)"></form> <table> <tr> <td><img width="100" src="images/roman.jpg" alt="" border="0"></td> <td valign="top"> <table> <tr><td class="itemHeader">Roman Numeral Converter</td></tr> <tr><td class="item">Type in a number in either form.</td></tr> <tr><td class="item"><input size="16" ></td></tr> <tr><td class="item">
[jQuery] Validation plugin: on blur using ajax
I've been playing with Jörn's excellent validation plugin (beta 2) to try and get it to validate individual fields using ajax on blur. It's a pretty basic attempt (because I'm sure Jörn is going to do something much better soon :), but I've got stuck and I can't fathom out why. I've added a new method called remote that I call in my rules like this: headerx: {remote: "/gen/valid.cfm"} And in the validate.js the new method looks like this: remote: function(value, element, remoteurl) { $.getJSON(remoteurl+"?value="+value,
[jQuery] hoverIntent = my first plug-in
WHAT? hoverIntent is a function that attempts to determine the user's intent... like a crystal ball, only with mouse movement! It works like (and was derived from) jQuery's built-in hover. However, instead of immediately calling the onMouseOver function, it waits until the user's mouse slows down enough before calling the function. WHERE? My sorely out-dated web site. <<a href="http://cherne.net/brian/resources/jquery.hoverIntent.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://cherne.net/brian/resources/jquery.hoverIntent.html
[jQuery] Flash plugin
<!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 face="Arial">Hi, Im having a bit of a problem on a site with the flash plugin. It works on all browsers except safari, and some IE 6 on large corporate networks. <a class="moz-txt-link-freetext" href="http://reborn.or-media.com">http://reborn.or-media.com</a>. Can anyone tell me why its going wrong?
[jQuery] Nest and anchor in a header
How can I change this: <h2>text</h2> <h2>other text</h2> to this: <h2><a href="#">text</a></h2> <h3><a href="#">other text</a></h3> Thanks, Dan. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Interface slideshow not working in IE
Hi again, I'm attempting to use the Interface slideshow plugin on the site I am working on but it just does not want to work in IE. In IE7 for some reason the images just take forever to download.... I don't get it. Works perfect in FF. http://www.ipg.quicksite.dev.versatilia.com/properties/name/casa-boggeri Any ideas? Cheers Rob _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] How do I find what form my input is in?
I know I can use parents to get the ancestors of my input, but this will get all forms on the page $(#myInput).parents("form"); How do I find the one the form is in? var formItsIn = checkAncestors(theSearchBox, "form"); function checkAncestors(theItem, requiredAncestor){ var theparent = theItem.parentNode.nodeName.toLower(); if(theparent == requiredAncestor){ return theparent; }else{ checkAncestors(theparent, requiredAncestor); } } my code above seems a bit much to
[jQuery] Datepicker Enhancement Request
I was curious to find out if anyone has modified Kelvin's excellent datepicker plugin to work with a series of select lists instead of a single line text field? If not, could this functionality be included? Thanks. Ryan Rose http://www.digiwize.com _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Playing a beep with jQuery
Anyway to use jQuery to make a tone? I'd even be willing to use it to marshall something from an applet (even signed) if there's a standard way to do this. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] TFL UK - using jQuery
<a href="http://tfl.gov.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://tfl.gov.uk</a> - Government transport information website in the uk. Using jQuery to make site unobtrusive. - S _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Jquery can learn from Mootools for distribution its code
I'm not as concerned with file size as I once was. ~20k is smaller than a single medium-sized JPG. Plus, once it gets cached, the file size is no longer an issue. I'm all for smaller file size, but I'd much rather see new development in speed or functionality than have you devs spend time building this packaging tool. andy -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of agent2026 Sent: Friday, March 23, 2007 5:16 AM To: discuss@jquery.com
[jQuery] PNG Fix and the browser sniffer
Hi everyone, I'm a jQuery newbite and I need some help with a png fix I've implemented (or tried to) on a site i'm working on. The code I have is: jQuery.fn.pngFix = function() { return this.each(function() { if ($.browser.msie && $.browser.version.number() < 7) { $(this).css("filter","alpha(opacity=0);").wrap("<span style=\"width:" + $(this).width() + "px; height: " + $(this).height() + "px; display:block; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + $(this).src() + "', sizingMethod='image');\"></span>");
[jQuery] [Fwd: event bubbling]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> can anyone help me on this -------- Original Message -------- <table class="moz-email-headers-table" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <th align="right" nowrap="nowrap" valign="baseline">Subject: </th> <td>[jQuery] event bubbling</td> </tr> <tr> <th align="right" nowrap="nowrap" valign="baseline">Date: </th> <td>Thu, 22 Mar 2007 19:59:46 +1100</td> </tr>
[jQuery] Jquery can learn from Mootools for distribution its code
Mootools distribution allows you to build a custom distribution with just the functionality you need. http://mootools.net/download I would love it if we could do this with jquery. 95% of what I use jquery for is Unobtrusive Scripting. i.e. $("span#closeppk").click(function() The other 5% is the Ajax functionally and ready function $("span#bigppk").load("file.txt") $(document).ready(function(){ for almost everything else i just write my javascript code. I know a lot of functionality is packed into
[jQuery] event bubbling
Hi guys, if some of you heard of event bubbling then you'd have also experienced problem with .hover() to be more specific, once your content loads through ajax you won't have .hover anymore. with .click() it was straight forward where you bind event to parent. Difficulty I am facing is that I cannot attach .hover of parent so that children would have hover effect. Hope it isn't too confusing -- Kush Murod, Web applications developer Sensory Networks [E] kmurod@sensorynetworks.com [W] www.sensorynetworks.com
[jQuery] Javascript dump, ala Coldfusion's CFDUMP
<!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.6000.16414" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=653344217-22032007><FONT face=Arial size=2>I haven't seen this posted yet, but it's a freaking godsend in js development:</FONT></SPAN></DIV> <DIV><SPAN class=653344217-22032007><FONT face=Arial size=2><A href="http://www.netgrow.com.au/files/javascript_dump.cfm">http://www.netgrow.com.au/files/javascript_dump.cfm</A></FONT></SPAN></DIV>
[jQuery] New javascript menu flash-like
Hi All noticed this super little js/css menu in my news feeds: http://www.devthought.com/cssjavascript-true-power-fancy-menu/ It's not using jQuery, but could it be made better or simpler with jQuery. The code for this looks really lite, I don't think it's written on any js library. The school of thought here of sliding the background div around like that to animate the hover is a great idea. -- View this message in context: http://www.nabble.com/New-javascript-menu-flash-like-tf3449674.html#a9621891
[jQuery] Learning jQuery
I'm a new jQuery user and just took it for a spin on a site I've taken over. I blogged my first "use case" if anyone's interested. Nothing revolutionary, just examples (and code samples) of how jQuery saved me a lot of time and effort. http://musetracks.instantspot.com/blog/index.cfm/2007/3/22/jQuery-isSmooth I'm sure I didn't use the most efficient means available, so I'd appreciate any feedback. Rob _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] JQuery problem with valid HTML ids
Hello, I did a test case to show what is my problem: http://dpaste.com/7204/ I'm trying to use JQuery to get some elements with ids that contains '.' and ':', but that arent working, and with getElementById that's working. Am I missing something? Thanks in advance, -Adriano _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] New javascript menu flash-like
Saw that the other day. It's awesome! -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of {js}sTyler Sent: Thursday, March 22, 2007 2:07 PM To: discuss@jquery.com Subject: [jQuery] New javascript menu flash-like Hi All noticed this super little js/css menu in my news feeds: http://www.devthought.com/cssjavascript-true-power-fancy-menu/ It's not using jQuery, but could it be made better or simpler with jQuery. The code for this looks really
Next Page