[jQuery] [NEWS] More jQuery Dzone Postings
Holy cow, Dzone.com is just chock-full-a jQuery posts today: Unobtrusive AJAX with jQuery and Rails: http://www.dzone.com/links/unobtrusive_ajax_with_jquery_and_rails.html Also, Javascript guru & one of my favorite authors, Chris Heilmann, put out a DOM cheat sheet that everyone should keep handy: http://www.dzone.com/links/dom_javascript_cheat_sheet.html
[jQuery] [NEWS] Tane Piper's jQuery Maps Framework on DZone
Our own Tane Piper has a post up on DZone.com linking to a posting of his new jQuery plugin, the jQuery Accessibility Plugin. It's designed to provide class-based text-size switching, as well as full Stylesheet switching on the fly. In addition, Tane has been busting his derriere to update his jQuery Maps plugin to work with BOTH Google and Yahoo maps. This is truly an awesome plugin, having been privy to some early testing. Please be sure to go to Dzone and vote Tane's entry up. Yes, you do have
[jQuery] good newsticker or rss ticker
<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face
[jQuery] How does everyone handle the constant updating of jQuery and plug-ins?
<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face
[jQuery] Stored width/height values in IE and Firefox
Am I missing something regarding cross browser compatibility? When I try to read parseInt($("#tagCloudData").css('width')) I get NaN in IE, yet Firefox gives me the correct value. The width is NOT set in the style sheet or in the style tag, as it is variable. I want to read it's width. Any assistance is appreciated. Dan
[jQuery] Infinite animations
I need to have a "please wait" animation. I was thinking of making one using jquery. Is it possible to create inifinte animations using the animate() function? A plain repeating gif is really booring. I think a javascript enabled animation would be more cool, don't you? Any ideas are welcome! Kia
[jQuery] ScrollTo with Easing
<span style="font-family: verdana;">There is a feature of EXT 2.0 that needs a ScrollTo function. <br style="font-family: verdana;"></span><span style="font-family: verdana;">I saw this one:</span><br style="font-family: verdana;"> <span style="font-family: verdana;"><a href="http://kelvinluck.com/assets/jquery/jScrollPane/scrollTo.html">http://kelvinluck.com/assets/jquery/jScrollPane/scrollTo.html</a></span><br style="font-family: verdana;"><br style="font-family: verdana;"> <span style="font-family:
[jQuery] Safari 3 known issues
Hello fellow jQuery users, I have noticed that a script of mine will not work in Safari, it involves the blockUI plugin and utilises the .click() event module, pseudo selectors and attributes selector and several instances of .css()nd I've ran the test suite and it says these are unavailable. fine, I can work around this but it's bloody annoying :P I didn't find anything in the group about these issues, are they only present in safari 3 and could we make sure to list them all for the sake of knowing
[jQuery] finding the next highest z-index
Hey Guys, I am working on a script that requires me to take the highest z-indexed object and send it to the back and then reset the other elements to their appropriate zindex. So, if we have five items with a z-index of 1 - 5 and when five is clicked on I need the z-index to be set to 1 and the other items to reset to 2 - 5. Thanks.<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] 5 JavaScript Tricks Made Easy with jQuery
Hello Everyone, I put this together over the last few days. I *might* consider it advanced, and there is a lot of jQuery meat to it, so I figured I would post it here first. If you find any bugs in the supported listed of browsers, please let me know so I can fix them. I really wanted these to be some "real-world" examples of the power of jQuery. I hope they are helpful to the community at large. http://www.reindel.com/five_javascript_tricks_jquery I just have to also say that I absolutely love jQuery
[jQuery] access to dynamic DOM content/id
All, Sorry if this question was asked before, but I've been searching but no real answer to this particular topic Please consider the following : if I write the following into a file, <div id="radio"> <input type="radio" value="0" name="rd1"/>Radio1 <br/> <input type="radio" value="1" name="rd1"/>Radio2 </div> I save the file and use the following code : $(document).ready(function(){ $("//input[@name='optionRadio']").change(function(){ alert ("optionRadio is changed" + $(this).val()); });
[jQuery] Parse By Style patch?
I came across this ticket <a href="http://dev.jquery.com/ticket/312">http://dev.jquery.com/ticket/312</a> that looks like it was implemented in 1.1 but when I try to using: $('li[&z-index=5]').size() or $('li[&zIndex=5]').size() and they both return zero. " The changes have been added to SVN (rev 774) so that you can write the select-by-style selectors as a plugin." Does that mean that there is a plug in that I am missing? Thanks.<br clear="all"> -- Benjamin Sterling <a href="http://www.KenzoMedia.com">http://www.KenzoMedia.com</a>
[jQuery] Draggable Issue
I'm working on a little feature for one of my projects and Iv'e ran into a little JavaScript related issue. I know that the Eyecon's " Interface Draggables" is not a part of jQuery, but I'm hoping someone here has had the same issue. Pretty much when I start to drag an img element it disappears. I've tried replacing the img element with a div, setting the background to the img src, and width and height to that of the image. It appears to me that any element I use it disappears while dragging it.
[jQuery] Fade out stage before entering the site
Hello, I have a project to do and that is an advertising spot stage that appears for 5 seconds before entering the page and then fade out. I first started it using dhtml but is buggy and is using ActiveX. Here is my try: http://www.folmultimedia.com/jokeroo/fade/dhtml/j.html I found something very close to what I want ot make: http://exscale.se/__files/web/design-fade/ here if you click anyware in the page it fades loading another style...very cool and is using JQuery. The only difference I need
[jQuery] ANNOUNCE: jCodeViewer
Hi ! Here is a new plugin : jCodeViewer http://www.jaysalvat.com/jquery/jcodeviewer/ It's a light alternative to Chili and turns div, textareas, pre tags in a simple codeviewer with basic syntax coloration. Not as powerfull as Chili or SyntaxHighlighter, but it goes straight to the point. Any feedbacks are welcomed. Thanks. Jay P.S. My english is awful and the page is certainly full of mistakes. Feel free to correct me.
[jQuery] [NEWS] jQuery Essentials - Round 2
Md Emran Hasan continues his great series of jQuery Essentials with round 2 of some top plugins. http://www.phpfour.com/blog/2007/07/28/jquery-essentials-round-2/ Rey...
[jQuery] Selector help for new user please
How would I turn this pseudocode into jquery? if div#sidebar2 contains div.plugin { div#sidebar2 width = 160px div#content margin-right = 170px } I've been at this for a couple hours and I can't figure it out, so any help is really appreciated. Thanks, Doug
[jQuery] Interface Draggable Issue
Not sure if this was posted last night when I tried to post it... I'm working on a little feature for one of my projects and I've ran into a little JavaScript related issue. I know that the Eyecon's " Interface Draggables" is not a part of jQuery, but I'm hoping someone here has had the same issue. Pretty much when I start to drag an img element it disappears. I've tried replacing the img element with a div, setting the background to the img src, and width and height to that of the image. It appears
[jQuery] Sliding an image into a box - Little animation
Hi Folks I am trying make a little effect. In my menu/box/container I want a Sliding effect of a image or background color. So when mouseover ------> the image complete the box from left to right. One time and stop. $("dd/ul/li").mouseover( function() { $($(this).addClass("selected")).animate({top: -205},"slow"); return false; } );<br clear="all"> Ideas? Regards -- Mário
[jQuery] jQuery AJAX working in Firefox but not IE
Hey folks, So here's example code: <a onClick=" $j('#points_1').fadeTo('fast', .1).load( '/points/scroll', {sm_id: 1, ps_id: 13}, function() {$j('#points_1').fadeTo('fast', 1);} );"> You can see it in action (or inaction using IE) at http://delangeracing.com/points and clicking any "Prev" link. Any idea why it never fades back in using IE? -Josh
[jQuery] Confusion with re-binding a click?
Hey guys, Sorry I am just really in a rut here. I was told on IRC earlier that you CANNOT re-load content into a <div> if you have already loaded content into it outside of the div. For example here: $("div.storyvotefor").click(function(){ $("div.storyvote").load("/stories/vote/1/" + $storyid); }); $("div.storyvoteagainst").click(function(){ $("div.storyvote").load("/stories/vote/2/" + $storyid); }); Here, div.storyvotefor, AND div.storyvoteagainst are both INSIDE of div.storyvote which is what
[jQuery] named function vs anonymous functions
I currently have: $(this).change(function(){ //my function code here });//end change fn I decided to move the function outside this block since I might want to use it at another time besides a change event so my function is now myfunction = function(){ //my function code here } so what is the proper syntax for calling this named function for that change event?
[jQuery] query against response text from $.get() not working...
I have done this exact same thing on a previous project, which I believe was using version 1.1.2, and had no problems. On this current project we are using version 1.1.3, and for the life of me I cannot figure out why this is not working. $(function() { $(".btnSubmit").click(function() { $.get( "/email_subscribe.cmd", { emailAddress: $("#emailAddress").val() }, function(data) { alert( $("#invalid_email_address",data).html() ); } ); }); }); The application is an MVC framework built in Java. The command
[jQuery] running a callback function even when no results returned
it seems that if no results are returned from a .$.getJSON, nothing in the function(results) callback function runs. I just tested with a console.log('hello world') and got nothing. if however valid JSON results are returned, everything works fine. is this what it's supposed to do? if so, how do I run a function if their are no results?
[jQuery] jQuery object equality?
<div>Hi,</div> <div> </div> <div>I was wondering if there is an easy way to see if 1 jquery object is equal to another jquery object in terms of its contents selected?</div> <div> </div> <div>Thanks</div> <div>-GTG</div>
[jQuery] jqgrid
Hi, i`ve wanted to use jqgrid on my page, but it looks like its too hard for me. My code for grid comes direct from http://trirand.com/jqgrid/jqgrid.html The problem is that script cant load table content and "Loading..." is still visible.. I dont really know how all that works, i didnt use php before. You can see it here: http://ohionet.homeip.net:5080/http/ Please, look at it, i`ve spent 2-3 hours and did nothing. Regards.
[jQuery] IE code profiler
Does anyone know of an IE equivilent to Firebug that I can use to profile code run times in a similar manner? I have been working hard over the last few weeks optimizing some jQuery driven code, and after doing all the obvious stuff (cacheing selectors, reducing loops, etc) I have been trying more tricky optimization tricks, such as cacheing the DOM attributes of elements I manipulate a lot so I don't have to use .attr and .css getters for conditional statements. I have been using the Firebug code
[jQuery] Best Plug-in For "Mouse-over show larger image" function
<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face
[jQuery] jQuery Live Search - where?
I'm looking for any example about jQuery Live Search. Google gives me this example: <a href="http://www.steintafel.ch/blog/2006-10/jquery-visitenkarte-mit-ajax-laden/">http://www.steintafel.ch/blog/2006-10/jquery-visitenkarte-mit-ajax-laden/ </a> but in german(help Klaus and Karl)! ;P Do you know any more example? Cheers
[jQuery] jquery 1.1.3.1 problem with className
getting this error: Error: b.className has no properties Source File: http://eddev.llnl.gov/resources/javascripts/jQuery/jquery.pack.js Line: 11 I know that I'm doing removeClass and addClass like: $(this).removeClass('RedText'); $("label[@for='title']").addClass('RedText'); this could be related to something else entirely, it's hard to say. the page i'm working on is only in the middle of development, so it's hard say.
[jQuery] Pager Plug-In, Nested Content and Safari
I've been playing with Rik Lomas' pager plug--in and have run into a problem specific to Safari. It seems Safari isn't honoring/recognizing the display:none that the plug-in is attaching to the paged content when the paged content is nested within a div that is set to display:none. In my demo (http://64.13.206.202/pagerDemo/), the paged content is nested within 2 divs that need to be shown before the paged content is viewable. If you remove the display:none of those 2 divs, then the paged content
[jQuery] Announce: Masked Input Plugin 1.0
I just wanted to announce that I've finally released v1.0 of my masked input plugin. Please check it out at: http://digitalbush.com/projects/masked-input-plugin Thank You Josh digitalbush.com
[jQuery] [NEWS] jQuery Consider Part of the Big 4
Go to this slide show and look at slide #10: http://www.slideshare.net/simon/javascript-libraries-the-big-picture - Dojo - YUI - Prototype & Scriptaculous ==> jQuery :) Very cool. We're starting to get the recognition we deserve. Rey...
[jQuery] IE and the Invalid Source Code Error
Ok...so I just got this mock up working great in firefox and realized that after all that work (new to JQuery), I had never tested it in IE. But, figuring it was cross browser and I was going to test on the latest IE that this would not prove problematic. And of course, nothing I was doing was that tricky really (ok, once I learned how best to do it)...a couple <divs> a-toggling, a little inner html being updated....nothing really fancy as far as code goes. So a-lauching I go in IE...nothing looks
[jQuery] validation plugin with checkbox array
i have a series of checkboxes that have the name 'request_type[]', and am trying to use the validation plugin to see if at least one of the boxes is checked. in the 'rules' section of the validate script i have tried the following: - request_type: "required" - request_type: function(){ required: true, minLength: 1, } - "request_type[]": "required" - "request_type[]": function(){ required: true, minLength: 1, } wondered if someone could point out the mundane detail that i've overlooked in this instance.
[jQuery] A perhaps SOT CSS/jQuery question
Hi folks, I'm having trouble with a bit of jQuery/CSS stuff, and I'm hoping someone here could explain what the heck I'm doing wrong. I am not by any stretch a CSS guy. I do what I can to get by. Also (and I know this sticks in lots of people's craw), this only *has to* work in IE. This is an internal app for a company who does not use FF or any other browser. I've got the following in my main index file: <span style="font-family: courier new,monospace;"> <script src="/Include/JS/jquery.js"></script></span><br
[jQuery] NEWS: New Adobe Ajax Resource Center
Adobe has announce their new [URL="http://www.adobe.com/devnet/ajax/"]Ajax Technology Center[/URL] which introduces new technologies that make building rich internet applications easier and scalable. I've mentioned Adobe Air, their SDK & runtime to take your web apps to the desktop, a number of times and this is a great place to learn about it. You can also learn about their LiveCycle Data Services which allows Ajax applications to share data between various data stores and systems. On the page,
[jQuery] hiding a div when clicked outside of it
<div>Hi friends,</div> <div> </div> <div>I am showing a div on click of a hyperlink. Now, when i click elsewhere in the document other than the div itself, then i want to hide the showing div... Is there any easy way to do this?</div> <div> </div> <div>-GTG</div>
[jQuery] html() can not get updated form value
I'm not sure if this is a bug or feature, but I can not get it to work, any advice will be appreciated I have some textbox fields in a table and I wrap them in a tbody, I tried to move that chunk of code around, so I fetch it with html() function, but the problem is that only get me original html values, if I changed something (like typed something in the textbox), those changes will be lost. it's my first post in google group and I don't know if html tag is allow here, anyway, I'll try to put some
[jQuery] Cannot get json using a .load(url) request?
Is it not possible to load json data into the page with a div.load(url) function? I was trying and in FireFox the function just quit when opening the connection to the url. In IE 7 I received the error that the page is trying to load data that may be malicious and it's been blocked. I use Jayrock with jQuery. I was attempting to use jTip to load data when a user rolls over a div. Unfortunately I'm mangling my code to get it to work with jTip or betterTip since I need to format the json result first.
Next Page