[jQuery] Problem detecting clicks on nested DIVs with IE7
Because we're still checking for possible issues with plugins, we're stuck on jQuery 1.2.6 for the moment. My problem arise in a context where I have a <div id="container">...</ div> that contains, among other things, a number of nested clusters of the following form: <div class="outer"> <img class="bgimg" src="whatever" /> <div class="hoverpad"></div> </div> The div.outer is sized and absolutely positioned by jQuery in relation to window dimensions. The img.bgimg serves as an auto-sizing background
[jQuery] Best action to use for selects?
What's the best event to use for a select to trigger a function? I'm currently using onclick, because it seems to be the best option, but that creates problems. It causes the function to fire when the down arrow is clicked and when an option is chosen. I've tried several different approaches, but none are very satisfactory. Suggestions? Thanks, Rick
[jQuery] Creating a class using jQuery
Hi all, Until now I was using my own developed JS library (based on traditional JS). In most cases I had classes for each module that I have in the system (for example: class for registration form, class for gallery interaction, class for gallery item etc.). Subsequently, those classes interacts with the server, make UI changes etc. I have decided to start using jQuery, but hove the sake of convenience I would like to use the same approach with separate classes. What is the right way of creating
[jQuery] jQuery.uploader released: Flash based jQuery uploader
Hi guys, Short memo; http://jQuery.webunity.nl/ Check it out, 2 demo's online! -- Gilles
[jQuery] $().jqGrid is not a function
Hi. I'm making my first attempt at utilizing JQGrid with a CGIDEV2 application. When loading the page, I keep getting an error that says $("#results').jqGrid is not a function. Here's my JS: $(document).ready(function() { var columnNames = ['Product Group','Description','Turnover Rate','Gross Margin','Rating']; var columnModel = [ {name:'productGroup',index:'order asc',width:70,align:"center"}, {name:'description',index:'job',width:200,sortable:false}, {name:'itemClass',index:'purchaseOrder',width:
[jQuery] Jquery plugin localisation nightmare
Hi guys, I got a plugin I want to do the localisation in french. I decided to go with a similar solution of the UI datepicker. Adding a french js and reparse my json object in french from there. But it just do not work and i don't have a clue how. Please help Live english version : http://www.position-relative.net/formValidator/test.html The core js : jQuery.fn.validationEngine = function(settings) { allRules = {"required":{ // Add your regex rules here, you can take telephone as an example "regex":"none",
[jQuery] Change subdomain on same page...
I have different subdomains pointing to the same file on my server - simple enough. What I'd like to do is essentially reverse that: Can the same file redirect to different subdomains? For example: http://adamkobrin.com When you click on any of the top 4 "links", different content is loaded, but you remain on the same page with (hopefully) nice smooth transitions - the url remains unchanged. I'm looking for a client-side way to change the subdomain in the location bar based on each link, making it
[jQuery] Modify and accordian to only open and close when clicked
Hi Guys, I need some advice, I've been using and accordian as per an example I found somewhere: <script> $(document).ready(function(){ $("dd:not(:first)").hide(); $("dt a").click(function(){ $("dd:visible").slideUp("slow"); $(this).parent().next().slideDown("slow"); return false; }); }); </script> This works on a list like the below: <dt><a href="#"><h4>Heading</h4></a></dt>
[jQuery] Ajax processData
Hello all I am trying to do an ajax call passing a json to the server. My call is like this: $.ajax({ type: "POST", url: "/myurl.php", processData: false, contentType: "application/json", data: { "data1": "data 1", "data2": "data 2", "data3": "data 3" }, dataType: "text" }) When i set processData to false, i can't retrieve
[jQuery] upgrade to new release jquery -1.3.1
I currently used jquery 1.2.2 to work flawlessly with with Thickbox 3.1. I tried to upgrade to the new jquery 1.3.1 release but with no success. Any help is appreciated.
[jQuery] Back or Continue Solution to UI Tabs and Jquery Form
Hi Folks I did this with ajax tab options and Jquery Form $(document).ready(function() { $("#myForm").ajaxForm( function() { $("#tabs").tabs("select",2); }); }); Inside of my tab 1 have <input type="submit" id="back" class="click" value="« Back" name="back"/> <input type="submit" id="continue" class="click" value="Continue »" name="continue"/> As you can see if I submit #myForm I will go to next tab $("#tabs").tabs("select",2); But to back I am having problems. Because is a second
[jQuery] slideToggle(); odd and even click
I have a navigation which consists of a few ul's placed within one and the same parent; a div. All but the first list item of these unordered lists get hidden and the first acts as a trigger to either show or hide the underlying li's. All this happens with a little animation by making use of slideToggle(); As a little extra I'd like only one list to be open at a time. So if list1 is open and I click on list3, list1 should close and list3 should open. This is where the toggle get's a little confused
[jQuery] jqURL plugin throwing JS errors
Is there anyone using the jqURL plugin who has noticed errors on page load? All of a sudden I've noticed the following error: Permission denied to get property XULElement.accessibleType, line 139 'width=' + args.w + ',height=' + arg...eft=' + args.l + ',scrollbars,resizable' The implementation: // open the media library in a new window $.jqURL.loc( dspPhotoAdministration.cfm?category=4&process=admin&couponSelect=true",{ w:750, h:750, target:'imageSelect' }); It's tied to the click
[jQuery] What is difference between ADO and RDO
Explain ADO and RDO
[jQuery] list traversing
Hi, I'm trying to traverse a list that has some sub-lists nested, i.e. <ul> <li>List Item1</li> <li>List Item2 <ul> <li>Sub Item1</li> <li>Sub Item2</li> </ul> </li> </ul> I'm trying to grab the text of List Item2, but without the text of the sublist items. Right now if I use: $('ul li').text() -- it returns the text of the List Item and the text of any sub items. I'm thinking I may have to write a regular expression to filter out the sublist, but was wondering if jQuery could handle this? Any ideas
[jQuery] JQuery effects not working in Internet Explorer 6
Hey, I am new to Javascript and implemented a few nice JQuery features on <a href="https://www.billingengine.com">my new invoicing website</a> . All of them work great in Firefox and Safari. In IE6, however, the site looks like a mess, even with Javascript enabled in the options panel. How can I get this fixed? Can anybody help? Thanks for any help!
[jQuery] jQuery AutoComplete - how to post a variable if option is selected?
I am using a jQuery AutoComplete plugin which fills in text as you type. I need to find a way when the page is submitted (submit.php) to determine if the user choose a company from the list, or if they typed in their own unique company. If an option is selected, can i have jQuery post an extra $_POST variable like "new" or "existing" so I can pick it up on the submit.php page? Or when an option is selected, can I have .js write a hidden tag which contains the variable "existing"? Example: [url]http://www.psylicyde.com/_old/autocomplete/[/url]
[jQuery] Newbie question - downloading jQuery
I just stumbled across jQuery - I'm very impressed with what I've seen on the site. In my case my interest was sparked by a desire to put a floating dialog on our site. I've downloaded jQuery, and I was able to copy the code from the sample and get a dialog to show up, but I notice that the sample code includes the following lines: <script type="text/javascript" src="http://ui.jquery.com/testing/ui/ ui.core.js"></script> <script type="text/javascript" src="http://ui.jquery.com/testing/ui/ ui.dialog.js"></script>
[jQuery] Is this bug in IE or ui tabs
HI I am using ui tabs and i have 5 tabs on my page. Each tab is having a submit button and placeholder... when submit button is clicked , it fires a click event for that button in code behind and loads a table in placeholder of that tab... problem is after doing this process once in Internet Explorer when I go to another tab and hit submit button , it does not fire the event attached to that button... means if there are 3 submit buttons and 3 click events in code behind .... only 1 time submit button
[jQuery] Superfish with semi transparent background
Hi, I try to use Superfish with semi transparent background, making this: .sf-menu li { background: #404040; filter:alpha(opacity=90); /* Internet Explorer */ -moz-opacity:0.90; /* Mozilla 1.6 and below */ opacity: 0.90; /* newer Mozilla and CSS-3 */ } This in Firefox work, but when hover the link element in level 3, the backgound change to blank... In IE 7, the level 3 don't appear! Without opacity all work! Can you help me use li opacity?
[jQuery] Cross domain Ajax without Proxy
Hello, Is it possible to get remote contents if page is in another domain, without use of proxy? E.g. <div id="test"></div> <script type="text/javascript"> $("#test").load("http://www.google.com"); alert( $("#test").html() ); </script> Thanks.
[jQuery] jQuery offsetParent - using with drag/drop UI problem in IE7
hi all, this problem is driving me nuts! i hope to be able to provide as much info as possible to help resolve it!! the site is working fine with the drag n drop, but at some points the drag feature breaks reporting an error with line number 3370 (or there abouts as i have added a couple of lines to try n debug)...the line number points to this line of code... offsetParent = elem.offsetParent, it reports and error in IE with the script debugger...i have tried logging the elem to the console and it
[jQuery] submit a submit value through ajax
Hello i have a form with 2 <input class="plus" type="submit" value="0" name="plus"/> <input class="minus" type="submit" value="0" name="minus"/> buttons in it and i want to receive these values through my ajax calls $('#cart_quantity').submit(function(){ var serialized_values = $('#cart_quantity').serialize() +'&ajax=ajax_calls&what=cart'; var checked_basename = check_ssl($(this).attr('action')); $.ajax ({url:checked_basename,data:serialized_values,type:'POST',dataType:'json',success:function (data){put_it_in(data)},beforeSend:function(){show_loader('show');}});
PLEASE HELP!! JQUERY Drag and drop error in ie
I have a jquery drag and drop script that also sets a cookie and then remembers the box locations on return.. the issue i have having is that when i have a javascript code inside one of the boxes then try and move the box it causes IE 6 and 7 to crash.. Firefox works fine.. i have no idea how to fix this issue and have been stumped for days... any ideas or help would be great!! Site example: http://bt5.awardspace.com/ JS Code: http://bt5.awardspace.com/js/3_17_0_6_3_17_14_15.js
[jQuery] [FIX] metadata fix proposed
Firefox 3.1b2 returns classname with \n. All other browsers don't. In metadata plugin the default regexp is /({.*})/ I fixed this problem with this regexp /({[\s\S]*})/ so defaults : { type: 'class', name: 'metadata', //cre: /({.*})/, cre: /({[\s\S]*})/, single: 'metadata' } my report is here. https://bugzilla.mozilla.org/show_bug.cgi?id=476809 Thank you.
Jquery plugin localisation nightmare
Hi guys, I got a plugin I want to do the localisation in french of my inline form validator. I decided to go with a similar solution of the UI datepicker. Adding a french js. But it just do not work and i don't have a clue how. Live english version : http://www.position-relative.net/formValidator/test.html The core js : jQuery.fn.validationEngine = function(settings) { allRules = {"required":{ // Add your regex rules here, you can take telephone as an example "regex":"none", "alertText":"* This field
upload folder and its subfolders and files
I am looking for a script which help to upload a folder and its whole content in same structure. e.g. parent folder IMAGE then its content abc.jpg, abc.pdf and abc folder and so on.. Any help would be highly apprciated. Thanks. codefight
[jQuery] [validator] custom rule with additional params
Hi at first, I really thanks for great efforts in Jquery and validator.they reduce our time and work less than half. now, we can't write even simple script without them recently, I tried to make custom rule method that called with 3 arguments such as... <input id="WBC_I" type="text" size="6" validate="range_exp:[ 1, 999, ND ]" value="" name="WBC_I"/> ( I use metadata plugin ) and my custom method is jQuery.validator.addMethod("range_exp", function(value, element, params) { return this.optional(element)
[jQuery] Internet Explorer not firing ajax get on success of ajax post
I have a web application that i have been working on for a few months now and i ran into a stumbling block about 2 weeks ago, i have tried everything i can think of and with no success i figured i would get a second opinion. $(document).ready(function(){ $("button#Submit").click(function() { var TN = $("#TroopNumberS").attr("value"); var TL = $("#TroopLocationS").attr("value"); var FN = $("#FName").attr("value"); var LN = $("#LName").attr("value"); var A
[jQuery] [Superfish] Submenus appear underneath menu items when the menu wraps
Hi, As per this example: http://dev2.savingforchildren.co.uk/mjs/menu.epl I find that if my menus wrap in IE, then the submenus appear underneath the other menus. In Firefox it's fine. Is there a way round this or is wrapping menus not supported? Thanks Michael
[jQuery] What is the best option to make this modal???
Hi everyone!! Can you guys tell me the best way to do this? I have a page which lists several tasks of a person. And when you roll over one task, a popup/modal/tip will appear and dynamically will get all information about this task. What are the best plugins to make this? The best way... Thanks in advance!! André
[jQuery] Dropline menu which hides when not in use
I'm trying to find a dropline menu similar to http://www.cssplay.co.uk/menus/pro_dropline7.html (but without all the conditional comments used for IE6 + IE7). I need clean nested ul + li to make it work with http://www.madebyfrog.com/ http://users.tpg.com.au/j_birch/plugins/superfish/#sample4 is close but the dropline is permanently displayed. Has anyone converted that to show the dropline only on hover? Thanks.
[jQuery] IE7: Setting ColSpan as Attribute
This had me scratching my head for a while, so I wanted to share it in case it might help someone else: It seems that using JQuery's attr() function to set a table cell's colspan attribute does not always work properly. Sometimes although the attribute is set properly in the DOM (which can be verified if you read the colspan attribute with attr), IE still renders the cell as only 1 column wide instead of the colspan value. What seems to work best is something like this: $(jQueryTableCells).each(function()
[jQuery] how to wait for image finished loading then display the page?
Hi guys, My website is www.menggaris.com and if you go there 1st time, you will find that it takes sometimes to load as the first page consist of several images of a total of about 260kb in size. My index.html is like follow: ---------------------------------------------------------------------------------------------- <body> <div id="main"> <div id="slide"></div> <div id="skip" style="display:none;margin:50px 0;font-size:36px"> about.php Get me out of
quirky animations, jQuery bugs?
Hello, I've created a number of jQuery animations for a website that I'm creating, and I've noticed some inconsistent problems. I'm seeing a few bugs in FF, but mostly IE. When using the show("explode") animation, the image pieces will appear as very small when the image is not cached. After reload, the animation works perfectly. I've tried preloading the image to fix this but it makes no difference. I'm also using an animation that changes text color on rollover. If you roll the mouse over the menu
[jQuery] Checkbox selection
Hi everyone, I've got an HTML table like this: <table> <tr> <td>Foo</td> <td>Bar</td> <td>Baz</td> <td><input type="checkbox" /></td> </tr> </table> What I'd like to do is toggle the checkbox's checked state when any of the cells in its row are clicked. I've tried this a thousand different ways and can't get it working and was wondering if someone here would be kind enough to help. Many thanks :-) Sam Hastings
[jQuery] 1.3, live events, and iphone
hi all, I am having problems getting live events with jquery 1.3.1 to work on the phone ... it works ok on safari (windows), but not on the device itself. I would appreciate any tips, help, info ... thanks ! Roger
[jQuery] ui draggable (option drag doesn't work)
Hello, The question is why drag-option doesn't work ( options.drag = function (event,info) { alert('drag'); } )? Thanks in advance. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Scroll element</title> <style type="text/css"> .scrollable { overflow:hidden; height:200px; width:350px;
[jQuery] [validate] Plugin Question
On my site http://www.chris-gwen.com/ I use the plugin on the RSVP tab. If you click the "Accept" radio button you get a dropdown. How can I then set validation on that select only when the accept button has been clicked?
[jQuery] jQuery 1.3 incompatible plugins
Just a quick question, is there a list of plugins that don't work with jQuery 1.3, or a list of plugins that have been upgraded to work with it? I want to be able to quickly check my list of plugins against a list of known incompatibilities before upgrading.
Next Page