[jQuery] jdMenu 1.4.1 not accepting settings?
Have setup jdMenu 1.4.1 successfully but am having one minor issue. When I try to override the disableLinks setting, it doesn't seem to take. Here is the snippet of code to create my menus: $(document).ready( function() { $('ul.jdMenu').jdMenu({disableLinks: false}); } ); The snippet is placed near the bottom of the page, just a few lines before the closing body tag. Using Firebug, I see that the settings parameter to the jdMenu constructor is coming in as undefined. Not sure why this would be; for
[jQuery] .filter() and .not() approximately worthless - Table issue perhaps?
My experiences today with .filter() and .not() showed them to be extremely buggy in my case. For example, .not(".foo + .foo") would leave me with an empty set (though nothing should have been matching). Is this because I was using them to select <tr> elements? Is there a known issue with .filter() and tables? If not, I could post an example if it breaking soon. I came up with a workaround, but it was annoying.
[jQuery] Way to designate links as form submitters?
Anyway to do that? Have certain links, say with an id of "link", to be programmed to submit a form when clicked? Rick
[jQuery] [NEWS] Blog Posting About jQuery UI v1.5b4
The jQuery IU team has put up a new blog posting about jQuery UI v1.5b4. http://jquery.com/blog/2008/05/05/jquery-ui-15b4-featuring-effects-and-a-new-home/ Rey...
[jQuery] [ANNOUNCE] IMPORTANT: jQuery UI v1.5b4 Up. Addresses issues in v1.5b3
IMPORTANT UPDATE: jQuery UI v1.5b4 is now up and addresses two bugs in v1.5b3 released earlier. Please re-download http://ui.jquery.com/ Thanks, Rey
[jQuery] localscroll plugin
Hi everyone, I try to explain my problem simply: how can I avoid that the entire window goes down at the end of the scroll?? I am using the plugin "localscroll" and I want to avoid the final step that moves the entire window below. this happens with the screens 1024/768. someone could help me? this is the link http://www.pirolab.it/diego/ Tnx Diego -- View this message in context: http://www.nabble.com/localscroll-plugin-tp17060646s27240p17060646.html Sent from the jQuery General Discussion mailing
[jQuery] hover and fade in fade out problems...
Hi I am having Problems using hover and fade in and fade out. I am new here and new to the Jquery I read the doc and tried making my own script that dosen't work. I am trying to make a table/window fade in when a user mouse is of a photo of a person to fade in the table with other pictures of that person and if the mouse goes off the photo or the new faded in window/ table then it would fade out. I so far have this so far. $("document").ready(function() {}); $("#image").hover( function () { $(this).append($("<span>
[jQuery] detecting if a user came back to a page using the browser's back button
Has anyone ever wanted to do something like this? Is it even possible? If not, how might you handle something like this when you don't want re-load a customer's shopping cart after they have already confirmed everything and checked out?
[jQuery] jQuery Offline Documentation
Hi, Can someone tell please where can I find updated offline documentation about jQuery? I have used VisualJQuery in the past but it is old now (for v.1.1.2). and everything else that i have been able to find now is for jQuery versions below 1.2 Thanks in advance.
[jQuery] [jQuery.forms] problem when uploading files
Hi, I'm trying to submit a form using Ajax and this plugin. The form has some simple fields, and a field of type "file". When I do not select any file, everything works correctly. Whenever I select a file, the success function isn't called, plus the POST do not appear in the "console" of Firebug. It appears in the net tab though, but POST fields are *empty* ! The PHP script called also gets nothing in $_POST nor $_FILES array. I'm wondering whats wrong. I have correctly set enctype to "multipart/
[jQuery] Cycle Plugin and IE/FF
Hey, I am in the process of locally redesigning my blog and I wan to use the cycle plugin to show my last 6 blogposts. I ran into some problems doing this, though. The plugin works in Firefox, but it just won't stop loading and in IE7 the cycle is not processed at all. I have read through a lot of posts here and realized that most of the time the culprit seems to be a comma. I did check that and couldn't find anything wrong. Here's the code I use in he header: <script type="text/javascript"> jQuery(
[jQuery] Which jQuery book to choose?
I'm a beginner to javascript, and am in need of learning Ajax & jQuery (mainly ajax in jquery, for now) fast. With that said, out of the two books listed on http://jquery.com/ , can anyone give any insight on which i should choose? I'm having a heck of a time deciding.. heh.
[jQuery] Can't set type="search" attribute to input fields on Safari 3.0
Apparently, jQuery can't set the "type" attribute of html input fields to look like Cocoa search fields in Safari. jQuery version: 1.2.3 Safari version: 3.1 (525.13) Proof follows: <html> <head> <script src="jquery-1.2.3.min.js"></script> <script> $(function() { // this works: //document.getElementById('s_f').setAttribute('type', 'search'); // these don't work: $('#s_f').attr('type', 'search'); $('#s_f').attr({type: 'search'}); }); </script> </head> <body> <input type="text" id="s_f" /> </body>
[jQuery] jquery tabs: removing old loaded content from DOM
Hi, If I have JQuery Tabs, say I select tab 2, it loads HTML, and then I select tab 3. How when selecting tab 3 can I remove from the DOM the content loaded by tab 2? - Dave
[jQuery] jCarousel Firefox issue
I just added a carousel to http://www.humormegraphics.com. The carousel looks and works great in Safari and IE. However, using Firefox there seems to be a weird jump in the easing when you click on the right arrow. It's possible that I missed setting a value somewhere, but I'm stumped. Any suggestions/tips would be welcome. Thanks, Doug
[jQuery] jQuery Form Plugin file upload problem
Hi, I'm attempting to use the jQuery Form Plugin on a page that has multiple forms. The particular form I am using to allow the uploading of files is the third form on the page. I'm also using that form within a modal dialog box, using the SimpleModal jQuery plugin. I have a Java Servlet handling the form submission. I am having a problem when I try to upload a file. It looks like the request never gets to my servlet. When I fill out the other fields of the form out, leaving the upload blank, it's
[jQuery] weird DOM/JQ error; elements do not get added/animated
I've got bit of a firefox mystery here: My photo-album component animates when browsing to the next page, see <a href="http://mediabeez.veerman.ws/mediaBeez/">http://mediabeez.veerman.ws/mediaBeez/</a> and press the 'next' button (thats the one on the right) on the photoalbum you view on that homepage. You have to use firefox to test this properly, IE wont perform one of the functions in the chain (yet). If you're using a browser debugger you'll encounter a debugger stop when you press the next button;
[jQuery] clueTip plugin: Passing values via AJAX to the clueTip, then passing values back to the parent page to update div content
Hi there, First up a big thanks to Karl for writing a great jQuery plugin. And sorry if this is a bit of a newbie issue. My question is related to AJAX content. I have a page that has a variety of links, that look like the following: <a class="jTip" title="TITLE" href="this.php? construction=1155492714&online=1160506275&installation=1161683112&" rel="this.php? construction=1155492714&online=1160506275&installation=1161683112&"> This is just a series of key-value pairs that list the type of action
[jQuery] New to jQuery.. Seeking help with early ideas
I'm currently loading an external .html file on click. The code is: $("a#interactive").click(function () { $("#subNav").load("work_interactive.html"); }); However, I'm having difficulty trying to learn how to add effects on the content's load in. Maybe a fade in, or a drop down of the div, etc. Any help?
[jQuery] Simple Ajax calls to server for data
First, I'm very new to JS/JQ. I've got a simple HTML list of items that I want updated from the server whenever the user requests it (by hitting a submit button). The results from the (Python/webpy) server are held in a list result[]. Here is the html: <div id="results"> "$result[0]" <p class="alt">"$result[1]" "$result[2]" <p class="alt">"$result[3]" "$result[4]" </div> This is what I have so far: $.get("/ac", function(data) { $("result", data).each(function(result_number) { var result_text = $("result",
[jQuery] JSON doesn't work
Hope anyone here can help me, i'm having some problems with $.getJSON. http://tsdme.nl/digitaalmuseum/ This page is using getJSON to get information about a painting and then loads it. Only problem... it doesn't work in other browsers except Firefox, sometimes at least... refreshing seems to work sometimes to show the first painting. The PHP file simply builds the JSON object with json_encode and sets the appropriate gzip headers and application/json TIA
[jQuery] JQuery Ajax Form Plugin
Hello, http://malsup.com/jquery/form/ I'm trying to implement the Form plugin in my site, but I have a problem. I use ajaxForm to make the form send the variables to email.php that interpret the httpPOST variables and send mail by php. This is working correctly in IE 7 but when I use firefox, it reloads the page by subsituting it by the email.php. Is this a known problem or is just me? Thanks. Pedro Mendonça
[jQuery] Problems with $.addClass()
Hello, I have tried this code: $('#some_div').addClass('new_class'); And it works really well, it adds the class to the element. The problem is that if this element had previously had any style applied to it like: #some_div { color: #F00; } to change the color with the new class I'd have to use !important so it can be applied like this: .new_class { color: #FFF !important; } does anyone knows why this happen? it works great and everything but I rather not use the important statement if possible.
[jQuery] Why won't this get the image's width?
<html> <body> Hello folks, This piece of code <tt> if (($('#theImage').length>0)) { var img_width = $('#theImage').width(); <x-tab> </x-tab><x-tab> </x-tab> $.log(img_width); $("#sCaption").css("width",img_width); }; </tt>follows an ajax call to bring content to an existing div... <tt> $.get("scripts/ajax_ramosus_client_second.asp?brm="+ej +"&q=" + new Date().getTime(), function(responseText){ $("#wrapper").html(responseText);
[jQuery] getJson not working - need help
pictures of cats show but Ican't get response function to alert when pointing to an ASP page. ASP page does render the sample json response listed below <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script src="/lib/jquery/jquery-latest.js"></script> <script> $(document).ready(function(){ $.getJSON("http://api.flickr.com/services/feeds/photos_public.gne? tags=cat&tagmode=any&format=json&jsoncallback=?", function(data){ $.each(data.items,
[jQuery] Having a div load on hover instead of click
I only started working with jQuery a week or so ago and love the library (I'm new to javascript). I've used it to create several effects in a site I'm developing, but am stuck on the last one on my list. What I'm trying to do is have my content (list) fade in when you hover over a button and remain visible so you can choose links from within that content. When you hover off the list or button I'd like the content to fade out. In it's current state it works fine, but requires you to click on the button
[jQuery] Display width of div using dimensions plugin...
Hi, My test page (using jQuery dimensions 1.2.0 plugin): <http://www.ambiguism.com/test.php> Seems to do what I want... but this page: <http://docs.jquery.com/Tutorials:Mouse_Position> ... the numbers update much faster (using FF2.x/XP). Is it possible for the output of my test code (the div width) to update as "often" as the mouse position code? I think I just need a shove in the right direction. :) Many thanks in advance! Cheers, Micky
[jQuery] Selection html
I though this might help someone. To get the html content of a selection you can do this: jQuery("<div></ div>").append(window.getSelection().getRangeAt(0).cloneContents().childNodes).html(); It only working in firefox, but I'm sure it could be made to work in IE too.
[jQuery] .load() problem
Hi, I've tried searching for a solution to this, but haven't found anything. I load an external html file into a div using .load() The external file contains only a huge <div> tag with the id 'inText' The CSS rules apply to it, but the jQuery doesn't. However, when I put in an alert or a setTimeout between the load and the next jQuery, it works perfectly. 1) The first issue here is that the next jQuery instruction is executed before the external div has loaded. Is there a jQuery way to check whether
[jQuery] Product order form/mini shopping cart
Hi, I need to develop an order form for 8 products. I've looked at quite a few shopping cart scripts but in all the products only have one set price and no other options. My products have options, with some options add to the product's cost and some don't, some are at set rate and some are calculated as a percentage. For example, type of material, natural finish or stained, self installation or.... (Payment is done through Paypal, btw) Anyhow to keep the story short, I'm having a hard time selecting
Help with getting a value with jQuery
Hey everybody. This mailing list/forum has helped me a lot in the past by just perusing, but now I need to post to get some help. I have a site I'm maintaining at work, and because of the complexity and class inheritance, I can't change the design. I have a table row in the following form: <TR id='0' > <FORM method='GET'> // hidden form fields and values snipped out for security purposes. <TD id='branch_tag' class='"topborder rightborder"' > KY </TD> <TD id='part_no' class='"topborder
[jQuery] Using slideDown on a TR ignores the colspan amount - why?
If I try to run slideDown on a table row that has TD's with multiple colspan, the colspan amount is completely ignored. My Table looks like so: <table> <tr> <td> content </td> <td> content </td> </tr> <tr style="display:none" id="hiddenTR"> <td colspan="2"> hidden content </td> </tr> </tr> The javascript code is very simple: $('#hiddenTR').slideDown(); If you try running that code, you will notice that colspan="2" is ignored, instead it behaves as if colspan="1" What is the proper workaround? Is
[jQuery] Superfish menu firefox cut down problem
Hi all, i have an issue with the superfish menu system. I used it on this page http://www.smallhotelsingreece.com, and while hovering over "my favourite places to stay" menu a long list of submenus appears which extends beyond the end of the page. The problem is that any submenu that overlaps the end of the page does not appear. The menu system displays correctly in IE 6 &7 and opera. I tried figuring out this by myself with no success. Would appreciate any feedback. Thank you very much.
[jQuery] need to popup window, grab values from mysql db, have user edit, and save data
I'm looking for the best popup window plugin available. I want clients to be able to view a schedule, and click a date. This will display a popup window with values from a mysql database. The user will then be able to add data (not delete or edit) more data, press save, then close the popup and go back to the original schedule. Right now I am leaning towards using the UI Dialog plugin - does this sound like a viable use for this plugin?
[jQuery] looking for simple AIR-jquery ajax example
Hi All, I'm looking for a code example (or tutorial or working app with source) that shows how to use jquery-fired ajax calls in an Adobe AIR application, preferably showing how to do things in the Application Sandbox and the Non-Application sandbox. To clarify, I'm not looking for examples of how to use the AIR-native functions to make AJAX calls, I want examples using jquery's implementation (I have an app with a lot of jquery in it that I want to port to AIR). Any recommendations? TIA, Jack
[jQuery] This is prob real simple to you, but this newbie can't figure it out
Hi guys, I've got a problem that's been killing me, but I bet you guys can solve it in no time. I've got a nested list like so: <ul id="mainnav"> <li><a href="/">Home</a> <ul> <li><a href="/weblog/">News & Upates</a></li> <!-- link with trailing slash --> <li><a href="/welcome">First time here?</a></li> <li><a href="/contact">Contact</a></li> </ul> </li> <li><a href="/about/">About</a> <!-- another link with trailing slash --> <ul> <li><a href="/about/service-times">Service
[jQuery] cycle plugin, IE6 and browser resizing
Hi - I'm very new to all this, so please forgive me if this is really obvious or already covered, etc... On our site, www.lifesourcetv.com I am using the cycle plugin to fade through a series of images, in the banner. All looks fine on Firefox & Safari, however on IE6 (Win XP machine) I get a wierd problem whenever the browser window is resized: If you resize the browser window on the left or the right, the images stay fixed in their original locations on the screen and get out of alignment with
[jQuery] How do I cancel event helpers?
I have attached the hover event to a <div> element and it works fine. But how do I dynamically remove and add it again? Once it's working I cant seem to find a way in javascript to stop it again. I've tried calling 'hover' again on the same element with empty function callbacks, but it doesn't seem to have any effect. thanks.
[jQuery] clone() help
Hi, I'm new to jquery and went over quite a few tutorials -- some work great for me, with no problems at all. But I'm having trouble with the .clone() method. I am trying to build an order form, and have a button#add, which when clicked I want it to add another div.product-template (that includes a select list, options, quantity and add to cart button). So, my code says: http://pastie.caboo.se/189769 but... when I click on the button#add, once nothing happens, second time it adds the .product-template
[jQuery] event trigger doesnt work ?
I have a field with onblur function like this <input type='text' name='myname' id='myname' value='' onblur='dosomething(this.value);'/> and then in a button i put $('#myname').trigger('blur'); ... it seems the trigger wont call "dosomething" when i call $ ('#myname').trigger('blur');
Next Page