[jQuery] Where is jqModal unpacked source?
It seems all of the js files linked to from the jqModal page are packed... or maybe Brice just writes *really* compact code. Anybody know where an easier to read version is? http://dev.iceburg.net/jquery/jqModal/ While I'm here, anybody using jqModal to display remote (different host) content in an iframe? This is the functionality that I'm looking to add. Thanks, Erik
[jQuery] jQuery selectors speed improvements
I've recognized that lots of people recently complained about the jQuery selector speeds. Especially because Base2 and DomQuery seem to be ultra-fast in this area nowadays. As a man with parsing backgrounds, I've looked at jQuery's current (version in SVN as of today) "selector.js", noticed a few points and spontaneously hacked a little bit on it. In general IMHO the code does too much (in case they are invariants) or even unneccessary (in case they are not used) calculations under run-time of jQuery.find().
[jQuery] two bugs with interface/iautocompleter.js
Hello, I have two small problems with iautocompleter.js : - 1 if I put HTML tags in the <value> field the tag is inserted as is in the rel="value" part of the suggestion menu li, and everything gets broken (they could be escaped, maybe) 2- in my setup (the suggestion box is inside an ajax-ed form), when the suggestion menu comes "late", and the user has already entered the input and validated the form, the suggestion menu displays but its "parent" input is gone... this is accomanied by many js errors
[jQuery] [Newbie] Why this. doesn't work?
Hi, I have this Javascript in JSON notation and using the jQuery Ajax. var objectJSON = { myvalue: "hello", myFunction: function(param) { this.myvalue = param; $.ajax({ type: "POST", url: '/ajax/address.php', data: "param=" + param, success: this.pageLoadOk }); }, pageLoadOk: function(t){ $('#id-element').html(t); alert(this.myvalue); //*** this.myvalue is not accesible from here ***// alert(objectJSON.myvalue);
[jQuery] cant get remote file / set post/get parameters with TABS plugin - help!
hey. im trying somehow to get in tabs a remote url , or atleast to set a get paramter to the tab i got this following code and its writes me error "access denied" how can i skip it or tweak the code ?? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" content="text/javascript">
[jQuery] Callback of AJAX call must determine what happens after the AJAX call... how?!? (form plugin)
Hello people, I'm in a situation right now in which I do an AJAX call, supplying it a callback function (for success). In this callback function I do some operations which determine what happens after the AJAX call. Normally you would solve this by calling yet another callback function at the end of the success-callback. But now this is not possible because the function that did the original AJAX call is called from inside a plugin and should return a certain value (true or false) to instruct the
[jQuery] Help with Code
I am hoping you can help me with a code I am trying to make for Zeta Boards. It adds a drop-down menu with what ever links you want in it. [quote]<script> function dropdown(sname,lurl){ //Code Created by Agent Moose $(".drop_menu").before("<ul id='top_menu' class='drop_menu'><li id='menu_ucp'><a href='#'><img src='http://209.85.62.27/static/1/ m_ucp.png' /> "+ mname +"</a><ul><li><a href='"+ lurl +"'>"+ sname +"</ a></li></ul></li></ul>"); } mname = "Pages" dropdown("Arcade","http://beta.zetaboards.com/MooseCreations/pages/
[jQuery] Odd IE7 Problem
This might not be a jQuery issue, but I think it is. First, I need to confirm that executing a search on this page does indeed end up in an error. http://strtest.alexezell.com/search/ The error IE7 gives is: Webpage has expired Most likely cause: The local copy of this webpage is out of date, and the website requires that you download it again. This is even with friendly errors turned off. Sometimes, the correct content flashes, but then is replaced by the error page. It works like a charm in FF2.
[jQuery] Problem with show() and hide() in IE
Hi, I have a website with header, menu, content. To change the content according to the menu clicked, I use show() and hide() functions of jquery. In Mozilla I got everything working, but in IE6, the height won't adapt according to the content's length. U can check it here : http://matthew16.free.fr/portfolio/ With Mozilla, if u click on the menu's, everything is ok, but with IE6 try to click on menu "Services" followed by "Projects" for example. I can't find a solution to this so I am asking here
[jQuery] Interface ScrollToAnchors is not available for selected download
Hi guys, I can't find ScrollToAnchors download selection, only ScrollTo which is not same as ScrollToAnchors I think I don't want to download whole interface library but only the ones I need. --Kush
[jQuery] cookie check within ajah loaded page doesnt work
Hi all, I have some code that checks for a cookie named sumview. if the value is 'hide' I dont want to display a div with id viewsummary. Problem is that the summary div is in the page that loads from an ajax request using the form plugin. The ajax loaded page ignores the cookie. Do I need to check the cookie within the page being loaded from the ajax request? Better way to do this. // summary close $(document).ready(function(){ var c = 'sumview'; $("#viewsummary").hide(); // summary display check
[jQuery] Interface Library - What order is it built in? / bug in IE7 Draggable revert
I'm resending this, since I didn't hear back. I thought maybe it got lost in the shuffle to move to the new list. -------------------------------------------------------------------------- I found an issue in the idrag.js file on line 135 of idrag.js file. This lines: if (elm.dragCfg.oP != 'relative' && elm.dragCfg.oP != 'absolute') { dEs.position = 'relative'; } The setting of the position of the element to "relative" seems to cause a weird problem for me in IE7. If the
[jQuery] How to select all but one
I am not a programmer by profession, but a surgeon and doing a lil bit of programming is my hobby. Ok, my question is how do I select and apply function etc to all but one element. For example I have 3 divs with a class test. Each of these have an individual id, say itemId1,itemId2,itemId3. Now I want to write code like this $(document).ready(function(){ $('.test').click(function(){ $(this).animate( {left:'0'}, 'slow' ); }); }); The animate gets applied to all three divs. But what I want
[jQuery] My first plugin, overlabel
Hi Folks, I'm fairly new to JQuery. I recently needed a technique I had seen recently on A List Apart to combine labels and text input boxes into a single control in order to save space. The technique is at http://alistapart.com/articles/makingcompactformsmoreaccessible The Javascript there looked like a lot for what was done, so I tried to simplify it into a JQuery plug-in. I'm looking for advice as to whether this is done in the best way possible. A demo page is at http://scott.sauyet.com/Javascript/Demo/Overlabel/
[jQuery] interface windows - from eyecon what files
I am using the windows effect from the interface collection http://interface.eyecon.ro/demos/windows.html I want to use only the necessary files which are specified as Resizables, Transfer and Slide however when I download and use this it doesn't seem to work (i.e nothing happens). Obviously using the whole interface at 80k seems like overkill - has anyone else used windows with just these three files? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Beta Testers needed for Form Plugin file upload support
Sorry for the delay, but my feedback for IE was missing. I did not have any problems until now. So I think for FF and IE everything seems to be fine. Harald
[jQuery] Some suggestions for jQuery
some suggestions, just my $0.02 anyway... 1. provide a way for classical/user-friendly OOP style, somethings like dean edward base library, 2. dynamic include instead of include JS you want, you can use somethings like e.g. jQuery,include("UI.Canvas") jQuery.require("UI.Canvas"); // die if module not found jQuery,include("UI.*"); // include all module under the same cat 3. cookies & form plugin (not necessary ajax, but basic form handling) into the core _______________________________________________
[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" xmlns:ns0="http://schemas.microsoft.com/office/2004/12/omml"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);}
[jQuery] Converting old solution to jQuery
Thanks for being so generous :-)
[jQuery] Include order for uncompressed Interface files
Hi All, Interface comes with a nice source package, but what I need is one really big file combined. I have join utilities on my computer, so joining them is not a big deal, but I was curious as to whether or not there is a specific order that they should be included in? Anyone know? Thanks in advance :) -- View this message in context: http://www.nabble.com/Include-order-for-uncompressed-Interface-files-tf3494242.html#a9759744 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________
[jQuery] New version of jquery and IE6 bugs
Yes. And 1.1.1. Packed or unpacked, same result. -----Original Message----- From: Mike Alsup [mailto:malsup@gmail.com] Sent: Friday, March 30, 2007 2:23 PM To: jd1@titleoptions.com; jQuery Discussion Subject: Re: [jQuery] New version of jquery and IE6 bugs
[jQuery] highlight/fade the current table row
<html> <body> Hello folks, I'm after some assistance (syntax I guess) on how one selects the current row of a table. The context of this query is that I have a table of data in which the last column of each row contains a checkbox which the user checks if the data case is to be deleted. When checked, I want the row to be highlighted/fade as a visual check for the user that they have checked (for deletion) the row of data they intended. My code thus far is: <tt>$('input[@type=checkbox]').click(function()
[jQuery] Collapsing table Columns?
Any ideas how one could hide/show table columns, rather than rows? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] New version of jquery and IE6 bugs
I finally got around to setting up an example for this issue. Try each of these pages in IE6. To see the problem, Refresh the page repeatedly about 5 or 6 times. The 1.0.4 example should work fine. On your 3rd or 4th refresh with the 1.1.2 page, CSS start to get buggy and background images start to disappear. Both pages are identical except for the version of jquery that they load. Using jquery-1.0.4.js - NO PROBLEMS http://www.dilltree.com/test/jtest104.html Using jquery-latest.pack.js - CSS ISSUES
[jQuery] nightly builds
anybody else experiencing problems with the nightly build downloads? -- View this message in context: http://www.nabble.com/nightly-builds-tf3488239.html#a9740412 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] ANNOUNCE: Tabs 2.7
All, I've just committed an update for Tabs. I've added a few requested features and fixed some quirks. * tabStruct option deprecated. For a little more flexibility regarding the HTML structure required for a tab interface you can now add certain classes to the unordered list and the tab containers. If no classes are present, the default structure is used. Say you need a div wrapped around each the ul and the containers, just do: <div id="container"> <div> <ul class="tabs-nav"> ... </ul> </div> <div>
[jQuery] Jquery, AJAX, and php session variables
Ah, it's actually not... here's the breakdown of the included files: index.php (sample "normal" page which has the login box in it) (included at start of index.php) -page_init.php (included at start of page_init.php) -dbconnect.php //connects database -startsession.php //CALLS SESSION_START() and contains object-like fns for session handling -header.php (included after page_init.php. DOES NOT call session_start as it's already called in page_init.php's included startsession.php page. Contains all
[jQuery] Jquery, AJAX, and php session variables
I am indeed not using output buffering. I call session_start as the first thing on every page, before the headers are sent. I also call session_start on my login page, first thing. If I use output buffering, do you think that would fix things? I could call session_start() again as a callback function after the ajax finishes, perhaps...? thanks, -kim --- Aaron Heimlich <aaron.heimlich@gmail.com> wrote: > On 3/30/07, Kim Johnson <egypt1an@yahoo.com>
[jQuery] validation plugin question
I'm working with the validation plugin and I'm trying to work out the id of the first form field that causes an error. Hopefully someone will tell me there's a really easy way to do this but I couldn't find it so, as a start, I've added a new function in validate.js: returnList: function() { console.error( this.errorList ); }, I've added this just after the countErrors function. In my form page I've added: var errorFound = $('#theform').submit(function(){if (validator.countErrors() > 0){ validator.returnList()
[jQuery] IE and Javascript in Ajax Content
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Is there an issue in IE that won't let you put Javascript in content that is pulled in via Ajax. I have a page that has a navigation menu and when you click on any of the links it pulls an HTML page in with Ajax. I am using the <b><a href="http://www.mikage.to/jquery/jquery_history.html"
[jQuery] Jquery, AJAX, and php session variables
Thanks to both of you for your responses, I guess I'm still having a hard time wrapping my head around what AJAX is doing with my session vars that make it impossible to use in my existing PHP files. I was under the impression that session vars are just ... around in the browser, so if they are set on an ajax called page, that I'd be able to use them in the page I called it from. Even if I passed the session ID back in the requestText, let's say... based on the behavior I saw it's not seeing any
[jQuery] highlightFade for same id
How can I display highlightFade for the same id? Using this script below only the first element(Credit Card Flag) with that id looks with highlight. ... <script type="text/javascript" src="../js/jquery.js"></script> <script type="text/javascript" src="../js/jquery.highlightFade.js"></script> ... // haves credit card $(".show_credit_card").hide(); $("input[@name='reb_co_credit_card']").click(function(){ // show highlight for id show_credit_card
[jQuery] Kinda funny way to getting jQuery some exposure
Okay, so Pete Cashmore, owner of Mashable was ragging on a new site that generates stripes for that "Web 2.0" effect. I actually think the stripe generator is pretty cool so I replied in the comments section about it: http://mashable.com/2007/03/29/stripe-generator/ Read the comments to see how the whole thing plays out but what I will say is that I used jQuery to make the rounded corners. ;o) Rey... -- BrightLight Development, LLC. 954-775-1111 (o) 954-600-2726 (c) rey@iambright.com http://www.iambright.com
[jQuery] Converting old solution to jQuery
I have a solution that was written with a minimalist, basic AJAX file. I would love to upgrade to jQuery, but I'm still such a newbie that my brain isn't functioning. I have a list of photos returned from my database with dynamic loop counting. Each row is currently this: <div id="photo[loop_count]" class="Text2" > <input name="photo" type="hidden" value="[field: 'ID']" /> <a href="#" title="Remove this Photo" onclick="return rmPhoto('process.lasso?[field: 'ID']', 'photo[loop_count]', '[loop_count
[jQuery] YUI Implementation Focus: Dustin Diaz's DED|Chain. Interview which presents an alternative to jQuery
Just FYI... I meant no insult...it just seems like, if he's so influenced by jQuery, that it would have made more sense to join the jQ team. Especially since we're going to be picking up YUI tools via Jack Slocum. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Rey Bango Sent: Thursday, March 29, 2007 5:46 PM To: jQuery Discussion Subject: Re: [jQuery] YUI Implementation Focus: Dustin Diaz's DED|Chain. Interview which presents an alternative
[jQuery] addons.mozilla.org uses jQuery!
Hi there, I hope this is not old news: http://addons.mozilla.org uses jQuery! -- cu Sebastian _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] IF contain so click
Hi I am trying simple things yet, so So If a field have a value click in upload button, How can I do that? I am trying something like that <span class="objectBox objectBox-text">if ($("#edit-field-image01-upload").val() > 0) $(edit-upload).submit(); </span><br clear="all"> macm _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Break out of each loop
This is a question I got from a friend of mine: $("##players tr:gt(0)").each( function() { s = parseFloat($("td:eq(0)", this).text()); } ); How do I break out of this loop? I don't need to go to the very end. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] How can I get a second children element?
Hi I am newbie How can I get a second children element? In firebug I have ---DIV ------FIELD ------FIELD ------FIELD ------FIELD ------FIELD My problem is all children have same name. How can I get second and after the third... Regards<br clear="all"> -- macm _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Why does show(0,callback) not run the callback function?
Why does show(0,callback) not run the callback function? (Looking in the jQuery 1.1 code I see that is the way it is coded) I ran into this issue because my code chooses an animation speed of zero when the element contains too many items to animate smoothly. I found that the callback only fired when a speed of more than zero was chosen. I suppose that when 0 is specified, no animation is required, so there's no timer animation and in a way there's no need for the callback because it could just be
Next Page