[jQuery] jQuery Powered Sites - Keep the Links Coming
<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:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <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);}
[jQuery] Plugin Development Process
Hi all, I have been thinking about the plugin development process for jquery. As it is today we have a wide variety of plugins and some of them are officially supported. The problem as I see it today are the following: - Version management, some plugins that are official do not change in the same speed as the jquery core, leaving end-users to either not upgrade the core or make their own changes to offical plugins. This is not optimal. I believe that in order to become an official plugin, the author(s)
[jQuery] Creating an empty jQuery object
I've been using jQuery for a few months now, trying to convert all my hand-rolled javascript and came across a minor problem that I could not find documented anywhere: I want to create DOM elements and add them into a jQuery object, as in; var result = [empty jQuery object]; $.each(... var element = ...; result.add(element); ); But how to create an empty jQuery? Scouring the source code, I eventually hit upon $([]), but this is nowhere documented. Is there a better way? Is there a good reason $()
[jQuery] innerfade and images with image maps
<div>Hi all,<BR><BR>I'm a newcomer to jquery. Its great and I plan on utilizing the library in our website. Currently we have an old flash rotator and im thinking about replacing it with a javascript/css rotator. I was looking at the innerfade plugin as a potential replacement. I like it because unlike many rotators I can define the elements being switched versus just an image file. I want to switch between divs with an image map defined for each div container. I need to define an image map because
[jQuery] How do I get the XML of an ajax request?
Hi all, How do I get the XML response of an ajax request? I want to put the XML text into a textarea and can do find this documented. ������������$.get("/rgeo/", ����������������{ x: document.rgeo.x.value, y: document.rgeo.y.value }, ����������������function(data){ ��������������������console.log(data); ��������������������$("textarea#response")[0].value = data; ����������������} ������������); My textarea ends up with the string "[object XMLDocument]" I also tried: ������������$.ajax({ ����������������url:
[jQuery] Plugin Authoring : How to keep plugin state?
e.g. jQuery.fn.debug = function() { // i want to save the current time into a global variable? return this.each(function(){ alert(this); }); }; I want save the time of the last plugin being executed for later use, any recommened method? thanks. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Google's Summer of Code
Hey Everyone - Google's Summer of Code has just opened up for 2007, and I'd love to have jQuery be a part of it: http://code.google.com/soc/ If you're not familiar with how SoC works, Google pays a number of college students to work on an open source project for an entire summer. This is a great opportunity for the kids, and for the projects that they're supporting. In order to be able to apply, we'd have to come up with a list of things that we'd like them to do. So, I'm asking you (the jQuery community)
[jQuery] creating and inserting a form on-the-fly
I've got an app where I want the user to be able to add and submit forms. [ I'm using v 1.1.1 ] In the case of the following: $(function(){ var myForm1="<div><form>1<input type=text value=Fred /> </form><div>"; var myForm2= "<form>2<input type=text value=Harry /></form>"; $(myForm1).appendTo("body"); $(myForm2).appendTo("body"); }); The first form, wrapped in a div, works ok. But with the unwrapped form, only the input field is added to the DOM. I can insert an unwrapped form by cloning, but that
[jQuery] How to make Interface work for any ID
Hi anyone, I like the work made by Stefan (and specially his demo <a href="http://interface.eyecon.ro/demos/windows.html" target="_blank">Floating windows</a> [opens in new window] (uses Resizables, Transfer and Slide) and I'd like to use Interface on my website. I've looked his code but I do not know how to make for example: =>Div n°1 // id1 ==>link to show Div n°1 =>Div n°2 // id2 ==>link to show Div n°2 My problem is that I don not know how to create a script which could be launched by a link
[jQuery] jQuery Powered Sites - Keep the Links Coming
<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:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <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);}
[jQuery] jquery logo art
where can i get a copy of the jquery logo, other than swiping it out of the site template? it would be useful for the presentation i'm putting together. thanks! - jason -- View this message in context: http://www.nabble.com/jquery-logo-art-tf3245929.html#a9023355 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] New plugin: jQuick Tag Creator
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-15" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#333300"> Hi all, I want to announce a new plugin for jQuery. I hope you like it. Cheers, Francesco *** <big>jQuick Tag Creator for jQuery </big><a class="moz-txt-link-freetext" href="http://jquick.sullof.com">http://jquick.sullof.com</a> <b>How it works </b> Suppose you want to obtain the following
[jQuery] Google's Summer of Code
I think I can do a project on unobtrusive charting if you people agree :) I had posted the same plugin for drupal about 3-4 days back here <a href="http://drupal.org/node/117738">http://drupal.org/node/117738</a>. Comments there point out that a server-side creation or SVG would be a better way to do it. avi <br clear="all"> -- ------------------------------------------------------ Visit me at <a href="http://jodhpuriguy.com">http://jodhpuriguy.com</a> _______________________________________________
[jQuery] Google analytics & jquery
<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:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <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);}
[jQuery] # or javascript:;
What's the best way to apply a behavior to an anchor tag? <a href="#" class="someClass">my text</a> -- or -- <a href="javascript:;" class="someClass">my text</a> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Some jQuery tips and tricks
Hi all I've started collecting some examples I've come across while solving problems using jQuery. I guess they could be interesting to the community as a whole. These (sort of) tricks are available here: <a href="http://dmitriid.com/jquery/en/">http://dmitriid.com/jquery/en/</a> I hope to add more examples with time. Hopefully, this will be helpful to at least someone :) _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] How to make Interface work for any ID
<b><span style="font-weight: bold;"><span style="font-weight: bold;">Not really... What I mean is : </span></span></b><pre id="line146">$(document).ready( function() { $('#windowOpen').bind( 'click', function() { if($('#window').css('display') == 'none') { $(this).TransferTo( { to:'window', className:'transferer2', duration: 400, complete: function() { That is the beginning of the JS code used by Stefan at the end of his Page (jquery&interface) to make a window. If we see he pointed =>windowOpen
[jQuery] hide / show images using jQuery: in IE does not work
Hi all, I'm new to jQuery, so please excuse me if this sounds too simple for you. I'm trying to develop, using jQuery an image switch feature. It should work like this: there is a big image and below thumbnails. Once the user clicks on one thumbnail the script should load the big image associated and display it in the big image place. The problem is that it works with Firefox but not IE This is the page: http://REMOVEwave.windsmpeg.tk/falcoarredamenti.it/node/26 Thanks, Fabio _______________________________________________
[jQuery] Cascading data into text input boxes
<html> <body> Hi folks, I have a set of n paired text input boxes (date on; date off). Each is attached to Kelvin Luck's date picker plugin. In most instances, the "date off" will be 7 days after the "date on", and the next "date on" will be 1 day after the preceding "date off". So, to help the user (so that they don't have to select dates for all the pairs of inputs), I want to: 1. for a given pair, populate the "date off" text input with a date that is 7 days later than the one selected in the
[jQuery] Forms Plugin: target scripts evaluated TWICE
I've noticed that scripts are evaluated twice if they're included in the responseText & loaded via the Form's plugin "target" parameter -- using jQuery 1.1.1 As an example: [[[[[ FORMS PAGE ]]]]] =============== <form method="post" action="form.html"> <input type="text"> <input type="submit"> </form> <div id="out"></div> <script type="text/javascript"> $().ready(function() { $('form').ajaxForm({target: '#out'}); }); </script> [[[[[ FORM.HTML (responseText) ]]]]] =============== I AM OUTPUT. <script
[jQuery] Getting the TEXT of an option tag, not the value.
How would you go about getting the text of the currently selected option tag, not it's value? Assuming I've got a select box like so: <select name="mySelect"> <option value="1">one</option> <option value="2">two</option> <option value="3">three</option> </select> Assuming that "two" is the currently selected option, how would I use jQuery to return the word "two"? <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com
[jQuery] Google analytics & jquery
<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=iso-8859-1"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm;
[jQuery] # or javascript:;
Any way of clearing the focus though(?)? Like you would with the following; onfocus="if(this.blur)this.blur()" as it isn t so nice :¬) -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of hcabbos Sent: 17 February 2007 03:12 To: discuss@jquery.com Subject: Re: [jQuery] # or javascript:; Understood. But all this started with me asking whether to use inline # or javascript:; for activating a toggle. So my conclusion is if Progressive Enhancement
[jQuery] blocking/skinning div cotents
Hello All, First of all, as a new jQuery lister, I'd like to thank you all for such a great community project resulting in a fantastic js toolset. I love great community driven projects (they make me feel all warm and fuzzy inside :) ). Anyway, after a long search with no answer, I have question for you. Scenario: - Multiple portlets (jsr-168) on a page, each being a disparate application. - Most operating as ajax clients - Some possibly designed as semi-real-time/server synchronized applications
[jQuery] Replying to the digest mode
Hi all, I have to admin I'm not up an avid mailing list contributor. I receive the digest format, and I'm interested in replying to a message, say the Google's Summer of Code topic. How would I go about doing this so the applicable message is quoted right and I don't spam the mailing list with the entire quoted digest entry? Thanks very much. Steve _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Why isn't my Ajax call working?
Hi, I'm sure this is really simple, but here is my dilemma. I'm trying to make an Ajax call to get some response text. However, when I make the call, my "html" variable is coming up empty. Additionally, my error function is never invoked. function loadModuleHTML(p_id, p_moduleIndex) { var html = $.ajax({ type: "POST", url: "get_file_contents.php", data: "mod_index=" + p_moduleIndex, dataType: "html", error: function(req, errorMsg)
[jQuery] Why isn't my Ajax call working?
> -------Original Message------- > From: Jake McGraw <jmcgraw1@gmail.com> > Subject: Re: [jQuery] Why isn't my Ajax call working? > Sent: Feb 16 '07 22:58 > > Sorry, that function needs to be attached to jQuery object... if > you're just going to put up an alert box, you can use: > > $(document).ajaxError(function(request, settings){ > alert('An error has occurred!'); > }); > > That should work, I think. > > - jake > > On 2/16/07, dalvarado@remanresource.com <dalvarado@remanresource.com> wrote: >
[jQuery] Why isn't my Ajax call working?
> -------Original Message------- > From: Jake McGraw <jmcgraw1@gmail.com> > Subject: Re: [jQuery] Why isn't my Ajax call working? > Sent: Feb 16 '07 22:33 > > Which PHP array are you using to access user variables? If you're > using $_GET, then your AJAX Post variables won't show up in the > application, I usually use $_REQUEST. Also, have you thought of using > the jQuery ajax abstraction methods? Something like this should do the > trick (not tested): > > $.ajaxError(function(request, settings){
[jQuery] IE 7 and responseXML
Hi All, I'm sorry if this topic has been covered recently (I'm new to the list). I'm trying to use jQuery to select elements from the responseXML attribute of the response object passed into a callback from the YAHOO toolkit's XHR manager, and am finding that in IE 7 it never seems to find what I'm looking for. Specifically, it only ever returns the element that I passed in as the root of the search. Here's my example code: YAHOO.util.Connect('/some/path.xml', {success:success}); function success(response)
[jQuery] Google's Summer of Code
<!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.5730.11" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=768090622-16022007><FONT face=Arial color=#0000ff size=2>That one's completely broken in IE7, FYI.</FONT></SPAN></DIV><BR> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left> <HR tabIndex=-1> <FONT face=Tahoma size=2><B>From:</B> discuss-bounces@jquery.com
[jQuery] Rhino and jQuery...
Hi all. I'm interested in using jQuery's dom selector in Rhino so I can parse through XML. Anyone know if the xpath parser is dependent on the browser's xml/xpath implementation... sorry, I haven't looked at the code. Rich _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Odd safari failure
This is odd, and may be difficult to describe On my forum, I have a file upload field for images, along with a helper/formatter for inserting images that are on the web. Both of these are in a box that drops down when you click the icon (that's where jquery comes in). Problem is, in safari the file upload no longer works if it's in my jquery dropdown box. If I remove the file upload field from my dropdown box and just put it loose in the form, everything is fine. But if it's in that box, safari flakes.
[jQuery] validate radios
Hi jQuery gurus!, this my very first post here. I have a very trivial question for you, I guess. How to validate this two radio buttons? - thanks. [html] <li><input type="radio" name="p3" value="1" />Excelente</li> <li><input type="radio" name="p3" value="2" />Muy Buena</li> <li><input type="radio" name="p3" value="3" />Buena</li> <li><input type="radio" name="p3" value="4" />Regular</li> <li><input type="radio" name="p3" value="5" />Mala</li> <li><input type="radio"
[jQuery] IBM Developerworks article mentions jQuery
An IBM Developerworks article, Ajax and XML: Five cool Ajax widgets http://www-128.ibm.com/developerworks/web/library/x-ajaxxml1/index.html mentions jQuery and the jCarousel plugin. carousel: This widget is a rolling image viewer that customers can use to scroll through a list of items, each portrayed by a small graphic. What you do when a user clicks an item is up to you. Examples of carousels in the wild include the Flikr site and the iTunes interface from Apple. This carousel is available at no
[jQuery] jqModal: How to invoke functions after ajax has loaded?
Hi, Using jqModal, if I define that my dialog load its contents through ajax $('#editPanelTitle').jqm({trigger: '#editTitle1', focus: true, overlayColor: '#fff', overlay: 30, ajax: "panel_title.html"}, function(h) { /* do stuff */ }); how do I invoke a JS function once the ajax contents have been loaded? The "onOpen" argument of the jqModal doesn't seem to work because I'm not guaranteed the ajax call will be loaded. Thanks, - Dave _______________________________________________ jQuery mailing list
[jQuery] accented chars
I'm trying to internationalize something I'm building and javascript doesn't seem to like accented characters - when I pass them to the server side (via ajax post) they are in a rough place. Is there something built-in for this (something I'm clearly not finding)? A tutorial? Best practice? Or, should we stick with javascript' standard methods... Thanks... _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Google's Summer of Code
I think that a comprehensive suite of good looking, well-designed demos of each facet of the library would be one of the most valuable things. Not only would that solve many of the "how do I this" questions, but it would also help people to see the immense value of jQuery. andy -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of John Resig Sent: Friday, February 16, 2007 10:28 AM To: jQuery Discussion. Subject: [jQuery] Google's Summer of Code
[jQuery] Form Plugin curiosity
I'm new to jQuery, and found the Forms plugin. So far it seems to be working fine, but I ran into 2 issues earlier. First, it was working, but it was acting like a normal form, not an ajax form. I had some errors in my script (used the wrong id in checking a password), and when I changed that, it started working fine. No clue why. Secondly, I want to encrypt a password (I'm using this on an account creation page, and it returns a blurb if it was successful or not). Anyway, as I'm testing, I'm noticing
[jQuery] Pending Release: jAssistant, a pop-out, tabbed, dialog window for jQuery
<pre>I am working on my first jQuery Plugin, jAssistant. It is an floating pane like the one found in IPB but it looks way better and supports themes( 4 are working currently ). It supports a native tabs solution and direct, ajax, or element based content loading. The site to download/test it is: http://xtrafile.com/jAssistant As i said this is a pending release and i hope to get some bug reports and suggestions before i release it as stable. Here is what it looks like: http://www.xtrafile.com/alpha/imagedirect.php?file=tRWQzb0E29Wc
[jQuery] Dynamic save objects height?
How to dynamically saved the height of each object after selection? e.g. jQuery(".style") return objects with the same style, I want to save the objects ' height as an jQuery variables, how to do that? ideally, it should be something like that... my_obj['id_1'] = 100; my_obj['id_2'] = 100; ... thanks. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Next Page