[jQuery] IE lt 6 png hack
Hi guys, Every time I had to use png image in IE lt 6 I had to look up old emails. So I decided to put together initial documentation, example and plugin for everybody to use, including for myself. So together we could make it even better, your feedback is appreciated. http://khurshid.com/jquery/iepnghack/ Cheers, --Kush
[jQuery] spam-free accessible forms
Anyone using CAPTCHAs on their forms? Well stop it! Stop it, I say! A few months back I discovered that our plasma dictionary entries were being spammed. Fortunately all submissions to that "extremely technical and scientific" dictionary are screened. But it did mean our screener was being spammed. He thought the dictionary was suddenly popular. Nope. So, I began looking for a way to pre-screen for spam. I looked for information on CAPTCHAs, but then I found some discussions on the Lasso list to
[jQuery] jQuery :: Popup Div
Hi All, I'm desperately trying to get all of our team to standardise on jQuery and dump the mixture of other frameworks we have used (prototype, scriptaculous, dojo, etc). So... I'm looking for the jquery equivalent of this: http://simile.mit.edu/timeline/ Click on a link in the Timeline and you should get a popup div... Can`t find any jQuery examples, any body know of one. Regards, David
[jQuery] AJaX Error
I don't think this is jQuery specific, but I'm using jQuery and this community is helpful as hell, so I thought I'd post to see whether anyone had any thoughts. I'm making an AJaX call to a PHP page that returns a lot of data in JSON format. 1. The PHP page is doing a lot of work and could take several minutes (or more) to return the data. 2. The Apache request timeout is unlimited. 3. When the error is returned, the exception object's message property reads: "syntax error" with no description. 4.
[jQuery] How do you find out the *previously* checked radio button
Hi all, When you click a radio button, the event.target can tell you which one was clicked (and thanks to jQuery this works in IE too.) So, how would you find out which radio button had been checked just before the click? (in other words, tell me what the user's radio button selection has changed from.) Unfortunately event.fromElement or event.relatedTarget seem to be null in the click handler. Is there a solution that does not involve keeping track of the onblur or onchange events for each radio
[jQuery] input type='radio' in a TD with onclick
This is the HTML I have to work with: <table> <tr> <td class="foo"> <input type="radio" name="tra" value="one" /> </td> <td class="foo"> <input type="radio" name="tra" value="two" /> </td> </tr> </table> My first attempt was this:: $('td.foo').click(function() { $(this).children()[0].checked = !$(this).children()[0].checked; }); That works fine when you press anywhere inside the TD and it checks the radio button. So far so good. The problem is when you click on the actual radiobutton. That "natural"
[jQuery] Interface 3d Carousel problems
Hi all, I'm looking for a bit of help here, because I'm stuck with a problem that I just can't think yet how to solve. I'm in the process of developing an interactive presentation using jQuery. I've got the first part working, but now I've run into an issue, which is going to hold up development somewhat until I can solve it. The basic issue I'm running into is this: I'm loading the individual screens of my presentation with $("#main").load() - but the carousel plugin doesn't work when I do this.
[jQuery] prevent parent behaviour
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> <META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=609020910-04052007><FONT face=Arial size=2>hello friends,</FONT></SPAN></DIV> <DIV><SPAN class=609020910-04052007><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=609020910-04052007><FONT face=Arial size=2>i have this html structure:</FONT></SPAN></DIV> <DIV><SPAN
[jQuery] Suggestion on authentication form
Hi all, someone knows or has realized an authentication form calling a external PHP file for the authentication, in order to remain to the inside of the main page (index.php) All I want realize is this, when I click on submit, I call the login.php file that control user and password. What I must give back in both of case? I've posted my solution, it works, but I'm not sure of it, may be there's a better way, more secure. Any idea, suggestions, code, corrections are welcome. My code in index.php $(document).ready(function(){
[jQuery] Time Selection like in Google Calendar
<pre id="line1">Do jQuery have plugin for Time Edit Box??? this one is not good but I need it Regards Widi Harsojo sorry english is not my nativ language <<span class="start-tag">style</span> <span class="attribute-name"> type</span>=<span class="attribute-value">"text/css"</span>> /*<![CDATA[*/ .CB_menu{margin-top:7px;margin-left:7px} .CB_menu{border:1px solid #000;background-color:#FFF} .CB_selected{color:white;background-color:#316AC5} .CB_option{font-family:Arial;padding:2px;cursor:pointer} /*]]>*/
[jQuery] history/remote plugin, initialization callback doesn't work?
Hi folks, I'm trying to use history/remote plugin with jquery to build a web app which supports history and bookmarking. However, the problem is, the function callback in $.ajaxHistory.initialize() doesn't seem to work... Here's my code: $(function() { $("a.categories").remote('#threads', {hashPrefix: 'category'}); $.ajaxHistory.initialize(function() { $("#threads").load(base_url + "home/categories/"); }); }); FYI I'm using clean URL, so the link *IS* correct. :) Other ajax clicks
[jQuery] I saw it somewhere...
For the last hour I have be scouring through jQuery tutorial and plugins pages trying to find something that I thought I saw. I did a search in the list archive to no avail. I'm looking for an example I saw of a form with input elements with "suggestions" of what should be placed inside. This would not be a popup tooltip, but something that appears in the element already. I can do this by brute force, I was just hoping to find the more elegant approach. If anyone can decipher what I'm looking for
[jQuery] Dropdown div functionality
Guys, I stumbled upon another jQuery site (ISOHunt.com) and found some functionality that I've been looking for for some time. If you go here: http://isohunt.com/torrents/?ihq=300 and then click on the the torrent name. When you do that, you'll see a div appears (slides down) and loads details about the torrent. When you click on the name again, the div slides up and closes restoring the table to its original look. Could someone help me learn how to do that? Thanks, Rey
[jQuery] A contrite Dug
Hi All, There's a good chance you may have received a rather in-your-face email this morning from a site called tagged.com claiming that I wanted you to register. I just wanted to apologise for generating this email. It was certainly not intentional. I review new social software sites as they come along and this morning, I registered with tagged and sent two member-get-member registration messages to my dummy emails set up for the purpose. By either malicious or incompetent coding, the site managed
[jQuery] .load() callback and hide, show DIV problem
Hi, I've been working for the past few days or more on a simple file manager that uses PHP and jQuery. Basically, where I'm at: I'm able to list all files in a starting directory. When a user clicks on a folder, it opens the clicked folder and lists all files in that directory and so on. I am using .load() to load in each clicked folder's contents... and that works just fine. But I realized a couple of days ago that in order to add clickable events and everything, I have to use a callback each time
[jQuery] JQUERY SELECTOR based on image path
Hi folks, This works - but I was wondering if there is a cleaner more jquery way to do the same thing? Perhpas there is a selector that I missed in the docs? $(function() { s = $("img").eq(0).attr("src") if (s.search("images/m")>0) { $("img").eq(0).addClass("newimage") } }); tia, George
[jQuery] Pass objects to Ajax Success
I have run into a problem. I am attachking a click() event to every row of an inventory table. When the user clicks on the row, it fetches detailed information from the server and creates a new row below the clicked row. Below is the code $(document).ready(function() { $("table > tbody > tr").hover(function(){$ (this).css("backgroundColor", "#de7121")}, function(){$ (this).css("backgroundColor", "")}).click(function(){ var ordernum = $ (this).parent().parent().prev().children(".purchaseorder").text();
[jQuery] jQuery Site: EverBank.com
<div>Spotted in the wild: <a href="http://everbank.com/">http://everbank.com/</a></div> <div> </div> <div>-js</div>
[jQuery] Can a list be sortable and droppable at the same time (with Interface)?
Hi, I have an unordered list that needs to be sortable, but also droppable. I'm using the Interface plugin, but whenever I make one UL both droppable and sortable, it doesn't function properly. Either that, or is there a way to have the same functionality as the onDrop callback (for droppables), but on a sortable? The onStop callback (for sortables) doesn't cut it. Thanks.
[jQuery] SWFObject.js, IE and the onChange handler
<!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=881441716-03052007><FONT face=Arial size=2>This is an extension of my post from yesterday...I've got some more information and it's quite tricky.</FONT></SPAN></DIV> <DIV><SPAN class=881441716-03052007><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=881441716-03052007><FONT
[jQuery] Problem with Ajax post
I have this code that work fine in Firefox and IE7, but in IE6 doesn't work. $("#enviar").click(function(){ if ($("#message").val() != ""){ var message = $("#message").val(); var nick = $("#nick").val(); $.post('/WebApplication/Webchat', {message: message, nick: nick} ); $("#message").val(""); } }); Thanks for any help.
[jQuery] Reload page
Hi all, It is possible to recharge the entire page like a refresh? If yes how? -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ "It's easier to invent the future than to predict it." -- Alan Kay
[jQuery] Internet Explorer 6 resize event.
I'm just wondering if anyone knows of a fix for IE6's onresize... Example: $(document).resize(function() { $('body').append('Resized<br/>'); } That will execute several times as you are resizing the browser. I'm looking for Firefox-like functionality.. where it fires the event one time when you have finished resizing. Has anyone had any luck? Thanks in advance.
[jQuery] Fadein + Safari issues
I'm just about to tear my hair out with this now! I have a passage of text that I want to fade in when the page loads. This is not a problem on IE or Firefox (on both PC and Mac). The problem it has is with Safari on the Mac. The text will first flash on screen, then off and then start fading in, when what it should do is just fade in nicely. The code i'm using is the following: function showContent(){ $("#content").fadeIn('slow'); } Simple really. In my CSS I have set the element as Display:None
[jQuery] ANNOUNCE: Another LightBox Option - Interface ImageBox
In searching for a LightBox option that was similar to this: http://www.huddletogether.com/projects/lightbox2/ I came upon this version which is currently not listed in the plugins section: http://www.intelliance.fr/jquery/imagebox/ The animation and navigation differs from ThickBox and the other lightbox plugins currently available and is very smooth overall. The original version was done by Interface developer Stefan Petre and has since received some nice revisions and fixes courtesy of Matthieu
[jQuery] jQuery Examples pack
I was only introduced to jQuery at a Lasso Summit the beginning of March and I have already been able to do so much with it. I have been able to solve some long standing problems I had with user interface elements requiring greater javascript and ajax manipulation that my skills had previously limited. So, I am now preparing to do a presentation of jQuery at our developers IT Forum onsite. The presentation date hasn't been set yet. I may be presenting to my internal group of about 10 developers before
[jQuery] problems with swf focus
hey. i got a swf game that i put inside iframe, the problem is that once the user clicks on somewhere in the screen outside the swf file its losing focus, and the result is that if he press on keys like space, down, and up its scrolls the page instad of tirgger the "fire" button on a game etc.... what can i do in order to slove it? can i make somehow that if user presses on up / down / space its focus the SWF again? i tried and i dont think its possible (ive used all the jquery plugins for embbeding
[jQuery] Mouse drag for textbox in Draggable Panel
Hi all, I have a bit of a problem here. I have a draggable panel with a textbox on it. The problem is, if I have a text in the Textbox, I can't 'highlight' it by using the mouse. I suspect this is something to do with the way draggable works. My question is, is there any way to enable this highlight ? Thanks a lot, Chris -- View this message in context: http://www.nabble.com/Mouse-drag-for-textbox-in-Draggable-Panel-tf3686671s15494.html#a10305514 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] checking on project practicality
forgive me if this is too off topic but this is a combination technical information and a request for Project help I would like to build an online tool for writers and I would like to see if it's practical to do at all let alone with jquery. the goal is to allow readers of a piece of work to insert in-line comments and for the author to be able to review all comments in context. the rough workflow would be something like bring up a piece of work in a browser, you are commenting on, through some activation
[jQuery] Elements opacity doesnt work after fade in effect on IE
Hi, Im using the following script to display a hidden div block once a button is clicked. $(document).ready( function() { $(".channellink").click(function() { var channelId = $(this).attr('id').replace('channellink',''); //Hide div w/id extra $("#subs" + channelId).css("display","none"); // If invisible. //show the hidden div $(".subsclass").hide(); $("#subs" + channelId).show("slow"); }); }); the div has the following
[jQuery] newbie question: how to set location to a target in a way that is supported by i.e. and safari?
Hi can jquery help with the followng problem? If, in conventional javascript, I have a function goToAnchor(){ href.location="#blah" } and call it by <body onLoad="goToAnchor()"> then it works fine in i.e. and firefox but causes safari to endlessly load the page - see (http://www.s-seven.net/safari_bug.html#h_value6) I'd been hoping that jquery had a function which could handle this, but haven't found it - sorry if its obvious (I hope it is :)) Many thanks Ron
[jQuery] jquery simple star rating plug-in broken?
Hi, i'm trying to add wil stuckey's jquery simple star rating plug-in to my forms, but i'm confronted with an error. it says: <span class="objectBox objectBox-errorMessage hasTwisty hasBreakSwitch opened">"$form.title is not a function" in file jquery.rating.js starting line 125: </span><span class="sourceRowText"> var $container = $(document.createElement('div')).attr({</span><div class="sourceRow"><span class="sourceRowText">"title": $form.title(), </span></div><div class="sourceRow"><span class="sourceRowText">"class":
[jQuery] 5 ajax frameworks reviewed
Don't think I saw anyone post this yet: http://www.ddj.com/199203087;jsessionid=RX0GMYUF3C54YQSNDLRSKH0CJUNN2JVN ?_requestid=1454800 Too bad they didn't include jQuery. :( There was also a post on Slashdot with of course entertaining comments: http://developers.slashdot.org/article.pl?sid=07/05/02/1942244 Where jQuery does get some good feedback :) Jim
[jQuery] Dropdown select value help
<HTML > <HEAD> <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-16"> <META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD> <BODY > <DIV> <TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0"><!-- Letter Heading --> <TBODY> <TR> <TD><!-- Left margin --> </TD> <TD> <DIV><SPAN class=979091911-03052007><FONT face="Trebuchet MS" size=2>Hi all,</FONT></SPAN></DIV> <DIV><SPAN class=979091911-03052007><FONT face="Trebuchet
[jQuery] hash map
I have a string like that str = "REF_EMP:'sss',REF2:'A1'" I need to generate a hash map in order to execute jQuery('#DB').deserialize(str); Any idea?
[jQuery] CACHING FORM
I have a form with some fields in order to do a search When user clicks on submit then I execute the search and show the result. However if user press to backbutton I reload the form a then all input values are lost. Are any "easy" way to store the input fields values?
[jQuery] CFJS 1.1.1 now available
Hi folks, I've been working the CFJS plugin again tonight, and I've added eight new functions and fixed some sloppy JS code that was keeping the packed version of the code from working. The new version of the code is available from: http://cfjs.riaforge.org http://jquery.com/plugins (listed under 'Extensions') or http://cjordan.us This information and more is in the ChangeLog, but if you're interested, here are the new functions: * CreateDate() * CreateDateTime() * CreateTime() * CreateODBCDate()
[jQuery] serialize() output in key/value pairs
Is there a way to easily convert a string of parameters [name=John&location=Boston] into key/value pairs [{name: "John", location: "Boston"}]? I found the FastSerialize plugin, but it claims that the native one is much faster, and doesn't require the extra plugin code. What I want to be able to do, is just do $.get("page.php",$('input').serialize()), just like you can in the FastSerialize plugin.
[jQuery] Jquery slideshow plugin, unstyled content
IS there anyway to not have the slideshow: http://interface.eyecon.ro/demos/slideshow.html show the photo's sort of in a vertical line until they all load. It really makes me not want to use this particular setup, even though it's perfect for what I want. There really are not to many slideshow type demo's for jquery out there, that I can find otherwise. Thanks, ty
[jQuery] Safari AJAX/event issue
Hi, My company has just created a little flash/jQuery widget: http://www.defacto-cms.com/about-defacto/case-studies.html It works fine across Firefox, WinIE 6+ (*) and Opera, but fails in Safari (2). To check it wasn't the flash, I've included a 'disable flash' link at the top. You are then left with some standard links which have an onclick added . These links should also use the Ajax (and do in other browsers), but they don't work in Safari, it ignores the event and just loads the page normally.
Next Page