[jQuery] blockUI not closing in IE
I recently implemented the blockUI plugin to enable a modal image popup on a site. I have since encountered an issue unblocking the modal image element in IE6 and IE7. I have tried several methods of restructure the code, but all still seem to fail. The image displayed as the modal element is removed, but the modal border is still present and the background is still blocked. <script type="text/javascript" src="jquery.blockUI.js"></script> <script type="text/javascript"> <!-- $(document).ready(function()
[jQuery] Select Boxes and choosing a value on page load
Hello, I have a page that auto loads States and Cities from a database. When you change the state, the city name changes. This works fine on the page when you go to fill it out for the first time. What I can seem to find anywhere is how to pre select the boxes if I am doing an edit on the page. For example: If I fill out the form with South Carolina as the state and Myrtle Beach as the city, how do I go about getting the state select box to have South Carolina Selected, then have the city list load
[jQuery] Cluetip not working because of other javascript
I was frustrated because I could not figure out why cluetip was not working. I figured out it was conflicting with another script, which makes a div scrollable, and I had the cluetip links inside of this. If I move the clue tip links, outside of the scrollable div, it works as expected. any ideas on how I could make it NOT conflict? Here is an example: http://www.puc.edu/PUC/file/cluetip.html NOTE: This file is extremely stripped down, please ignore any HTML problems. Also, the image paths to the
[jQuery] jQuery Error with auto-tabbing and browser autocomplete options
I'm working on an auto tabbing plugin and keep getting an odd error from Firebug. In my example I have three text fields that serve the purpose of typing a phone number. If what I begin typing matches previously entered numbers, Firefox will display autocomplete matches. After three numbers, my script automatically tabs to the next field, but I get the following error: [Exception... "'Permission denied to set property XULElement.selectedIndex' when calling method: [nsIAutoCompletePopup::selectedIndex]"
[jQuery] Validate plugin bug
Sorry for the double posting, but the other subject was vague... There needs to be a check for value !== null in the attributeRules method of the jquery.validate plugin. It bombs otherwise when collecting the rules . Not sure if this is because of using the 1.2.5 jq release. Also I have a patch here http://plugins.jquery.com/node/1667 that is three months old...do I need to submit this somewhere else to be considered? This patch lets forms get submitted via Form plugin when onsubmit='false' Thanks
[jQuery] Logging JavaScript errors with jQuery
Is it possible to use jQuery to find out if/when a JavaScript error/warning occurs? I would be able to send info about what kind of error/warning, time, url, browser - to a specific page on my site that will log this info on the server. Maby there is already a logging plugin?
[jQuery] SuperFish Plugin - How to Remove Animation
I love the animation on the SuperFish plugin, but my boss does not :( How do I remove all animation so that the nested ul's immediately appear with no animation?
[jQuery] setting options for objects
This is a general javascript question really I have three objects that are similar $.object1({ option1: "something", option2: "something else", option3: "unique 1", }); $.object2({ option1: "something", option2: "something else", option3: "unique 2", }); What I want to do is set the default options for both objects once and then add only the unique ones can anyone give me a heads up on this?
[jQuery] BlockUI: Strange flickering behavior.
Hi folks, after solving my previous BlockUI problem, I'm wondering if anyone has ever seen it do this before: <a href="http://rock-itnaturalstone.com/dev/ThinVeneer.php">http://rock-itnaturalstone.com/dev/ThinVeneer.php</a> Just hover over some of the stone samples to see what it's doing. It's driving me crazy. It's almost as if the mouseover even fires constantly while the mouse is hovered over the element, rather than just firing once. Any thoughts? Thanks, Chris<br clear="all"> -- <a href="http://cjordan.us">http://cjordan.us</a>
captcha plugin problem.
Hi guys, i have this code Javascript: [code] $.validator.setDefaults({ submitHandler: function() { alert("submitted!"); } }); $().ready(function() { // validate signup form on keyup and submit $("#joinusForm").validate({ rules: { name: { required: true, minlength: 2 }, category:{ required: true }, site: { required: true, url: true }, email: { required: true, email: true }, captcha: { required: true, remote: "action.php" }, agree: "required" }, messages: { name: { required: "Please enter a username.",
[jQuery] [Autocomplete] Applying bgiframe
Hello. How do I apply the bgiframe plugin to the autocomplete script? Do I just need to call the function on the textbox that I'm using? Thanks!
[jQuery] Validate Plugin - Message customization with metadata
Hi, I'm trying to build a web framework utilizing the great work thats already been done on the validation plugin. I'm trying to use metadata to specify my rules. I'm having a problem overriding the default messages for multiple rules via metadata. It appears as though I can only specify one generic message for all my rules on a given element using the title attribute. Is there a way use metadata to override error messages that I'm overlooking? If not can this be added? Additionally, do we have to
[jQuery] jQuery Cycle plugin - avoiding preloading large number of images?
Hi, I have a problem with the Cycle plugin (jQuery-based slideshow, http://malsup.com/jquery/cycle/ ) that I hope someone here can help me out with. Currently, Cycle loads all the images up front. That's a problem for me - the slideshow I'm working on may have a very large number of images, not all of which will necessarily be shown. What we need is some way of making it only preload the image that's going to be shown next. The questions: - Does anyone know if there's a way to make Cycle do this
[jQuery] slideshow for big images
Hello, I’m looking for a jQuery plugin to load dynamically and cycle big images. I need a plugin, that reads images from a directory or an array, but the current image must be read only if needed, not all at once. For example: 500 images 800x300px, only one (random or next) image is actually displayed at the top of the page and changes with transitions each 5 seconds. When javascript is disabled, only one image is loaded. Which plugin is for me? -- thanks, takeshin
[jQuery] using Jquery ajax methods in userscript
Hi Everyone, I am trying to send the grease monkey variable values to my MySQL datbase. I thought of using Ajax methods in jQuery to perform this action but i am not sure how a variable can be passed from userscript to the embedded jquery ajax methods...plz help! e.g page_title = document.title; this gets me the title of a page now i want to send page_title value to my sql using jQuery ajax methods in my userscript..... hope this issue is not out of the mailing list ... looking forward to all ur
[jQuery] Accordion Problems
I've just tried to implement the excellent UI Accordion plug-in (see http://www.favouritethings.com/dev/Accordion.htm) I am, however, struggling with 2 issues: 1. When you first open the accordion, it expands much more than needed and then contracts. 2. The manner in which it expands seems very rough whilst, in the demos, the transition is very smooth. Please help.
[jQuery] [autocomplete] jquery plugin with json data returned
I'm using the autocomplete from Jörn's blog (http://bassistance.de/ jquery-plugins/jquery-plugin-autocomplete/) (thanks Jörn'!) I would like to return my data from the php script in json format, eg: [{"displayname":"Joe Smith","username":"Jsmith","email_address":"Jsmith@example.com"}, {"displayname":"Jane Smith","username":"JaneS","email_address":"JaneS@example.com"}] Can this plugin play nicely with json returned data? I know it works if it is static json data.. But at the moment it only views it
[jQuery] Table slide toggle
http://labs.cloudream.name/jquery/tbody-slidetoggle.html Click TH to toggle tbody, but plays bad in FF2/OPERA9.2
[jQuery] Media Plugin - unable to overwrite default options
I was under the impression that this would override the default mp3Player and flvPlayer options: $(document).ready(function(){ $('a.media').media(); $.fn.media.defaults.flvPlayer = '/misc/mediaplayer.swf'; $.fn.media.defaults.mp3Player = '/misc/mediaplayer.swf'; }); Unfortunately, neither that, nor specifying the player with metadata and the metadata plugin were able to successfully override the default of "mediaplayer.swf" so I would get a 404 upon page load. Could somebody shed some light on
[jQuery] Inconsistent behaviour of [autocomplete]
Hello, the plugin http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ has a slight inconsistency. With multiple not set (default=false), I have different behaviour if I select a value with 'Enter' or with a mouse click. The return executes a $input.blur() the mouse click not. I would appreciate if the blur is removed to have the cursor rest in the input field. The user can then press 'tab' to get into the next field instead of being forced to click in the next field. Best Regards Sebastian
[jQuery] clashing link & div ID's?
Hi All, I have a bunch of links that I need to assign ID's to automatically through php. However, some of these ID's are already taken by some divs so are causing conflicts. I am thinking of adding _link to these new link ID's, so they now have an ID like divid_link I want to hide the corresponding div when the link is clicked, so I need to know how to remove the _link from the end of the link id. any ideas on how I would shorten the $('#divid_link') below to just $ ('#divid') ? Thanks, Daithi. $('#divid_link').click(function()
[jQuery] 1.2.5 IE6 strange problems
Have get the 1.2.5 and test it in my project. All plugins work ok except jqModal - I do not have anymore modal windows in IE6. I'm not sure bu the problem is similar to those reported here http://groups.google.com/group/jquery-en/browse_thread/thread/1cbfc17be168c1f0 By the way if I open this page with a latest jquery in IE6 it looks very strange Here is a link http://docs.jquery.com/Release:jQuery_1.2.5 Regards Tony
[jQuery] Can you please help me to fix this
hi i need a basic idea of how to do this jquery part as im still a beginner. i have table row which has 3 table data which is repeating until all data finish for one client(family).i have to get all family members name and age above 25. this section in my HTML page: <tr name="clientrow" id="row"> <td align="center" class="table2" height="30" name="cname">#clientn#</ td> <td align="left" class="table1" height="30" name="cdob"> #age#</ td> <td align="center" class="table2" height="30"><input type="checkbox"
[jQuery] .get(0) fails in 1.2.5
Hi there, Noob.. and first post. Thanks for helping: When using jquery 1.2.1 this call var task = $("#task_"+checklist_id+"_"+task_id)[0]; or var task = $("#task_"+checklist_id+"_"+task_id).get(0); both return: [object HTMLTableRowElement] which is correct. (we are appending rows to a table...) But in 1.2.5 - same calls return: undefined which then makes my next function, $.data(task, "name", id); fail.. w/ message "elem has no properties" Any ideas? Thanks.
[jQuery] if all classes are hidden?
Hi all, I have a bunch of divs on my page that all have a class of box, the boxes can be hidden by the div id, so when all are hidden, i also want to hide their parent div - left the code below hides the parent div as soon as one box is hidden, but i don't want to do this. Any ideas on how I would hide the parent div - left - only after all the divs with the class of box are hidden? Thanks, Daithi. if ( $('.box').is(':hidden') ) { $('#left').hide(); }
[jQuery] bind click event equal to mouseover
is it possible i make one event equal to another event for example, if i put a mouseover on a <li></li> tags. automaticly, the a mouseover activated? so if i have a tags like <li><a href=#>link here </a></li> the link will be highlighted regardless of user put a mouserover on a tags or li tags?
[jQuery] .show() Question
Hey all, Working on my graduation portfolio and I am not quite sure why things are behaving in the fashion that they are. Here is the test site to use as reference (I apologize for the gross code and long load time, only a test page). http://www.design72.net/d72_root/javascript_test.html I have two elements show when the "work" link is clicked. Both elements respond differently. The left hand element slides in from right to left, where the right element reveals from the top left corner. The left
[jQuery] MOOTOOLS or JQuery
What are the pros and cons of each, and which is better to work with in ASP.NET?
massive problems with extending div
hi, i have a problem with a site i am developing. we have a news page which - when new articles are posted - has an automatcally extending main div. this would work fine but the problem is that inside this main div thee are three floated divs. this means that the only way to give the main div a background-color is to give it a set height in CSS. )This is a problem of which i was not aware until earlier this week). This probably sounds confusing so i have given exampe html below: <div class="main-content">
[jQuery] jQuery UI
Does the jQuery UI zip package contain jQuery, or is it just a library to USE with my jQuery library?
[jQuery] selector help
My app has to present some rather lengthy list of choices. Each choice has a checkbox tied to it and multiple choices can be made. When 'editting' the choices, we want to see all available choices, but after editting is done, we only want to see what was selected. I'm stuck coming up with the jQuery selector to display the user choices. Something like this:. $('TR',list).hide().filter(':has(INPUT[@checked])').show(); -- View this message in context: http://www.nabble.com/selector-help-tp17369737s27240p17369737.html
[jQuery] Scrolling div with image scroller?
I have a very old javascript implementation of a scrolling div, that has an image as the scroller, so that I can scroll a div filled with content. Here is the original script: http://meddle.dzygn.com/eng/weblog/scroller.mod/ I would really like to find a new, clean and simple jQuery solution, as the one I am using seems buggy, is a paint, and the code is bloated. Are there any plugins or jQuery solutions for this?
[jQuery] image maps and Jquery
I have a following problem: I'm trying to make a sliding accordion menu (with accordion sub-menus - those are not a problem) that is invoked by means of clicking on an image map. I have tried the following code: <script type="text/javascript"> $(document).ready(function() { $('div#po_info> div.woj').hide(); $('div#po_info> area').click(function() { $(this).next('div.woj:hidden').slideDown('normal') .siblings('div.woj:visible').slideUp('normal'); }); }); </script> where div "woj" should be shown (or
[jQuery] AJAX ui.tabs and $(document).ready()
It appears that when you use the AJAX implementation of ui.tabs the $ (document).ready() function is never executed. Should I be doing something else to get some JS to run when the page loads?
[jQuery] BlockUI: message as complete overlay
Recently in another thread (BlockUI: Strange flickering problem), I found that what I'd like is to have my message be the entire overlay. So as it stands right now, you get a semi-transparent overlay with a message in the middle. When you run your mouse over the overlay bit, the cursor turns into an hour glass, but when you've got your mouse over the message in the middle your cursor stays the normal default (or whatever you've set it to). So what I'm dealing with is a grid of images where, on mouseover,
[jQuery] [OT] twitter
hi friends, now that jquery uses twitter, i might give twitter a chance. Can you recommend a good way to use it? A twitter client? Which? i'm a bit afraid of the "distraction" it brings. but using it in my Greader is not very satisfactory. Any clue, welcomed ! Thanks,<br clear="all"> -- Alexandre Plennevaux LAb[au] <a href="http://www.lab-au.com">http://www.lab-au.com</a>
[jQuery] Release: jQuery Validation plugin 1.3
A new release of the validation plugin (http://bassistance.de/jquery-plugins/jquery-plugin-validation/) is done, now at version 1.3. This release adds five more localizations and fixes a few bugs, eg. "asdf" is not a valid creditcard number anymore. Major improvements went into validating a form without triggering UI feedback (http://dev.jquery.com/ticket/2215) and batch adding and removing of rules. The complete list of changes: <ul> <li>Fixed invalid-form event, now only triggered when form is
[jQuery] Another jQuery Camp after TAE conference?
I am going to put in a request at work to attend The Ajax Experience conference this fall in Boston. Last year there was a jQuery Camp following that conference. Does anyone know if there are plans to do the same thing this year? I want to make sure my travel/hotel arrangements will accommodate the camp if there is to be one. Thanks, Dave
[jQuery] how to achieve a 'folder picker' behavior
Hi, I'm a newbie to both Jquery an the treeview plugin. I'd like to create something like a 'folder picker' using it. In other words, I need to associate a different event (of my choice) to the action of somebody clicking on the folder's name/text. Currently, clicking on the folder's name is the same as clicking on its associated icon (that is, it collapses or expands the folder). Is there a way I can achieve this with this plugin? thanks in advance, -Patricia
[jQuery] problem with object response
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> <span>How i can handle <wbr>with jquery the <wbr>"uncaught exception:<wbr> [object Object]<wbr>" firefox message <wbr>when theres no answer <wbr>from a query (via <wbr>json in my case)? </span> $.ajax({ url: "weather.php", action: "get_weather", dataType: 'json', success: function(json){ ....
Next Page