[jQuery] Superfish IE7 Error
Hi, I'm using superfish on a simple test menu at: http://sandbox.jrdixey.fastmail.fm/ (css stylesheet =http://sandbox.jrdixey.fastmail.fm/jquerysandbox.css) IE7 is kicking out an error: Line 12, character 7: object doesn't support this property or method It's referring to this line: $(".nav") TIA, Jenny jQuery AND Superfish noob ...
[jQuery] Simple payment calculator/form
Hi, Although I've used jQuery for corners, equal columns etcs but I've no clue about this one, a simple payment calculator/form: Cash/Check/Money Order (Payment Dropdown) [amount] (text field for inserting an amount) [+] (plus button) Total: [Total amount] Plus button display another Payment Type Dropdown and Amount field. This is to allow the user to pay partial amounts using different methods (10% check, 90% card etc..). I would appreciated any help. Many thanks. -- View this message in context:
[jQuery] Simple payment calculator/form
Hi, Although I've used jQuery for corners, equal columns etcs but I've no clue about this one, a simple payment calculator/form: Cash/Check/Money Order (Payment Dropdown) [amount] (text field for inserting an amount) [+] (plus button) Total: [Total amount] Plus button display another Payment Type Dropdown and Amount field. This is to allow the user to pay partial amounts using different methods (10% check, 90% card etc..). I would appreciated any help. Many thanks. -- View this message in context:
[jQuery] Firing off a jQuery action ASAP - before document ready?
Hi there! I have a jQuery action which I'd like to run as soon as possible. Currently it runs on (document).ready but that's too late, and I see a flicker of the page before the action takes place (importing a new stylesheet). Is there a way to make an action happen before the doument is ready? Will I have to use plain javascript (noooo!), rather than jQuery? Thanks for any light you can shed. Zarino Zappia
[jQuery] Superfish - issues with hover links in IE6
I am looking for advice on IE6... I have implemented superfish (the latest version) along with the jquery vs 1.2.1. The drop down works great everywhere except IE6. I need to have a different link color when you rollover the top part of the nav, and have it stay that color when you continue down the sub nav list. However, when you do this in IE6 on a PC, the link color reverts back to white and seemingly disappears, which is slightly problematic. I also changed the .nav class to an id (#nav), and
[jQuery] Problem with acents on load()
Hi I'm using $("#body").load("intro.html"), to fill the div body... but i have problems with accents, any help? The main page have: <META http-equiv=Content-Type content="text/html; charset=UTF-8"> and the page intro.html only have 2 tables without labels <html><head> or <body>... Thanks, sorry my basic English.
[jQuery] Convert to JQuery code
Hello, I am mostly an ASP.NET and SQL developer and I have no experience with JQuery. I am starting to use JQuery now and it seems really good. I need to convert a Javascript code to use JQuery. Could someone, please, help me out? The Javascript code: function onUpdating(){ // get the update progress div var updateProgressDiv = $get('updateProgressDiv'); // get the gridview element var gridView = $get('<%= this.gvCustomers.ClientID %>'); // make it visible updateProgressDiv.style.display = ''; //
[jQuery] Using jQuery to display dynamically generated linked select
Hello! So I am having a jQuery issue that I really need help with! Ok so I have a table with several rows. Each row has a copy link so that when clicked a jquery is called that inserts a form right underneath that link that contains a linked select and a button to save. The linked select copies the content of that row and saves it as a new row for the options selected throught the linked select. For example lets say the a row contains data "apples, red, good". Thiis row is saved under "Apple Section
[jQuery] New Plugin: jQuery Fx Queues
(Sorry if I'm double posting) Hi, I created a new plugin that reimplements the queueing system, allowing the possibility of having global queues for jquery's animations (similar to what Scriptaculous has). http://jquery.com/plugins/project/fxqueues http://www.decodeuri.com/jqueryfxqueues/ New arguments added to animate: * queue: (string) Name of the queue. If it doesn't exist, it creates the new queue. * scope: (string) Name of the scope. * queuePosition: ("front"|"end") Queue position where animation
[jQuery] toggleClass() help - assigning double class names that look like this: "classname classname"
<html><head></head><body> <span class="postbody">The problem with the code below is that it modifies the tag to look like this: </span> <table class="code" align="center" cellpadding="3" cellspacing="1" width="90%"> <tbody><tr> <td class="row1"><span class="genmed"><b>Code:</b></span></td> </tr> <tr> <td class="row2"><span class="postbody"><font color="#006600"><a class="video video.active"/></font></span></td> </tr> </tbody></table> <span class="postbody"> When it needs to look like this: </span>
[jQuery] Firefox select change callback is not working
Hi to all, i have a problem dealing with the change event on a select form item. <form> <select id="yes" name="yes"> <option value="1">My number 1</option> <option value="2">My number 2</option> <option value="3">My number 3</option> </select> </form> <script type="text/javascript"> $("#yes").bind("change",yes); function yes(){ value=$("#yes").val(); alert('Yes val = ' + value); } </script> On Internet Explorer, it works... but not on Firefox. I have tested lots of things
[jQuery] How to scroll select list ?
How 2 scroll with jquery <select>? For example i have: <select size="3"> <option value="142">value 142</option> <option value="231">value 231</option> <option value="333">value 333</option> <option value="321">value 321</option> <option value="231">value 231</option> <option value="321">value 321</option> <select> By default some options are not visible - scrolling required. And i want to scrool with jquery to some element. I guess how to point for desired element, but I have no idea how to scroll
[jQuery] ajaxContent Major relesase (V 2.0)
Hi, I have just released the version 2.0 of my ajaxContent plugin. Many news like: * All known bugs fixed * Added support for Metadata Plugin. * Options can be directly overwritten through the now exposed "$.fn.ajaxContet" function. * Added the 'currentClass' option. * 'Succes' and 'Error' callbacks are now availables. * Debug object through the firebug console. Demo/api page is here: http://www.andreacfm.com/examples/ajaxContent/ Please let me have your feedbacks Andrea
[jQuery] fade png24 images in IE7
Hi there, at first I must to excuse for my bad english... I come from Germany. I have Problems with fading png24 images in IE7 with the methods fadeIn() and fadeOut(). The scopes where the image is transparency are black in IE7 during the fade process. Can you help me ? thank´s a lot! Melzmann
[jQuery] Two NewBe-Questions about jQuery
Hello everyone! as mentioned above, Im quite new to jQuery (in fact I'm using it for 3 hours now ;) ). Here are two newbe-questions which both refer to the following code: <code> $(function(){ $('#fAnfrage').submit(function(){ var inputs = []; $(':input', this).each(function(){ inputs.push(this.name + '=' + escape(this.value)); }) jQuery.ajax({ data: inputs.join('&'), url: this.action, type: "POST", timeout:
[jQuery] jQuery and Vista Sidebar Gadgets, do they mix?
Hi. I am new to jQuery and I am trying to create a Vista Sidebar Gadget. I am able to get the gadget to work in IE but when I create the actual gadget and install it on Vista, the jQuery features do not work. I am using Jörn's Accordion which doesn't work in the Gadget. I have then used basic jQuery to create an accordion which also does not work. Can anyone tell me if jQuery just doens't work in Vista Sidebar Gadgets? If it should work, what am I missing? Any help would be greatly appreciated. Thanks,
[jQuery] Selector Not Working in IE7?
I'm trying to "manually" interact with the multifile plugin and, as part of that endeavor, I need to systemically access the anchor tag that provides "Delete" functionality. The following works great in FF (of course): $('a[href^="#multimulti_"]') The objects are returned as expected and alert ( $ ('a[href^="#multimulti_"]').length ) returns the expected number of elements. In IE7, though, the former value is undefined and the latter is 0. Anyone have any idea why this might be happening? A high
[jQuery] Ajax Form and latin characters
Hello all, I'm having a really hard time making my AJAX form submit an e-mail correctly. The form sends the data to an ASP page which then submits an e-mail through CDONTS. The problem is: the latin characters are scrambled in the e-mail received by the final user. Eg.: the word "cães" is received as "cães" I've been trying a lot of things like: - "enctype="application/x-www-form-urlencoded"" in my <form> - session.LCID=1046 (brazilian portuguese) in the ASP which submits the e-mail - charset=iso-8859-1
[jQuery] $.getJSON() problem
i have a problem with $.getJSON(), nothing is logged in firebug console although i can see that correct data is returned in response (in firebug) for code:
[jQuery] Starter
Respected Seniors i just came across jQuery on my way searching for something else n decided to learn coding with jQuery. Here is my very first piece of code with jQuery but I cant get it to work: <html> <head> <title>tut1</title> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $("a").click(function(){ $(this).hide("slow"); return false; }); </script> </head> <body> Click <a href="http://www.yahoo.com">here</a> </body> </html> the jquery.js file is in same
[jQuery] firing event when inner html of element was updated
Hello list, Which event type should I use if I want to execute my code when DOM of element was changed? For example I have 'div' and set inner html like node.innerHTML or $ (node).html() and want to execute some code after update (in event listener). I'll try to explain why I need event listener. I'm writing small rich editor and I need to check max length of content. The editor uses iframe to displaying html. I need to check length of html content in body of this document after each update (keystrokes,
[jQuery] Superfish - Autotrigger Third Level
Hi all, I have a three - tiered superfish menu that's working great as is. What I need to do though is automatically show the third levels when the first level is hovered over. <code> <ul class='nav'> <li>Main-1 <ul> <li>Sub-1 <ul> <li>Item-1</li> <li>Item-2</li> </ul> </li> </ul> </li> <li>Main-2</li> </ul> </code> ---------------------------- | Main-1 | Main-2 | --------------------------- | Sub-1 | Sub-2 | ------------------------- | Item-1 | ------------- | Item-2 | ------------- For example,
[jQuery] [Webpage] Mastermind game
I have created a Mastermind game in Javascript and jQuery, and would like to present it here for comments and suggestions. It was kind of a proof of concept for me for several things: 1- Inline images (Base64 encoded) 2- single page script (everything is included in one html file) 3- Javascript classes (I've never really played with these before) and i just wanted to add a new game to my games list So... let me know where I might make improvements. The main 'feature' of the game is the instructions,
[jQuery] Configuring WYMEditor
For the CMS I am currently working on I have decided to go with WYM as the inline HTML editor. TinyMCE seems to do weird things that preclude using FireBug to debug scripts. From what I've been able to figure out from the documentation it is possible to have external events trigger editor events such as selecting the paragraph type, CSS style etc, so I've decided to use that approach as it seems easier than trying to significantly edit the editor itself to look how I need it to. I'm still figuring
[jQuery] Does javascript interpreter works with HTML parser at the same time in IE???
Hi. I'm just a beginner of javascript. I'm just wondering how browser Engine works.. in this article i just consider about two main part of browser Engene. the first one is html parser, and the other part is javascript interpreter. as i know html parser parses html line by line. I use inline javascript between HTML object like this line so when tag is opend such as <div> , it is looking for the tag closed like </div> and then the dom object is created on the screen. what if i use <script> in the
newbie jquery advice
Wow cool - a jquery forum! Just what I needed I'm just starting out with jquery and need some advice on how to build this. I'd like to have a list of DIVs that can be added and removed from a list. There is a button to remove each item, and a button that saves the order of the list. Bascially, it looks like this: <DIV id="Container"> <!-- An "item" there can be a bunch of theses --> <DIV class="item"> <SPAN class="close">Remove Me</span> </DIV> <a href="#">Save Me</a> </DIV> So, my first question
[jQuery] Problem when adding onclick or onchange attributes to a link on IE7
Hi Guys, I just finished a script to duplicate rows of a table using jQuery, everything works fine on Firefox, and duplicating also work on IE7, but when i try to add a new function to the newly added item on the onClick or onChange it does not work, i have tried adding the function in the following ways: After adding the item to the DOM: $("#show_popup2").attr( { "ONCLICK" : "alert('This is a Test')" } ); And: $( "#show_popup2" ).click( function () { alert("Test 2"); }); Before Adding the item to
[jQuery] IE6 .height() problem
Hi, I am creating a new div and using the .height(1) method to set it's height to 1 pxiel high. In IE7 and FF this works fine, however in IE6 for some reason 18 pixels are mysteriously added to the height of the new div. It seems to be added at the point when it is inserted into the DOM so getting the height value before it is appended shows the correct height but getting it after it is appended shows the wrong height. I have tried to set the height after the element has been appended but this doesn't
[jQuery] Autosuggest
I currently have a brief to develop a system to help people find addresses in a list loaded into a web page. At the moment they're displayed as a single long list (a ul), and the oser clicks the one he wants to use. The problem is that in some cases this list can run to hundreds of entries. The first plan was to simply have a button to click on the page that invokes the browser's ctrl-f behaviour, but there doesn't seem to be a sensible cross-browser way to do it. My second idea was to use jQuery
[jQuery] How to wrap multiple elements at once in one tag.
I have a very ugly piece of html coming off a server that I am trying to make pretty. So far things have gone well, I have been able to manipulate the html using jquery as well as the Tabs and frames plug-ins. However, I have one out standing issue. I would like to section the content of the page into divs. Currently it is a long series of tables as below: <table class=pagestart></table> <table></table> <table></table> <table></table> <table class=pagestart></table> <table></table> <table></table>
[jQuery] Please take this survey regarding your relationship with animals
Please take 10-15 mnutes of your time to be an anonymous participant in a research project that I am performing for school. You will be asked to answer a series of question and view up to 4 short video clips upon which some of the questions are based. The research involves the level of appreciation that people have for animals, and what effects different television programs might have on that relationship. Your opinion would be greatly appreciated. Thank you, Please click below to begin. http://www.surveymonkey.com/s.aspx?sm=w3IqeU6zvSDdKgqD5vOjeA_3d_3d
[jQuery] Totally lost: scroll the page to put a div at the top
Hey guys... I'm lost on this. I've been searching all over for a simple solution and I can't seem to find it outside of something like interface or a large plugin. Is there a way to get jquery to scroll the whole page so a specified div is at the top of the screen? Specifically, when I enter into a form field within a div, I want that div to move to the top of the screen. I thought it would be fairly straightforward, but so far, no dice. Any thoughts? Thanks. Peter
[jQuery] livequery $(this) is null? (this is second post, accidentally clicked post)
jQuery.create_table.prepare_add_item=function() { var items=$('#canvas > thead > tr > th'); var prev_value=''; var input_item=$('#input_item'); var head=$('#canvas > thead > tr'); // FIRST METHOD $('#canvas > thead > tr > th').click( function() { alert($(this).attr('id')); } ); ///SECOND METHOD $('#canvas > thead > tr > th').livequery( function() { $(this).click(function(){ alert($(this).attr('id'));
[jQuery] How to speed up jQuery
Dear developers, I have a function which is called several times, when my page is loaded. This is VERY slow under IE, because I have a lot of checkbox. Did someone can explain me this difference between FF and IE ? And maybe how to improve this function : function myToggleShow(checkboxElem, showHideElem){ var showHide = $(showHideElem); var checkbox = $(checkboxElem); checkbox.click( function() { if (checkbox.is(":checked")) { showHide.show('slow'); // Change the background for "even" lignes changeBg()
[jQuery] dealing with unresponsive script
hi, I am using tablesorter 2. I can't help it but I have a large set of data which lead the firefox to popup a dialog saying unresponsive script with options of cancel, debug or continue. how can I prevent the firefox from popping this dialog and display a more user friendly message like "This could take a while..." Thanks james
[jQuery] My jquery-Project
Hello everybody, first of all a big thank you to everybody who contributes to this mailinglist - it's a lot of help just to read through the comments! Now I want to present my project which makes massiv usage of the brillant jquery-library! It's called TUBESEARCH and you can find it here: http://www.checker-forum.de/wbblite/tubesearch.php Plugins in use are jquery.corner and jquery.modal! What do you think about my project? Any improvements to make?
[jQuery] HELP: Debugging Issue
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> <font face="Arial">On one page, Firefox throws the "a script is taking too long" message. On clicking 'Debug Script', it points to the following line of jQuery: </font><i><span class="sourceRowText"> first.push(second[i]); </span></i><span class="sourceRowText">Which is in... </span><i><span class="sourceRowText"> merge: function(first, second)
[jQuery] livequery $(this) is null?
jQuery.create_table.prepare_add_item=function() { var items=$('#canvas > thead > tr > th'); var prev_value=''; var input_item=$('#input_item'); var head=$('#canvas > thead > tr'); // FIRST METHOD $('#canvas > thead > tr > th').click( function() { alert($(this).attr('id')); } ); ///SECOND METHOD $('#canvas > thead > tr > th').livequery( function() { $(this).click(function(){ alert($(this).attr('id'));
[jQuery] Improving .hover on this basic Jquery?
I have some super basic Jquery in use on this test page: http://ghettocooler.net/stuff/code/jquery/hover/ I was wondering if anyone had any ideas as to how I can improve some basic navigation. It seems as though lots of people have issues w/ the .hover, and they suggest using the hoverIntent plugin. But there's got to be a simpler way, with some basic Javascript. If anyone has any ideas on improving this, I'd love to hear them! Thanks $("#menu > li ul").hide(); $("#menu > li").hover ( function()
[jQuery] .append() is not inserting data into my div
Hello, this code doesn't seem to insert or append any HTML when I call it, but it does insert the HTML when I use the HTML() function. * This does not work.* function queue(itemId, mediaType) { $.get("ajax/getPlaylistItem.aspx", {itemId: itemId, mediaType: mediaType}, function(data){ alert("Data Loaded: " + data);$("#playlist div.scrollbox").append(data); }); } * This works!* function queue(itemId, mediaType) { $.get("ajax/getPlaylistItem.aspx", {itemId: itemId, mediaType: mediaType}, function(data){
Next Page