[jQuery] $().click()?
I wanted to look something up, but since the site is moving hosts right now, that makes it a little hard :) is click() an available function? I wanted to add an event to a div that made an area visible to do some editing. I know I could just to an onclick method, but I wanted to try adding something dynamically to see what I could do, and if it was what I wanted. Thanks.
[jQuery] "Focus" code snippet for: BlockUI, Lightbox, Thickbox, and other windows...
Guys, It has been a long time since the first blockUI and "window" plugins (e.g. lightbox/thickbox) became available. However, i still didn't see this piece of code in any of these sollutions. All projects have thesame "bug", you can TAB out of the lightbox, to the underlying page. (For a demo, open any project demo page, open the window and hit TAB a few times. Eventually you will "jump" the page to another location.. Not very user friendly...). Especially in blockUI this snippet can be usefull:
[jQuery] Bootstrapping Jquery, Or: How to Create a 1 line javascript widget for external websites...
Hi, I'm working on a calendar widget and want to make it possible for people to embed it on their websites... My goal is to keep the embed line as simple as possible, something along these lines: <script src="www.mywebserver.com/webservices/? userid=123&style=123&etc=123" /> Now, my question is: How do i do this in the best possible way if i want to use Jquery. Seeing as most Jquery scripts usually have at least 2 lines: 1 for jquery, 1 for a plugin, how do i get this down to 1 line ? It seems people
[jQuery] onbeforeload and css manipluation... help!
hey... i do some manipluation to div with css by moving the position to left by 30px... the problem is that the jquery applies it after the page is loaded and as a result the div shown and then bounce to the desiered location... is there a way i can fix it? somting like onbeforeload to apply this css changes? -- View this message in context: http://www.nabble.com/onbeforeload-and-css-manipluation...-help%21-tf3702002s15494.html#a10352408 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] DDoS attack to Jquery can be effectively prevented by ...
....using a webserver that can do IP level throttling (Bandwidth and Request Rate) see this one, http://litespeedtech.com/ http://litespeedtech.com/products/webserver/overview/ . it can also do throttling differently for dynamic and static content requests. We are using this web server and We successfully defeated couple of DDoS attacks in the past. Galen
[jQuery] jQuery Server Side Grid
I have developed a server side Grid plugin based on http://makoomba.altervista.org/grid/ Demo: http://trirand.com/jqgrid/jqgrid.html The page is in Bulgarian. Grid support sorting, paging, resizing. The returned data from server must be in XML One to many relation is possible with two grids. Sorry, but I have no time to make a documentation. Next week I do that. Tested with FF 1.5 and IE 6. Again with this I have developed another plugin - searchdb. This plugin converts a input fields to SQL WHERE
[jQuery] JavaScript in loaded page with .load() & init order
I can load page with $("#mydiv").load(url) witch several <script> code. But order of initialisation is important. When I have it in classic page all is OK, but when I load page with JQuery I have problem with "undefined variable" error or problem with access to loaded DOM model. Why JQuery init <script> in wrong order? How are best practice to init code? Can I use $(xyz).ready()?
[jQuery] Temporary jQuery Download Hosting
Hi my name is Matt and i work for BrainServers.net and we were wondering if you would like us to temporary offer the downloads of jQuery while you guys move servers. Just email me if you are interested and i can arrange the links. Matt BrainServers.net
[jQuery] Problems with IE
Hey everyone. This is my test site: www.svplace.com/teste the function to load content into a div is working well on Firefox, but it doesn't on IE.... This is the load function: http://www.svplace.com/teste/load.js I got this function from this site: http://education.llnl.gov/jQuery/ which, by the way, works fine on IE. Could anyone help me find out what the problem is? Thanks! Paulo
[jQuery] jquery.com update
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hey everyone, <DIV><BR class="khtml-block-placeholder"></DIV><DIV>For those of you still not able to see jquery.com because dns hasn't completely propagated, I posted an update with John's latest announcements here:</DIV><DIV><A href="http://www.learningjquery.com/2007/05/jquerycom-temporarily-down">http://www.learningjquery.com/2007/05/jquerycom-temporarily-down</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I
[jQuery] frameReady some time crash?
I have next code: jQuery.blockUI(); jQuery("<iframe id='applicationIframe' onload='' src='"+url+"' marginwidth='1' marginheight='1' height='100%' width='100%' scrolling='no' border='0' frameborder='0' /
Temporary Downloads
Hi Everyone, You can find temporary downloads of jQuery available here: http://jquery.com/src/ Sorry for all the hassle, again. --John
[jQuery] Selecting the First of Many input types with jQuery
I'd like to select the first text input, password input, or textarea on the page. Only those three types of elements, and only the first one. $("input[@type='text']:first, input[@type='password']:first, textarea:first") is close, but not exact - it will take the first text input, and the first password input, and the first text area.... I only want the one of those that appears first in the markup... Can jQuery solve this?
[jQuery] NEED HELP WITH IE PROBLEMS.
Hey everyone. This is my test site: <a href="http://www.svplace.com/teste">www.svplace.com/teste</a> the function to load content into a div is working well on Firefox, but it doesn't on IE.... This is the load function: <a href="http://www.svplace.com/teste/load.js">http://www.svplace.com/teste/load.js</a> I got this function from this site: <a href="http://education.llnl.gov/jQuery/">http://education.llnl.gov/jQuery/</a> which, by the way, works fine on IE. Somebody help me please! Paulo
[jQuery] Following link with jQuery
Is there any way to have jQuery simulate the click event, to the point of even following the link? $(...).click() will trigger other events, but not follow the link - I'm looking for a complete click simulation. (There must be some way using JavaScript - I know Selenium simulates this...)
[jQuery] Suggest for improve jdMenu
In the demo of the release 1.3.beta2 in their site, show that it use the » caracter to show the arrow that indicate that in there is another level of the menu, what i don't like about this is that the sign is shown inmediately after the word. With a little of style (css) it can be a better way to show it. basically, I change in jdMenu-demo.html all the » for a class in the <li> element. (<- I think it would be nicer if jdMenu identify this and add the class automatically). Also, change
[jQuery] find() in namespaced tags
Hello, I am trying to get the content of a namespaced tag like: <tag> <ns:tag>my content</ns:tag> $("tag").each ( function () { $(this).find("ns:tag");// is void $(this).find("tag");// is void $(this).find("NS:TAG");// is void...tried 'cause I noticed that Firefox shows it uppercased in the DOM inspector }) I do I get to 'my content'? Thanks in advance, -c. )
[jQuery] Need to attach .click() event to HTML anchor link but it won't stop bubbling...
I've been asking about the same problem (and still searching (in vain?) for an answer to the question here on the jQuery group...). I have a click function that I bind to each folder link in an imaginary file manager script. The problem is still, when I click on one folder and it displays its contents, the click function keeps going and opens and closed the folder when it should STOP after being clicked once. And it should attach its click function (in an UNCLICKED state,) to the just-clicked folder's
[jQuery] jquery.com is down. John Resig is aware
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hey folks,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>In case any of you are wondering about jquery.com at the moment, just wanted to let you know that the site is down, but that John Resig is aware of the situation and is working very hard to get things back up. It might take some time (meaning a day or two), so please be patient as he gets things back online. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks,<BR><DIV>
[jQuery] <HTML> Node
Can jQuery access the <HTML> node and add a class to it? Is this invalid XHTML? How does straight JS get the HTML node? Glen
[jQuery] Handle cross-site JSON in Form Plugin malsup
hi, I have a question about handle cross-domain JSON data in Form Plugin. I use the sample of JSON at http://www.malsup.com/jquery/form/#code-samples When I place the client Form and Server side code in different domain, it just show the raw JSON data. <form id="jsonForm" action="http:www.my-site.com/json-echo.php" method="post"> Message: <input type="text" name="message" value="Hello JSON" /> <input type="submit" value="Echo as JSON" /> </form> How can I handle the JSON data when it respond from
[jQuery] Widget Framework
Hey all, I'm working on a simplistic "widget framework" to better standardize how widgets work (if only for those that I'm writing) - I'd like to share it to hopefully generate some ideas with it before I get too involved The goals behind it (thus far) are to: * wrap widgets in such a way that you can treat them more or less as a single DOM Node via jQuery * as part of the above point, widgets should be able to semantically redefine various jQuery methods - for example, if you have a dropdown menu
[jQuery] Getting the full class set of the current object
Given: <div class="a b"></div> Running: $('.a').attr('class') Returns: "a" I expected "a b". How do I obtain the full class set applied to the current object? ~ ~ Dave
[jQuery] Release: Validation plugin beta 3
Hi folks! I'm glad to announce validation plugin beta 3. A lot of feedback from users went into this release, in the form of several bug fixes and new features. Thanks everyone who participated somehow! As usual, all interesting stuff like downloads, examples and documentation are on the plugin page: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ I've also updated the Plugins API browser, if you prefer that form of documentation: http://jquery.bassistance.de/api-browser/plugins.html#validateMap
[jQuery] ASP.net and jQuery...Imperfect Together?
I am starting up with two technologies...asp.net and jQuery. jQuery works great with old asp, but seems to be 'unwelcome' in asp.net. Anyone have direct experience marrying the two? --- Dave
[jQuery] ThickBox 3
Cody Lindley updated his ThickBox to version 3 yesterday, but I saw no announcement :-( The only thing I didn't see that I was expecting - making the plugin safe for use with other libraries. Of course, I'm hoping Jörn will be done with his autocomplete plugin soon and I can be rid of scriptaculous and not have to work about the compatibility issue.
[jQuery] .keyup + .html
Helloes, I have a little thingie that clones text from an input into a div: http://ruphus.com/code/jquery/clonetype/clonetype.html Seems to work fine, except when I try to backspace away the entire text in the input -- the final letter refuses to vanish from the div, even though it's not in the input. Any ideas what's going on here? jQuery(document).ready(function(){ //jQuery('#source').attr('value', 'x')); //jQuery('#clone span').html(jQuery('#source').attr('value')); jQuery('#source').keyup(function(){
[jQuery] Chaining methods
I made a plugin called toggleText. I want to chain this to a jquery object and toggle the text. I also want to add a click event to the jquery object. If I just use the toggleText plugin, it works. But if I also add the click handler, I get the following error: Error: $("#toggleError").toggleText("Show Error", "Hide Error") has no properties Using just the toggleText handler or the click handler by themselves works. Any ideas? Here is the code snippet. //This one works w/0 the click handler function
[jQuery] Interface 1.2; Imagebox: how to add a Rotate function?
Anybody knows how to add a rotate function (e.g. google rotate for jquery) into current Imagebox in Interface 1.2?
[jQuery] ajax tabs: How do you refer to area content is loaded into?
Hi, With regards to the tabs plugin (http://stilbuero.de/jquery/tabs/ #fragment-13), I want to use the AJAX functionality to load content based on what tab is clicked. I understand content is loaded automatically from the specified URL, but once it is loaded, how do I get a reference to the HTML that is loaded? Can I assign that area a specific ID? Thanks, - Dave
[jQuery] Rounded Corners bug?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> <tt>Hi folks, I've got a problem with the corners plugin where sometimes in IE (not always), it will do this: </tt><img src="cid:part1.01090801.05030507@gmail.com" alt=""> <tt>If the image above is missing click <a href="http://cjordan.us/images/cornersbug.png">here</a> to see it. Any ideas? Thanks, Chris </tt> <pre class="moz-signature" cols="80">-- <a class="moz-txt-link-freetext"
[jQuery] Silverlight plugin
I just posted a small plugin for creating unobtrusive Silverlight objects using the Silverlight 1.0 beta. You can find the source and some documentation here: http://malsup.com/jquery/ag/ Mike
[jQuery] javascript presentation
Guys and Gals, Can across this video and thought you would find it interesting and educational. <a href="http://video.yahoo.com/video/play?vid=cccd4aa02a3993ab06e56af731346f78.1710507">http://video.yahoo.com/video/play?vid=cccd4aa02a3993ab06e56af731346f78.1710507 </a><br clear="all"> -- Benjamin Sterling <a href="http://www.KenzoMedia.com">http://www.KenzoMedia.com</a> <a href="http://www.KenzoHosting.com">http://www.KenzoHosting.com</a>
[jQuery] ajaxSubmit multiple targets problem
Hi all, I am using Mike's ajaxSubmit method but I am running into a weird problem. Basically I have a page which allows you to rename folders using a form which is bound by the ajaxForm. The ajax returns perfectly and updates the new folder name with out a problem. It gets weird though if I try to change another folder name after that. When the server returns the result, the current folder name is changed properly and the one that was previously changed also gets the ajax update, even though this
[jQuery] Pure Object/Embed solution via jQuery?
<!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=277074916-04052007><FONT face=Arial size=2>You might recall that my company is having some issues with using jQuery alongside SWFObject and select dropdowns with the onChange handler.</FONT></SPAN></DIV> <DIV><SPAN class=277074916-04052007><FONT face=Arial size=2></FONT></SPAN> </DIV>
[jQuery] Evaulating script tags when .load-ing HTML
Hi, I'm trying to get IE6/Win to eval javascript returned from .load(). What I have is a function that calls a file: $("#master").load("inc/inc_master_update.php"); That PHP script echoes a simple line of JS in a <script> tag: echo "<script type='text/javascript'>$('#warn').html('required!');</script>"; The JS is evaluated in Firefox 2/Win (loaded into the "master" DIV), but not in IE6/Win. How can I force the issue in IE? I read quite a few posts on this, and couldn't find an answer... Thanks, ________
[jQuery] firefox and ie button onclick
I'm relatively new to javascript and REALLY appreciate the jQuery library. Its made learning how to do thing much easier. That said, I'm having a fit with an application I'm developing. I'm using Code Igniter with jQuery and under Firefox 2 (OS X and Win) things work great. IE however does not work. I mean the pages display fine, but the instant a form is submitted it becomes obvious explorer isn't working right. Basically I use the onClick event to call a function in one of the js files: <form id
[jQuery] An idea for a jQuery core addition - Plugin Registering...
Guys, It occurred to me last night with the growing list of plug-ins and the fact that so many plug-ins now are dependant on other plug-ins, that we should try to add a couple of functions to the jQuery core for registering plug-ins and detecting if a plug-in has been registered. So, to register a plug-in, you'd add something like this to a plug-in: $.plugin.register("autocomplete"); And then when writing a plug-in that's dependent on some other plug-in, you could check for loaded plug-ins: $.plugin.find(["dimension","blockui","below"]);
[jQuery] Random Image Background
I want to have a div use a randomly chosen background image. I am going to be adding to the possible background images over time. Right now I have bg1.jpg and bg2.jpg. Eventually I might have dozens. My first instinct is <pre>var totalNum = 2; var rndNum = Math.floor(Math.random() * totalNum); $("div.target").css("background-image","url(/imagePath/bg" + rndNum + ".jpg)"); </pre>Then, every time I add a new image, I change totalNum to be accurate. Is there an easier way? One that doesn't require
[jQuery] $().load() and redirect
I need load external page with AJAX, I used JQuery $().load(url) syntax, but external page sometimes use HTTP redirect to another location (in the same domain). Exist any way, how I can force Jquery to follow redirect?
Next Page