[jQuery] jQuery().focus() not working in IE 7
Dear Folks, I have been having a problem with the jquery foucs function not working in IE 7. I have a small piece of code showing a textbox that is initially hidden. Below is a simplified framework of the function that does the opening function (textbox_id) { jQuery('#' + textbox_id).show(); jQuery('#' + textbox_id).focus(); var textboxObj = document.getElementById(textbox_id); if (typeof textboxObj.addEventListener != 'undefined') { textboxObj.addEventListener('change', sendUpdate, false);
[jQuery] thoughts ? Announcing AJAX Libraries API: Speed up your Ajax apps with Google’s infrastructure
http://ajaxian.com/archives/announcing-ajax-libraries-api-speed-up-your-ajax-apps-with-googles-infrastructure http://code.google.com/apis/ajaxlibs/ I just got to announce the Google AJAX Libraries API which exists to make Ajax applications that use popular frameworks such as Prototype, Script.aculo.us, jQuery, Dojo, and MooTools faster and easier for developers. Whenever I wrote an application that uses one of these frameworks, I would picture a user accessing my application, having 33 copies of
[jQuery] jqModal question
Good evening, I'm having a relatively small problem using jqModal. (I hope) I have a page that contains a form. This form contains an input box. A link beside this input box opens a jqModal window, so far no problems. In this modal window I show the results of a database search with pagination. Pagination works wonderfully, updating a div inside the modal window. Even onclick events on links in code received via AJAX appear to work. Well almost. This is where I have the problem. It appears that the
[jQuery] Extend Autocomplete
I have a JavaScript function that makes an Ajax call and returns results into a local variable. I would like to call this function from the Autocomplete plugin (http://bassistance.de/jquery-plugins/ jquery-plugin-autocomplete/) as my Ajax data souce. I understand that Autocomplete can use either a local variable or a URL, but the framework I'm using has some built-in Ajax functions to set the value of a variable, run a SQL query, and return the result. I could do this by re-writing autocomplete,
[jQuery] multiple selectors: returns array NOT in order of DOM
this is not a surprise... it is right in the docs:
[jQuery] jMaps Plugin - Unable to Add Custom Icon for Marker
var $j = jQuery.noConflict(); $j().ready(function() { var myIcon = $j.jmap.createIcon( { iconImage: "http://www3.travelinfony.com/carsgoogle/images/ camera.gif", iconSize : new GSize(15, 13), iconAnchor : new GPoint(9, 34), infoWindowAnchor : new GPoint(9, 2) }); $j("#mapFrame").jmap( { mapZoom: 11, mapEnableKey: true, mapCenter:[ 30,-97 ] } ); function addCamPoint(i) { // cameras[][] is just an array with some geocoded locations. var lat = cameras[i][0]; var lng = cameras[i][1]; var
[jQuery] jCarousel - Multiple rows in horizontal mode (or cols in vertical mode)
Hello folks, I need to put multiple items in a carousel, placed on rows and cols, with horizontal scrolling. Examples. Now my carousel looks like this: <- [ITEM] [ITEM] [ITEM] -> I want it like this: [ITEM] [ITEM] [ITEM] <- [ITEM] [ITEM] [ITEM] -> [ITEM] [ITEM] [ITEM] Is this possibile? Is there any other carousel component that works like this? TIA, tk
[jQuery] Adverts destroy my JavaScript
Hi there, I noticed a problem while including layer-ads. Firebug says "$("body") has no properties" HTML: <script type="text/javascript" src="{$path_js}plugins/jquery.js"></ script> <script type="text/javascript" src="{$path_js}ajax.js"></script> <script type="text/javascript" src="{$path_js}logoutScreen.js"></ script> <script type="text/javascript" src="http://www.sponsorads.de/ script.php?s=116298"></script> logoutScreen.js: var Countdown = { timer: 15, stepSpeed: 1000, initialize:
[jQuery] JQuery: Rendering in IE7
Hey, I've started using JQuery and am really happy with how things are progressing, but I am having an issue that would appear to be related to how IE is rendering some text after it has been brought in using show('slow'). The problem is the "Events & Exhibitions Calendar" text at the bottom on the left. Is there anyway I can update the text rendered or something like that to make it look better? The page I am referring to is at: http://www.spevco.biz/index.php?id=3 Thanks for any help anyone can
[jQuery] My first jQuery
I'm trying my first simple jQuery task, a mouseover event to display a box with some text. $("p.sec-ia").addClass("unhide").show("slow"); works fine but when I add the mouseover $("#section1").hover(function(){ $("p.sec-ia").addClass("unhide").show("slow"); },function(){ $("p.sec-ia").removeClass("unhide"); }); it doesn't do anything. I don't know if it's because my p.sec-ia isn't in the #section1. Can anyone give me a clue, please? Thanks.
[jQuery] firebugExecuteCommand and $ becoming a function called "anonymous"
My site stopped working because $ is no longer an alias for jQuery. Instead it's this function: function anonymous() { return window.console.notifyFirebug(arguments, "$", "firebugExecuteCommand"); } I suspect that my Firebug (version 1.2.0a21X) has incorrectly set itself as an alias for $. Does anybody know about this in the jQuery community? My next destination is to go over to Firebug website and lurk.
[jQuery] Sortable - onUpdate
Hi, I'm very impressed with the plugins available for jQuery, but I really need callbacks during the dragging ( the way the Scriptaculous works with its onChange method). It looks as though there used to be an onUpdate method and an onChange method, but the more frequent callback doesn't seem to be available anymore, only the one at the end. Is there a way to get notified when the helper moves? or even a way to set the onDrag option value on the sortable items? if so, can anyone point me to documentation
[jQuery] jQuery and Information Architecture
<span style="font-family: trebuchet ms,sans-serif;">I had written something a while back on IA using jQuery for the purpose of a book. The book is in hibernation, but I am fond of the content.</span><br style="font-family: trebuchet ms,sans-serif;"> <span style="font-family: trebuchet ms,sans-serif;">It shows how to use IA techniques and jQuery to make your user happier and more productive.</span><br style="font-family: trebuchet ms,sans-serif;"><br style="font-family: trebuchet ms,sans-serif;">
[jQuery] Select lists in 1.2.5
Did the functionality change on how to assign values to select lists? $("#foo").val(3); no longer works. I've tried it on a simple page with a single select box with eight values numbered 1-8 and it didn't work. After reverting to 1.2.3 it becomes operational. Hopefully this isn't a re-post. I tried to post this about 20 minutes ago, but it never appeared.
[jQuery] Tooltip onlink inside <td> falls below the table
Hi, I am using Jörns tooltip plugin. The tooltip shows but below the whole table and not under the link. I am using this css: #tooltip { position: absolute; z-index: 3000; border: 1px solid #111; background-color: #eee; padding: 5px; opacity: 0.85; } #tooltip h3, #tooltip div { margin: 0; font-size:11px } The table does not have any float. I am also using tablesorter plugin on the table. <table class="tablesorter"> <thead> <tr> <td>Heading</td> </tr> </thead> <tbody> <tr>
keeping active menu status in cookie
Hi, I have to build my menu in js as my CMS has problems handling categories. Usually I get my status through php but in this case it's not working. However, therefore I have been using this menu as basic solution: http://www.dynamicdrive.com/dynamicinde ... onmenu.htm The main menu points are highlighted. But I need the same effect for the sub menu points. When cklicked the status should become highlighted and a new page is loading. To keep the highlight status, this has to saved in a cookie, I
strange error with plugin validation
My code is here: http://rafb.net/p/L0yQZ681.html Thx @ All .
[jQuery] Selecting elements with multiple classes
Hi All, A simple example: 1) <tr class="child">..... $('.child') works fine and selects all elements with class "child" 2) <tr class="child del"> $('.child)' does not work and selects nothing How can I fix this and select the elements in case of multiple classes? Is there something as a wild card to select any elements containing "child" as one of the classes? Thanks A -- View this message in context: http://www.nabble.com/Selecting-elements-with-multiple-classes-tp17611909s27240p17611909.html Sent
[jQuery] v1.0.2
He released version 1.0.2 really good!
hover problem
I'm trying to replace an image on hovered link, but for some reason it's not working. my jQuery code: $(document).ready(function() { $("#prev").hover( function() {$(this).attr({src: "assets/previous_active.gif"})}, function() {$(this).attr({src: "assets/previous.gif"})} ); }); html code: <div id="container"> <div id="large_image"><img src="<?php echo randomImage(); ?>" alt="large image" width="400" height="400" /></div> <ul> <li id="prev"><a href="#"><img
XML doc won't load in Safari
I wrote a simple-sorta-ajax code using jQ. Instead of calling the server and wait for it to return a piece of XML code, I simply askes jQ to "load()" a static xml file. It seems to work fine on FF, IE and Opera, but it does not load what so ever with Safari. Does anyone know a fix for that?
[jQuery] Javascript canvas
Hi, Is there any way to add onclick property in javascript canvas. please help me. vinay
[jQuery] Image Rotation
hi, i am trying to rotate an image with any angle and i am able to do this. But after rotaion i want to add onclick attribute on that rotated image. So that i can get id of that on click. please help me if you have done like this or have any idea. thanks vinay
[jQuery] Select Form With Image
Is there any solution using jquery for this problem?
[jQuery] click(fn) question
I apologize if this gets posted twice, but it looks like my last attempt to post got swallowed by the ether. I'll make it short: I have flot and ui tabs. Because I'm processing a rather large set of data, and excanvas, switching the datasets graphed takes a few seconds. I want to add feedback, so that when a tab is clicked, it's title changes to "Loading..." and then when the graph is drawn, it switches back to it's original text. I have this working, but the changes only show when I step through
[jQuery] [Autocomplete] MSIE issues
I'm sure you're tired of these. YES I included the dimensions and the bgiframe.js files. It just doesn't work with MSIE though. With firefox I get the results. On MSIE however, whenever I type something, the textbox does fade in, but the results aren't selected. Any tips of ideas, greatly appretiated.
[jQuery] Autocomplete error in MSIE (Object doesn't support this property or method)
Howdy! I'm getting the following error in MSIE 7 using the Autocomplete plugin from bassistence.de: Line: 683 Char: 17 Error: Object doesn't support this property or method Code: 0 This being IE, it's wrong about the line number, and it's actually line 682 that has the error. 682: list.scrollTop(0); This works fine in FF2 and Safari. I can prevent the error in IE by replacing this line with: if (list.scrollTop) list.scrollTop(0); I don't have enough search results to see what happens when enough
[jQuery] Hiding after a certain amount of elements are shown?
Hello, $(".divclass:not(:first)").hide(); Works perfectly in hiding everything after the first element with that class but I need to hide after the third or forth element with that class, any suggestions? Thanks, Ant.
[jQuery] jQuery and tinyMCE help
I've got a form with several fields and I've added some real simple context help using jQuery with focus and blur. $("input[@type=text], textarea").focus(function() { $(this).next('.contexthelp').show(); }); But not one of the forms is using TinyMCE and I can't for the life of me figure out how to interact with it... I simply want my .contexthelp div to display when the user clicks anywhere in TinyMCE but so far everything I've tried has been unsuccessful. I've trolled the archives but haven't found
[jQuery] Scroll event doesn't work in IE
For some reason code below doesn't work in IE. I don't think i found a bug, maybe i'm doing something wrong? $(document).scroll(function(){ alert('asd'); })
[jQuery] date picker with past dates
HI guys, I would like to know if there is a better way to force to pick up a date in the past than the code below: $j('.date-pick').dpSetStartDate('01/01/2000'); $j('.date-pick').dpSetEndDate(new Date().asString()); For my needs Jenuary First, 2000 is more than enough but if there was a way to define all the date in the past without a starting one was better. Thanks and have a nice day!
[jQuery] $.blockUI cannot "find" my div
hmmm For some reason, when the following code executes: $.blockUI({ message: $('#workingContainer'), css: { border: 'solid 2px #01ADEE', width:'470px', left:'50%' } }); blockUI does NOT find/ignores my <div> called workingContainer: <div id="workingContainer" style="display:none; cursor: default"><img src="images/shared/busy.gif" /> Retrieving data, just a moment...</ div> and uses the default text/css... "Please Wait". So BlockUI is blocking, but won't take my markup in the argument.... any thoughts
[jQuery] 1.2.5 and 1.2.6 not working at all for me - what am I missing?
OK, I'm sure that someone would have mentioned that the latest releases don't work, so that can't be it. It's obvious that I'm missing something. I've been using jQuery 1.2.3 for months now, and today I wanted to use the ui.slider plugin which requires offsetWidth() which is not in 1.2.3. So I figured I'd just download the latest release, i.e. 1.2.6 and be done with it. I did just that, but when I ran my app, there were a whole bunch of JS errors. I figured that's to be expected, my code isn't perfect.
[jQuery] [TUTORIAL] Load Content While Scrolling With jQuery
WebResources Depot has a nice tutorial on how to build a scrolling windows, similar to DZone's scrolling window, using jQuery: http://www.webresourcesdepot.com/load-content-while-scrolling-with-jquery/ Rey
[jQuery] Is it possible to animate a div then collapse part of that div?
I'm working on an interface that uses slideable content areas that are also collapsable - the idea being that users can position content on the page as they like and then collapse content that they aren't interested in. I call these content areas "slices". You can see a quick test I've thrown together here: http://www.ibiblio.org/jimray/slices/test.html The collapse functionality works fine on its own (using the core slideDown function), the move functionality works fine on its own (using the core
[jQuery] How to make webpage to adjust to user display settings.
ok I am currently working on a website and I need to have my website to adjust to the clients display settings so like for an example that if the user has a higher display settings my webpage through javascript would resize all the elements on my webpage to keep the orignial look. so I am gussing somthing along the lines of first grabbing the clients display settings and then use that to then scale every element on the html page with the power of 2 or somthing. Is there anyway I can do this??? just
[jQuery] Select option value
Hi All, Here is a simple code: <select onchange="specify(this)" ...> <option....>.....</option> <option....>.....</option> ...... <option....>.....</option> </select> How can I get the value of the selected option? I tried function specify(current){ var spName = $j(current+" option:selected").val(); alert(spName); } But it returns undefined value. What is wrong here? Thanks -- View this message in context: http://www.nabble.com/Select-option-value-tp17592925s27240p17592925.html Sent
[jQuery] Select option value
Hi All, Here is a simple code: <select onchange="specify(this)" ...> <option....>.....</option> <option....>.....</option> ...... <option....>.....</option> </select> How can I get the value of the selected option? I tried function specify(current){ var spName = $j(current+" option:selected").val(); alert(spName); } But it returns undefined value. What is wrong here? Thanks -- View this message in context: http://www.nabble.com/Select-option-value-tp17592925s27240p17592925.html Sent
[jQuery] Select option value
Hi All, Here is a simple code: <select onchange="specify(this)" ...> <option....>.....</option> <option....>.....</option> ...... <option....>.....</option> </select> How can I get the value of the selected option? I tried function specify(current){ var spName = $j(current+" option:selected").val(); alert(spName); } But it returns undefined value. What is wrong here? Thanks -- View this message in context: http://www.nabble.com/Select-option-value-tp17592925s27240p17592925.html Sent
2 button show hide with opacity fade
Here is what I'm trying to achieve: On load: div.content is hidden input.hide is hidden On press of input.show: div.content appears input.hide appears input.show fades to 30% opacity On press of input.hide: div.content hides input.hide hides input.show turns to full 100% opacity. <input type="image" class="show" src="/image/show.png"/> <input type="image" class="hide" src="/image/hide.png"/> <div class="content">Content Here</div> Any help would be much appreciated
Next Page