[jQuery] jqModal updated - less code, more features.
I have released jqModal revision 4 with some drastic changes and substantial improvements. Changes include; * Architecture switch - Plugin is now called on window placeholder(s) (instead of triggering link) * Less code, less rigidity - The architecture change allowed me to do away with class asignments. The code has also been painstakingly tweaked & tuned to amount to a 2.8k codebase. * Content focus - If a modal window contains form elements, the first one will be focused. * True modal - If the
[jQuery] SVN request...
John, et al. (committers), Any chance you guys can http enable the svn repository? I use the svn repo quite a bit so I can build custom versions of jQuery at my company. The problem is that I'm VPN'd in all day long and our internal proxy doesn't allow proxying of svn connections. This is a fairly simple thing to do... just need to enable mod_dav and mod_dav_svn then point it to your repo. Not high on any priority list... just a nice to have. Thanks! Rich _______________________________________________
[jQuery] Table sorting alternatives?
Either my Google-fu is weak, or the TableSorter plugin appears to be the only game in town for table sorting in jQuery-land: http://motherrussia.polyester.se/jquery-plugins/tablesorter/ Now, don't get me wrong, it works perfectly fine (when not trying to stripe a 1600 row table), but it lacks a feature that I need for my particular data set - multi-column sorting, or at a minimum, using another column as a tie-breaker. The data I'm dealing with is half zeros, and half non-zeros, and users have expressed
[jQuery] ajax start/stop indicators
Hi, I would like to have separate "activity indicators" for various ajax requests I am making (or none at all for some) and thus I cannot use the global ajaxStart and ajaxStop functions. I was searching the nabble archive and also the source code of jquery and don't seem to find the solution. The documentation also doesn't mention anything like that. I got this one from the archive: $.ajax({ ... stop: function() {}, start: function() {}, ... }); but it's not working with current jQuery. Has this
[jQuery] Proposed selector patch: select by name
The name property is associated with every (or nearly every? are there exceptions?) DOM element. In my code I make extensive use of the name property, and it has been extremely useful to refer to specific elements directly by their name property rather than id or class. When used repeatedly, it is much cleaner (and I suspect faster, though I haven't benchmarked it) than the equivalent '[@name=]' selector. I would submit this as a plugin, but I don't believe this fundamental of a change
[jQuery] rewriting the browser address (without refresh)?
I dont know if you got a solution or not but some time back I tried to change the url in browser so that user could copy the url and then paste it somewhere else and it would still work. The part relevent to ur needs is changing the url, The URL CAN'T be changed to some other page though you can add as many #s as you want. To do this you'll have to simply write : location.href = '#'+<new link>; Other way to do things is the hard way. My website : <a href="http://jodhpuriguy.com" target="_blank"
[jQuery] ANN: Brandon Aaron Joins learningjquery.com
<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=us-ascii"> <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] Question on location.hash polling and stripped tables
Hi I'm working on an A-Z list implementation and have several questions. Since the list is not VERY long (50kb) I moved away from breaking it up and calling letters using AJAX. Now I load the full tables in one go and just hide the ones not used (most people would hunt through the list anyway). Demo: http://www.sfu.ca/ehs/AtoZ/ 1) Stripping the tables (aesthetics): I use $('.stripMe li:odd').addClass('alt'); to add alt to the tables where tables are like this: <ul class="azlist"> <li id="A">
[jQuery] ANN: Brandon Aaron Joins learningjquery.com
<!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 style="WORD-WRAP: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space"> <DIV dir=ltr align=left><SPAN class=950361614-02022007><FONT face=Arial color=#0000ff size=2>I'd be willing to try my hand at some beginner level stuff. I could gear it towards Coldfusion usage even.</FONT></SPAN></DIV><BR>
[jQuery] rewriting the browser address (without refresh)?
I know you are talking about rewriting the URL once you click on an anchor tag, but FYI in case you weren't aware, you can use mod_rewrite (if your server is running apache) in a .htaccess file to rewrite urls. I've been doing this for years, because indeed, search engines like it better if your url is something like 2.html instead of index.php?id=2. With the mod_rewrite option the url essentially is rewritten when someone tries to visit .php?id=blah (or whatever pattern you give it), which makes
[jQuery] jQuery 1.1.1 Question : type mis-match
I'm in the process of upgrading my code to use the latest API and get a type mis-match error in IE on this code from jQuery.js: else { name = name.replace(/-([a-z])/ig,function(z,b){return b.toUpperCase();}); if ( value != undefined ) elem[name] = value; return elem[name]; } The mis-match is at: elem[name] = value; I am using the attr method to pull id, href, and rel values. Is there a condition where these values can cause this error? Any ideas as to why this
[jQuery] Timer
Hallo, über load() blende ich eine Datei innerhalb einer PHP-Seite ein. Diesen eingebundenen Bereich würde ich gerne alle 30 Sekunden aktualisieren. Gibt es eine Möglichkeit, dies mit jQuery durchzuführen. Danke und Grüße, Johannes -- View this message in context: http://www.nabble.com/Timer-tf3161162.html#a8767969 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] ANN: Brandon Aaron Joins learningjquery.com
<!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 style="WORD-WRAP: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space"> <DIV dir=ltr align=left><SPAN class=977245615-02022007><FONT face=Arial color=#0000ff size=2>Sure sure</FONT></SPAN></DIV><BR> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left> <HR tabIndex=-1>
[jQuery] scroll method problem
hello, there is a question about scroll method that following below: $("p").scroll( function() { alert("Hello"); } ); Hello <p onscroll="alert('hello')">Hello but it's not really work when i write code like this: $("body").scroll( function() { alert("Hello"); } ); do you know why? -- yorsal _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] on click creating a autocomplete input field
Hi everyone, I have a table with some values and I want to create a affect of a simple inline editor meaning: 1. when the user clicks a cell (only on a TD) a input field would be created in the cell. 2. if the cell has content I want that content to be already inside in the text field (if not just leave it empty) [the content will always be plain text]. 3. you can guess that next i want when the user clicks enter (keydown) i want to create a ajax submit of the value and have the cell return
[jQuery] Creating Custom Show/Hide system
Im trying to get my head around jQuery again, this time im wanting to create a simple show hide system. I have a simple UL base menu and a couple of SPANs within a DIV which i wish to show/hide depending on which link is clicked. Im unsure as to the best way of creating a custom function for doing so, i wish to pass thru the ID of the div i want to show and then hide any others that are shown, similar to the accordion plugin. Anyone able to help? Many thanks Mark 'Phunky' Harwood _______________________________________________
[jQuery] rewriting the browser address (without refresh)?
I have a really messy situation...I'll try to keep this short. I'm wondering if there is a way to rewrite the url in the browser bar without refreshing the page. I'm using Jquery/ajax to do something but unless I can rewrite that url I don't think we can do this. I could use an anchor (#...) but the problem here is that they links need to be accessible to Google. People need to be able to cut, paste, bookmark whatever they are looking at. I'm hoping this is somehow possible...OR...is there some other
[jQuery] click() - toggle content and change content
Hope someone can give me a tips: I am very new to this, and I am trying to change the content in a list element tag after an event has occured, and then change the content back again... First, the <p class="theBody"> is hidden, and when I click "SHOW body" it is made visible and the content of the changes to "HIDE body". But when I click to toggle the again, I want the text to go back to "SHOW body". Here is the code so far: function init() { $(".roundbox .thebody").hide(); $("#container").find(".roundbox
[jQuery] jcarousel - turn off autoscroll
I'm using the external controls feature (not the next/prev buttons) but I'd like to disable the autoscroll when someone clicks them. autoScrollStopOnInteract appears to only work with the next/prev buttons, & isn't affected by clicking on the external controls. Is there a way around this? Thanks -Wick -- View this message in context: http://www.nabble.com/jcarousel---turn-off-autoscroll-tf3158249.html#a8759349 Sent from the jCarousel mailing list archive at Nabble.com. _______________________________________________
[jQuery] [jQuery 1.1.1 w/ TB 2.1.1] - Firefox TB iFrame fails to fire document.ready
Hello, I posted this inquiry on the Thickbox forum: http://codylindley.com/thickboxforum/comments.php?DiscussionID=405 So far noone has been able to solve or answer it and Alex I believe asked the question to the jQuery group. I'm running Mac OS 10.4.8 with FF 1.5.0.9. I've tried on both Mac and XPProSP2 with same version of FF. Alex tried with FF 2 on WinXP. We have an index.JSP page that has a link to invoke a TB that includes an iFrame loading another campaign_details.JSP. The detail JSP includes
[jQuery] How to skin a table
I use asp.net's DataGrid to show data. And I want to use as http://icant.co.uk/csstablegallery/index.php . So I need to change like this: <table id = "DataGridResult"> <tr><td>Name</td><td>Age</td></tr> <tr><td>1</td><td>2</td><tr> <tr><td>1</td><td>2</td><tr> </table> <table id = "DataGridResult"> <thead> <tr><td>Name</td><td>Age</td></tr> </thead> <tbody> <tr><td>1</td><td>2</td><tr> <tr class="odd"><td>1</td><td>2</td><tr> </tbody> </table> The code is like this: $("table#DataGridResult").children().find('tr:eq(0)').wrap("<thead></thead>");
[jQuery] show/hide div crashes safari...
Yesterday I inquired about how to hide and show divs based on a radio button selection. I eventually got a script working, but it seems to be crashing Safari (v2) when I click on one of the radio buttons. I'm sure I'm not writing this as efficiently as it could/should be written, but everything else I've tried doesn't work. Any thoughts? thanks! the script: // toggle between files & reports $().ready( function() { $("#filesPane").hide(); $("input[@name='findWhat']").click(function(){ $("input[@name='findWhat'][@checked]").val()
[jQuery] thickbox and forms.js
HI, I am taking the thickbox plugin cody and using it to submit a form but I am having trouble with it. Has anyone Successfully used thickbox and the jquery forms plugin together. I am trying to make a form that submits in the thickbox window and can return a result in that same window. Thanks -TJ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Interface error 'clonedEl is not defined' with draggables
<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana, helvetica, sans-serif;font-size:10pt"><div style="font-family: verdana,helvetica,sans-serif; font-size: 10pt;">A little more clarification ... I get the 'clonedEl is not defined' exception when I handle the onOut() event. I get the 'this.parentNode has no properties' exception when i set ... containment: 'parent'. You can see both of these problems in the orginial html i posted. - Wayde
[jQuery] Looking for Interface.Sortables examples
On Thursday, February 01, 2007 2:13 PM WG <> said:
Brief Outage
Hi Everyone - It's kind of late now, but there was a brief outage of the jQuery server: http://forum.myriadnetwork.com/showthread.php?t=280 Everything should be back to normal - let me know if there are any problems. --John
[jQuery] Interface error 'clonedEl is not defined' with draggables
<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana, helvetica, sans-serif;font-size:10pt"><div style="font-family: verdana,helvetica,sans-serif; font-size: 10pt;">I'm experiencing this same problem! It happens when I move a draggable outside of the sortable. - Wayde <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ---- From: Chris W. Parker <cparker@swatgear.com> To: jQuery Discussion.
[jQuery] Looking for Interface.Sortables examples
<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana, helvetica, sans-serif;font-size:10pt"><div style="font-family: verdana,helvetica,sans-serif; font-size: 10pt;">No, I haven't heard from anyone regarding this ... OR the problems with the onchange event not firing on the first re-ordering of sortable elements. You have anything to add? - Wayde <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original
[jQuery] Adding to the browsers onclick?
I'm trying to replace labels with graphics. They're for check boxes and I need the image background to change and stay changed on click. I have my css all set and a little jQuery toggle() makes it all very easy: $(".musthave label").toggle(function(){ $(this).addClass("musthavechecked"); },function(){ $(this).removeClass("musthavechecked"); }); the problem is that it's not checking the actual form box! When I remove the above bit of code from
[jQuery] Looking for Interface.Sortables examples
Wayde, Did you ever find anything regarding this? Chris. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of WG Sent: Wednesday, January 31, 2007 12:02 PM To: discuss@jquery.com Subject: [jQuery] Looking for Interface.Sortables examples Anyone got some good, maybe more advanced, Sortables examples that illustrate how all the different methods and properties can be used? Thanks - wayde _______________________________________________ jQuery mailing
[jQuery] ANN: Brandon Aaron Joins learningjquery.com
<!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 style="WORD-WRAP: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space"> <DIV dir=ltr align=left><SPAN class=901562920-01022007><FONT face=Arial color=#0000ff size=2>Hurray! The more tutes the better.</FONT></SPAN></DIV><BR> <DIV class=OutlookMessageHeader lang=en-us dir=ltr
[jQuery] Interface error 'clonedEl is not defined' with draggables
Hello, I've noticed that the draggable+sortable demo on the Interface site doesn't work nearly as well as it used to. In the past I had no trouble dropping an item into a container but now it's very finicky on where it allows an item to be dropped and sometimes it doesn't remove the +/- icon even when the container is empty. Is there a known fix/workaround? Or is there an alternative plugin that works better? (I haven't be able to find one yet.) Thanks, Chris. _______________________________________________
[jQuery] jQuery for Wordpress
Ok folks, I'm going to bring this up here because I think it'll be cool. Basically, it's just jQuery as a plugin for Wordpress, nothing more. Just jquery.js. The reason why I'm sorta mentioning this, is because I'm about to start writing a plugin for Cody's Thickbox 2 plugin (I kinda promised that I'd do something for it, when it worked with image galleries). Anyhoo, because I think there'll be more exciting developments in jQuery, which could be used on blogs, a single, standard 'jQuery for Wordpress'
[jQuery] jQuery on WTF?
http://technorati.com/wtf/jquery/ I've added a blurb to Technorati's WTF? about jQuery. At the moment, the top entry only has 12 blurbs - so jQuery people, please get on the site and add your own to put it to the top. What is WTF? "Ever wonder why something is sooooo popular? Why are the hot topics hot? WTFs explain the buzz around people, things, and events. Who writes these WTFs? You do! Anyone can write one on any topic, and everyone can vote for the best explanations. The ones with the most votes
[jQuery] working and xml doc or converting to json
Hey guys and gals, I have a xml doc that I will be pulling in with $.ajax and a datatype of xml. My question is two fold, how should I effeciently handle the return xml file and is there an easy way to convert the xml doc to json format. This is how I would normally use js to call the xml: var text= xmldoc.getElementsByTagName("text")[0]; then something like text.getElementsByTagName('item')[0].getAttribute('tag') That way seems to clunky, is there a better way. the xml file: <text> <item tag="DELETEDIALOG"
[jQuery] Stopping Page Interactivity v1.1.1 / BlockUI magic?
I am trying to figure out how to block *all* activity on a page. When the page loads, I do not want clicked links to be followed, keypresses to be registered, etc. etc. Here is what I have tried; $().ready(function() { var h = function() { return false; }; $().bind('keypress',h).bind('keydown',h).bind('mousedown',h).bind('click',h); }); Which is virtually the same as blockUI, but I've included an additional bind type (click) and modified the "intercept function" (h) to plain return false. Unfortunately
[jQuery] Dylan Verheul's Autocomplete Mod...
I needed some modifications to the autocomplete library that Dylan Verheul released, and I wanted to share the modded library: http://www.pengoworks.com/workshop/jquery/autocomplete.htm Here are some of the things I fixed/changed: * Supports local data array (can now use w/out AJAX). * Limit dropdown to XX number of results (good for limiting the results to users) * Autofill pre-populates text box as you type * New findValue() method can be used to programmatically determine if the value in the box
[jQuery] Ajax get And Thickbox, problem accessing value
Hi, I'm trying to make an ajax validation for reductions codes.. I've got an hidden form to test the value : My problem is that when i use thickbox, i don't have access to the value of my input text anymore !! my input #code doesn't seems to have a value !! What's the problem ?? how can i get this value ?? Thanks in advance <div id='codepromo' style='display:none;'> <input type='text' name='code' id='code'/> <input type='button' name='verif' id='verif' value='Vérifier le code !'/>
[jQuery] Really Ugly?
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BLOCKQUOTE type="cite"></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Hello my jQuery friends,</DIV><DIV><DIV><BR class="khtml-block-placeholder"></DIV></DIV>I received a comment on learningjquery.com this evening from someone who had a grievance with part of some example code. I was wondering if any of you would be willing to shed some light on this for me. I think what he's
[jQuery] creating new class on the fly
Hello jquery users, I am new to jquery and have the following problem: I want to create a new <div> block on the fly. The customers should be able to drag new items to an area and be able to move them back from there to delete them. Its working in one way. They get displayed in the basket but they are not movable. This is how it looks like (Its still small): The area I want to drop in: <div id="basket"> <div id="item1" class="items"> item1 </div> <div id="item2" class="items">
Next Page