[jQuery] disable select in FF?
I am trying to disable / enable a select drop down list. Works fine in IE but not in FF. I have a check box that when checked the select becomes enabled when unchecked then it become disabeled. Here is my code: $('input[type=checkbox]').bind("click",function(){ var el=$(this).parent().next('td select') if (this.checked) { el.removeAttr("disabled"); el.attr("enabled","enabled"); } else { el.removeAttr("enabled"); el.attr("disabled","disabled"); } }).each(function(){ var el=$(this).parent().next('td
[jQuery] Flicker issue with jCarousel in FF 2.0 with circular carousels
Hello Jan, I would like to ask if you have a hint on how to solve the white flickering issue with jCarousel when in use on FF 2.0? I have tried the fix below that you gave to another user, but I don't know if this was a circular carousel. This fix does not work in FF 2.0 Any hints would be appreciated. Incredible script by the way. I would donate to you if you were to put out a jar. Think about it. function mycarousel_itemVisibleOutCallback(carousel, item, i, state, evt) { setTimeout(function() {
[jQuery] Shadowbox no worky with jQuery 1.2.3
Hey all, I'm using the Shadowbox script successfully with jQuery 1.2.1, however when changing to jQuery 1.2.3, it no longer functions properly. It looks like something in the preventDefault mechanism in the Shadowbox jQuery adapter is broken, because when clicking on the image, it does not prevent the default link event -- it just reloads the image in a new page. But, I don't see anything wrong with it right off the bat so it may be something to do with event binding being handled differently in
[jQuery] unbind especific function not working
I'm kinda of a begginer on JQuery and I'm writing my first plugin. The plugin should handle form validation, in which I want to be able to enable or disable validation. The simplified version is like this: (function($) { $.fn.checkForm = function(action) { function validateForm() { return false; // dont submit form, just that simple for this example }; return this.each( function() { if (action == "add") $(this).bind("submit", validateForm); // add validation for the form if (action == "remove") //
[jQuery] Incredibly Fast jQuery-Powered Search Tool
Hi, I wanted to show you guys a tool I just built using jQuery and Drupal. It's called Module Finder. http://drupalmodules.com/module-finder Module Finder searches thought the Drupal Modules database, showing results as you type, highlighting keywords, and displaying ratings in real time. The interface was built with jQuery v1.2.3, and a number of plugins, including ScrollTo, Form, and a customized version of typeWatch. The back end is a custom designed search engine that's not yet publicly available,
[jQuery] Flex Ajax Bridge & jQuery...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=938583220-02042008><FONT face=Arial size=2>Has anyone on this list done any work with the FABridge code provided by Adobe for use in working with Flex?</FONT></SPAN></DIV> <DIV><SPAN class=938583220-02042008><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=938583220-02042008><FONT
[jQuery] Positioning ad
We have articles on our site that are standard html (i.e. using p tags). We also use javascript to generate ad tags (i.e. doubleclick, adsense, etc). So I have a hidden div on the page that the ad is generated into (via javascript). I then want to append the "ad" to the 3rd paragraph. Everything works, except that as soon as I use jQuery to "move" it, I have 3-5 more ads show up "randomly" on the page. Here is the exact code that I am using. Is this a bug with jQuery...or is it a limitation? I have
[jQuery] cluetips - dynamic data filtering
First off, the hard work on cluetips. I'm a big fan and for a nub like me, it's been remarkably easy to integrate and customize for my sites. What I've been trying to do is have one html page that includes all the ajax content in various divs (essentially like xml), like such: <div class="tip_1">content here</div> <div class="tip_2">more content here</div> The tips would be able to filter according to matched class names. For instance, the following would display the above information, filtered by
[jQuery] ui.datepicker.js
Hello, I'm using the datepicker with jQuery. It works quite nicely. I'm going a traditional form post (or a get) using a submit button and it seems that the content of the text box is left out of the form post. What to do? Thanks in advance. Darcy
[jQuery] jQuery CharCounter Problem with limit reached
Hi, I'm using the jquery charcounter to count and limit characters in text areas. It's working well for the most part, except for the following problem. If I paste in text that exceeds the limit and it's truncated to say 1000 characters that are allowed, and then I go in and select a couple of words to delete and then click the delete key, it deletes all the text inside the text area not just the selected text. Very strange. Anyone has any idea? -Roman
[jQuery] rowspan behavior with ie
Hi the list, I was trying to change the rowspan on a table cell and notice that it was not working with ie. (I was doing something like $('...some cell....).attr('rowspan',15);) It was working with other browser. Using debug bar I noticed that the computed cell html code was like this: <td rowSpan=5 rowspan='15'>.... So then I change my code to use rowSpan (with a uppercase S) like this $('...some cell....).attr('rowSpan',15); That code works with ie and other browser. I was wondering, why should
[jQuery] Error management and display with jQuery...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=945080319-02042008><FONT face=Arial size=2>I love jQuery, but it's very difficult sometimes to work with a jQuery-driven app when you're getting JS errors that aren't being reported.</FONT></SPAN></DIV> <DIV><SPAN class=945080319-02042008><FONT face=Arial size=2></FONT></SPAN> </DIV>
[jQuery] Evaluate javascript in Ajax response in jqModal
Hi all, I found that one of the demo of jqModal (#4) features a ajax loading modal content with javascript tag in the response get evaluated. I studied the jqModal code itself and it seems that it just call the usual jQuery.load() method. How the <script> get evaluated actually?<br clear="all"> -- Best Regards, Jacky 網絡暴民 <a href="http://jacky.seezone.net">http://jacky.seezone.net</a>
[jQuery] How do I get a standard DOM object from jQuery selector.
I have a feeling I'm just missing something in the documentation, but is there anyway to get a standard DOM object to return from a jquery selector? <div id="context"> <div class="target"></div> </div> Essentially I want a way for $('.target', '#context') to give me the equivalent of document.getElementById('context').getElementsByTagName('div')[0]
[jQuery] BUG with animate method
Hi everyone, I've come across a little annoying issue that I hope is just a mistake on my part. When trying to animate a table cell from display: none to display: table-cell, I get nothing. I created a callback function that confirms the property was not set correctly. However, I am able to set other properties ( e.g. border). You can see a simple demo here. http://affinitycreativeteam.com/erik/test-plan.php Any help confirming or rejecting would be greatly appreciated. Here's all of the code. CODE
[jQuery] Problem with Sort Direction
Hi, I'm finding this plugin very useful, however i have one major problem with it (i dont know if its just me). When i click to sort on a column it sorts it ascending, which is correct. Then i sort on another column ascendng, fine. If i click to sort the first column again it sorts it descending, even though i moved columns. I would expect all columns to sort ascending unless i was already sorting on that column. Is this a bug in the plugin and is there a way around this? Thanks
Fade effect?
Hi, I'm using jqGalScroll v2.1 for a slideshow on my pages, it works great, but just lacks one thing - fade effect. Is there any way I could fade the slides instead of horz/vert/diag slide effect? Here's the script code: /** * jQuery jqGalScroll Plugin * Examples and documentation at: http://benjaminsterling.com/jquery-jqgalscroll-photo-gallery/ * * @author: Benjamin Sterling * @version: 2.1 * @copyright (c) 2007 Benjamin Sterling, KenzoMedia * @extendThanks Koesmanto Bong http://www.koesbong.com/
[jQuery] [clueTip] image map area showing alt/title on ie6/7
I have a tooltip (using clueTip plugin) applied on each <area> tag on my image map and it's working fine everywhere but not with IE6 and IE7. The tooltip show just fine but if the <area> got set 'alt' attribute IE6/7 display also content of that attribute in default IE tooltip. In case alt is not set, IE6/7 display content of 'title' but it can't be removed coz 'title' is the source of data for clueTip tooltip. sample of the code: <script type="text/javascript"> $(document).ready(function() { $('area.tipek').cluetip({
[jQuery] JQuery TableSorter pager Plugin problem
I've recently installed the TableSorter widget for jquery. It all worked fine, so I tried to go one step further, by installing the pager plugin for TableSorter. The problem I have is that the div called 'pager' appears on top of my table (at the bottom), instead of under the table, where I would like it to be. If I then select '20' (for 20 results per page) the div is placed where it should be (under the table). Then I select '10' (to go back to 10 results per page) and everything is displayed fine
[jQuery] A return key press causes JQuery Facebox to reload in IE
Hi I have a problem with the facebox plugin and jquery running in IE. I have jquery and the facebox plugin. I apply facebox to a link the normal way. the correct content loads into the facebox. HOwever when if I press the return key, the facebox will disappear and reload. IN Firefox a press of the return key does not affect the facebox. IS there a way yot prevent a key press, the return key from reloading/calling the facebox when pressed? I've tried JS to listen for the carriage return key and but
[jQuery] event logic
not sure if my problem actually can be solved - it might be to inconsistent with the event logic of any programming language... bt anyhow, here goes: 1. a mouse rolls over an element, firing the mouseover event. 2. the action bound to the mouseover executes 3. the mouse rolls off the element, firing the mouseout event 4. the action bound to the mouseout event executes. The twist: while still *inside* the element, the mouse rolls over *another* element which was created in step 2. , thus firing the
[jQuery] adding two functions together
I have 2 javascript calls in an <a href> tag. Originally I had just used standard javascript and put the 2 functions together like this: <a id ="functionClick" href="javascript:function1(value); function2(value);">click me to execute the 2 javascript functions</a> But it only worked part of the time. I then tried changing it using jQuery like this: <head> <script language="javascript"> $('a#"functionClick"').click( "function1(value)" ); ("function2(value"); </script> </head> <a href="#"functionClick"">click
[jQuery] Superfish Richard Willis second tier static
Hello, I am using the Richard Willis version (The first two tiers of menu are horizontally laid-out and the third vertical.) of the Joel Birch Superfish (http://users.tpg.com.au/j_birch/plugins/superfish/richard- willis-example/) I have modified the CSS to create a tab link interface. The first tier's <li> includes an 'active' class, which allows me to hide the non active one's children. See example here: http://bym01.eduka.info/Byrnecut-Group/About-Byrnecut-Group.aspx The page above is pure CSS
[jQuery] Remote Dom using JQuery
Hi, If I use ajax to get a remote page, is it possible to process its dom just like the current HTML? E.g. $.get(data.url, function(data) { // data is HTML, I want to process data, using JQuery , e.g. get a particular class } Thanks.
[jQuery] [jqModal] - r11 release, improvements.
Ladies and Gentleman, A few hundred bytes were added to the jqModal plugin to aid those struggling with z-Index container stacking issues. Namely; there's now a shortcut** to overcome "the overlay covers everything, including the dialog!" issues. Other improvements include a fault-tolerant focus method as well as avoidance of IE z-Index stacking order issues. It has been awhile since this plugin made an announcement in the - disuss limelight -- so for those that haven't heard; r10 was released and
[jQuery] Problem width tabs + splitter
Hi! I've try to mix tabs + splitter but didn't works in IE6/7 In FF works great! but I don't know what to do to solved in IE6 The microsoft script debbuger, report that de line 597 has an error on the jquery-1.1.3.1.js file. I copy this part of code... in jquery-1.1.3.1.js file in "attr" method if ( value != undefined ) { /* only for see the values for (i=0;i<2;i++){ console.log(i); console.log(name); console.log(value);
[jQuery] clueTip close button moves on hover
In my clueTip window I am having trouble with the close button moving slightly to the right when it is rolled over. It is in the title and I am using a sticky window that closes on mouse out. I cannot figure out what is causing this. Any ideas would be great! Thanks!
[jQuery] onmouseover having trouble in IE6
I have my clueTip sticky and have mouseOutClose: true, This seems to work great in all browsers except for IE6. Seems like when you interact and stop moving the mouse for a moment, when the mouse is moved again it closes, no matter the mouse location. Is there a fix for this? It is so close to perfect!! thanks!
[jQuery] jQuery.Tokenizer
Hi, I thought I'd share with you, this small script I needed for something else I'm making. It's a simple JS class to parse strings into tokens. It only requires one or more string/regexes to find the tokens, and optionally, a function to parse them into something else (could be a hash, an array, or w/e). Then, by just passing it a string, it will return an array with all the tokens, and also the strings between them. The documentation shows how to use it for simple templating, or CVS parsing. Those
[jQuery] correct way to quote strings
Hi, I am writing a server program that updates a page according to the current state on the server by sending down jquery commands to be evaluated. http://gitorious.org/projects/hunchncells At the moment, the server is generating strings like this... $("s").html(" <input name='s' value='val' type='text' id='s'> </input>"); These are failing, I think because the single quotes need to be backslashed. I'm a bit of a javascript newbie and wondered if there are any similar issues I should be aware of
[jQuery] Grabbing selection from one RadComboBox and sticking in another.
Hello jQuery Experts, I just joined this group and I am pretty new to development so just bear with me. (-: I'm very excited to use, and LOVE jQuery. It's awesome! Anyway, here's my question. I have some RadComboBoxes from telerik.com on my web form. What I would like to do is grab the value, or should I say selection, from one combo and stick it in another. Is that possible? Below is my code where if the user selects "Same as my business address" on a radio button list, it takes all the values of
[jQuery] hover and event bubbling (return false)
hello... I cant seem to solve this on my own. I've built a little tooltip hover widget that remains open even on mouseout so as to allow the mouse to click inline links etc. but it does not disappear when the mouse just moves off the <span id="tools"> I think the code below is totally wrong structure but I can't logically figure out how I need to build this right. $('#tools').hoverhelp('this is help text',1); $.fn.hoverhelp = function(txt,sticky) { // second attribute is used in switch () below return
[jQuery] append does not work if the HTML is not correct
Append stopped working for me today suddenly. I want to add a post for others who may have had the same problem I had. If append suddenly stops working, or you can't get it to work in the first place, make sure that the HTML is perfectly formatted. I added an extra div tag to the html that FF ignored but IE choked on.
[jQuery] counter like 1 of 10 for jcarousel
hello; i need to make a function: it should get the length of an array then everytime i click next it should increase its count until the length array ends. the next and prev hits would be placed just under this 1 of 10 counter. can anyone guide me on how to do this? i checked the Cycle plugin wich as this function but it's a bit too hard for me now to extract it...
[jQuery] Cycling through text
Hi, If you visit http://www.thejesusmachine.com/index.php, there is a section in the middle of the page where quotes disappear and new quotes appear in their place. You have to wait several seconds for each to cycle out. I don't know the right term for this effect, but how would I achieve something like this with JQuery? Thanks, - Dave
[jQuery] Standard DOM returned from jQuery selector
I have a feeling I'm just missing something in the documentation, but is there anyway to get a standard DOM object to return from a jquery selector? <div id="context"> <div class="target"></div> </div> Essentially I want a way for $('.target', '#context') to give me the equivalent of document.getElementById('context').getElementsByTagName('div')[0]
[jQuery] how to get innerHTML from an external bind()?
i need to bind a click function to several thousand table cells. would making an external function be better than specifying an anonymous one inline?...i'm afraid that with the inline version it would make as many function instances as there are table cells...correct me if i'm wrong. either way i need to get the innerHTML of each cell on click, and it doesnt seem to do it properly using jQuery object: $("td").bind("click", test); function test(e){ var e = e || window.event; var elem = e.target ||
[jQuery] bind() and thousands of <td> elements - inline or extrnal?
i need to bind a click function to several thousand table cells. would making an external function be better than specifying an anonymous one inline?...i'm afraid that with the inline version it would make as many function instances as there are table cells...correct me if i'm wrong. either way i need to get the innerHTML of each cell on click, and it doesnt seem to do it properly using jQuery object: $("td").bind("click", test); function test(e){ var e = e || window.event; var elem = e.target ||
[jQuery] blockUI and ie6 secure nonsecure
I am using the blockUI plugin to display a caveat message as soon as a page loads. The user has to check the "i agree" checkbox then click the "ok" button to access the page. When the "ok" button is clicked I set a cookie and run $.unblockUI(). The site is running in secure mode and in IE6 I get the infamous secure/nonsecure warning when the $.unblockUI() function is called. I've tried changing the source of the iframe to: javascript:void(0); and javascript:false;document.write(''); but no luck.
[jQuery] Gmail "Hidden From View" Notification
Hello there. I'm trying to create a function for a website that is similar to a hidden from view notification from Gmail. In Gmail when you are reading a long email conversation, it pops up a small tab with a name and an arrow to indicate there is more to read but it's hidden from view. I would like to know if there's a way to duplicate that using jQuery?
Next Page