[jQuery] jQuery enable/disable problem with IE 6 and 7
Hi, I'm having a few problems getting my jQuery code to work in internet explorer 6 and 7. The best way I can describe it is: there are several text fields on my webpage and each should be enabled/disabled based upon the radio button selected at the top of the page. The code I have written works fine in firefox, opera and safari. The problem with IE is that it requires 2 clicks for the jQuery to take effect (ie. user clicks the radio button, nothing happens, but then they click another part of the
[jQuery] XML parsing issue with facebox
Here is my issue. I am dynamically generating XML data that is to appear in the facebox as a means of displaying additional information about a product if so desired by the customer. My problem is this: I have set up the various <xls:for each...> <choose> etc., etc., which break down the xml data into divs and text tags that i want to be seen by the viewer. All of these are working properly, generating new content for each product (name price, image, etc.) within my for each i have also included
[jQuery] Autocomplete plugin problem please help
so basically the original code at http://docs.jquery.com/Plugins/Autocomplete#Example is [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> <link rel="stylesheet" href="http://dev.jquery.com/view/trunk/ plugins/autocomplete/demo/main.css" type="text/css" /> <link rel="stylesheet" href="http://dev.jquery.com/view/trunk/ plugins/autocomplete/jquery.autocomplete.css"
[jQuery] Cycle-Plugin: Add list-item after enabling cycle
Does anybody know how to enable the Cycle again after adding a list- item ("$('<li>hello<\/li>').appendTo('#cycle');")? When just enabling it again like "jQuery('#cycle').cycle({...});" the new item and the first one are set to "display:list-item" at the same time...
[jQuery] jQuery.sheet thoughts, maybe UI compliant?
Hey Guys, A lot has happened since I first posted about jQuery.sheet - A jQuery Spreadsheet with Calculations v0.1. We're now at version 2.5. Version 2.5 adds ajax load/save, in-place navigation, in-place edit, cross browser compatibility, true resize (opera & safari have some trouble here), upper menu (uses jquery.clickmenu), and many other tiny features. I'm working on version 0.3 at the moment, and things are progressing well. The next release will get rid of those pesky onScroll bars flying all
[jQuery] Content Disappers when jquery used in internet explorer
i use jquery on my wordpress blog rapidleech.info but there seems to be a problem with that i use the showing and hiding feature everything works fine in firefox but when links or images are put in the content and clicked , internet explorer the content that loads below flashes once and dissappears, dont know what is the problem you can see it in action at http://rapidleech.info/?page_id=5 click on the blue lined over there in internet explorer
[jQuery] Jquery Ajax does not support HTTP Streaming ?
Hi everyone, I want a solution to keep a connection open with my client so he can get almost a live update and also we don't want Ajax to connect every few minutes (we are building almost real-time web game) I came a cross this nice article http://ajaxpatterns.org/HTTP_Streaming which tell you some solution to do this. I did it in my script and it's working fine if I access the script directly (from browser) but when I try to do it with JQuery Ajax, it will wait until the script close the connection
[jQuery] Looking for an 'add to clipboard'/ shortlist sort of script
Hi all, I've been searching around for a script to do this for ages but can't seem to find anything, I wonder if anyone can help?? I'm looking for a script which lets visitors add links to a mini onsite clipboard using ajax. This will work as a shortlist, users can add a number of products to their shortlist and then compare them side by side. www.autotrader.co.uk basically does exactly what I wanted and this site also uses a save link function www.jellyfish.co.uk. Does anyone know of a jQuery script
[jQuery] Loading jQuery code from a seperate file?
Just wrote out a long message and the site failed to load and I can't get it back for some reason, damn IE7 :( Basically, I'm wondering how to define my jQuery code in a seperate file? If for example I've got something that's going to be on 95%+ of the pages, I'd like to have it in a seperate .js file and then search for an element, then execute the code, eg: if(document.getElementById('login-username') && document.getElementById('login-password')) { initLogin(); } Just wondering what the best
[jQuery] Searching a PlugIn( Protoload )
Hello, I'm searching a PlugIn similar to Protoload( http://aka-fotos.de/protoload/ ) for Prototype. Thanks for your Help, Stefan Sturm
jQuery Flash Resize Working in IE, but not FF
So, I have this problem where I have a script to resize a Flash doc dynamically. I have been working at this at least a half-dozen different ways, and have not been able to get it working. In FF what it does it goes to full size, but will not resize to normal size. IE will go full screen and then back. function fullScreen(){ var pageWidth = (jQuery(document).width() - 20); if(jQuery("#main").css("width") != pageWidth + "px"){ jQuery("#main").width(pageWidth); var percentInc = pageWidth / 900; var
[jQuery] idiot requests SIMPLE ajax explanation!
I'm embarrassed. I used to cheerfully mix PHP with Javascript, but now I don't understand the terminology! I see the advantages of 'asynchronous' data exchange and I would like some of that .... but I can't for the life of me understand what to do!! Does anybody know where to find a REALLY SIMPLE, step-by-step explanation? Supposing I eventually get to grips with this, has anybody (Mike Alsup!) written a REALLY simple explanation of the Taconite plugin, as that's where I'm heading? Thank you [blushes]
[jQuery] [validate] Validation Cancel Button
Hello, I know that is possible to use a button with class "cancel" to be able to cancel and not validate. But can I define another class? Thanks, Miguel
[jQuery] ajax loaded content and selecting current page show in navigation
So I have an issue, I want to highlight the link which is currently being viewed. The content is loaded via the LOAD method, but when I click on the other links the added class still remains and highlights them all. I want to highlight just the current loaded page and not the others. Here is the script I am working with: $(document).ready(function(){ $("div#header_nav ul li a").click(function(){ //var getTitle = $(this).attr('title'); $('div#contentWrapper').hide('slow',loadContent);
[jQuery] loading quicktime.mov causes strange positioning in IE6?!
Hello, i am working a small site for a friend (http://www.kandulla.com/ animation). I want to load different quicktime movies into a div using jQery. Here is the code I came up with: $('#subNav ul li a').click(function(){ $('#screen').load('movies/start.php', {'term': $ (this).attr('href')}); return false; }); it works beautifully in all browser except for IE6. In IE6 the movie is shown in the top-left-corner of the viewport. I tried loading simple html-files and there IE6 positiones
[jQuery] [validate] Validation Minimized Script
Hello, How is the Minimized version of the validation script file created? What tool is used? Thanks, Miguel
[jQuery] Selecting an element using parent than filter
Hey, I'm trying to select an element to change the background-color property of it, but I fail to select it. The script runs at http://stud.cmd.hro.nl/0794249/portfoliovx/ . In the left column, there are horizontal rules with five blue blocks to the right. When hovering over the second from the left, i want the background of the first block to change to orange as well. So far, I've written this: <script> function rateBlokjes () { $("#primary div.meta ul li.extra div.rateblok") .filter(".1")
[jQuery] two forms with plugins validator
Hi guys :) I have this code: [code] /* For #joinusFastForm */ $.validator.setDefaults({ submitHandler: function() { document.getElementById("joinusFastForm").submit(); //$("#joinusForm").submit(); } }); $().ready(function() { // validate signup form on keyup and submit $("#joinusFastForm").validate({ rules: { site: { required: true, url: true, remote: "/youminiweb/js/action.php" }, category:
[jQuery] About using jquery-1.2.6.js in IE
Dear jQuery group, I'm using jquery-1.2.6 for my webpage, and realized that in IE, nothing on the page would be displayed. I deleted most stuff and realized even the following code won't work: <html> <head> <script type="text/javascript" src="http:// jqueryjs.googlecode.com/files/jquery-1.2.js"/> </head> <body> blablabla </body></html> There will be just a blank page, and if i remove jquery it will display text. Is there any thing I can do with it? would some previous versions of jquery be better
[jQuery] Mediawiki slidetoggle() flat DOM
Hello everybody... I searched this group, but no solution for me in the first view... ;( So... what I need is a way to organize large mediawiki-pages with the possibility to show/hide section-contents. The pages are organized in an absolut flat structure something like <h1>..</h1> sections are organized through ":header" [ ..|<ul>..</ul>|<ol>..</ol>|<pre>..</pre>|<dl>..</dl>]* <h1>..</h1> and so on... This is what I have so far // Some initial hiding and unhiding... All sections are hidden, all :header(s)
[jQuery] Safari 2.0.4 not passing the jQuery test
I'm working on a site and the js is crashing Safari 2.0.4, so I went back to check the compatibility page and it says it's supported. I ran the test page ( http://jquery.com/test/ ) in Safari 2.0.4 multiple times and it crashed EVERY time BUT at different places. So...my question is, is jQuery really compatible with Safari 2.0.4 or should it be taken off the list of compatibility? In which case I'm a little screwed.
[jQuery] Binding Event to Dynamically Created Element (works in FF but not in IE)
I'm in the process of converting standard javascript code to jQuery, it has already save tons of lines of code and make it more manageable. I'm a bit stumped to why this works in FF and not in IE using jQuery bind. -- Snippets -- var BigBox = { init : function () { ... this.loadElements(); ... $('.bigbox_li').bind("dbclick", function(e) {$ (this).addClass("bigbox_li_active")}); }, loadElements : function() { ... var li = document.createElement("li"); li.setAttribute( "id", "li_" + this.nextCount);
[jQuery] Firing callback after $.post?
Hi folks: Does anybody have a nice trick for firing a callback function AFTER $.post has completed it's actions? I have a callback, but it either arrives at the same time or just before the function returns the information to the actual html so it keeps missing it. I've confirmed this is the problem as my callback is enabling other parts of the page as it should Yes, I know I could use the more formal ajax functions...just trying to save the time editing alot of code if it's possible. Thanks
[jQuery] [Treeview] Dynamically adding nodes to the async treeview
Hi all I'm using the async version of the treeview plugin by Jörn Zaefferer. I'd really like the ability to dynamically add nodes to the treeview, but am experiencing some difficulties in doing so. Currently I've managed to get top-level leaf nodes added using the following code: function addNode(cssClass,newName){ var node = $("<li><span class='"+cssClass+"'>"+newName+"</span><ul></ ul></li>").appendTo("#products"); $("#products").treeview({add: node});} where #products is the id
[jQuery] Animation click event in IE7
Hi All, I have a working script that animate as wanted in Firefox but not in IE. I created 4 dialogs on the fly in the script using jQuery core and UI, named "I'm the Demo 0" to "I'm the Demo 3!". In Firefox, all dialogs behave well, but in IE7 only "I'm the Demo 0" appears to be correct. The script is located in http://komputasiawan.com/jquery/dialog2/ and is based on sample in http://www.softdesign.inf.br/jquery/dialog/. What is wrong with the code ? Please advice. Thx, Feris
Simple style switch
<link rel="stylesheet" id="stylechange" type="text/css" href="styles1.css" title="styles1" media="screen" /> <script type="text/javascript"> $(document).ready(function() { $('.styleswitch').click(function() { switchStylestyle(this.getAttribute("rel")); return false; }); }); function switchStylestyle(styleName) { $("#stylechange").attr({ href: styleName+".css"}); } </script> <a href="" rel="styles2" class="styleswitch">style2</a> <a href=""
[jQuery] Animating table rows produce *very* strange results. Any work around?
Hi all, I'm having serious problems trying to animate a table row and have tried loads of work arounds In short, I'm trying to do a self healing transation following the deletion of table content using an Ajax call. So, after the user presses delete, the row shrinks in height and is then removed from the dom. Unfortunately, though, trying to do that produces some incredibily strange results. I've put together a bare bones example on http://favouritethings.com/Scrap/RowTest.html Anyone have any idea
[jQuery] how to select innermost text in an LI?
Hi All, Wondering if anyone can help me out with this... I have a list like this and want to select the "innermost" text from each LI: <li>Item One</li> <li><a href="yadda">Item Two</a></li> <li><div class="something"><a href="ya">Item Three</a></div></li> <li><a href="ya">Item Four</a></li> <li>Item Five</li> I want to be able to perform an operation using each result (the results being "Item One", "Item Two", "Item Three", "Item Four", "Item Five"). If the LI's all have an <a> tag inside of them,
[jQuery] XML Ajax parsing in IE7
Hi All, I'm new to jQuery and using jQuery 1.2.6 right now. I have problem in AJAX parsing XML which has different behavior in IE7 and Firefox. I have 1 html which contain jQuery script and 1 php which is generating XML, they are located in http://www.komputasiawan.com/jquery/index.html and http://www.komputasiawan.com/jquery/generatexml.php. The generatexml.php will output a standard xml result : ------- <?xml version="1.0" encoding="UTF-8" ?> <message> <author>Feris</author> <text>Adios...</text>
[jQuery] embed windows media stream
how to embed a code to show a windows media audio stream using jquery.media ? i just want open the mini player in my page mms://67.205.103.55/radioriel/cfm.asx
[jQuery] jQuery Cycle problem with scrollDown
Hi Guys, I have searched this group to see if anyone is getting the same issue as I have been but after about an hour of searching I did not find anything. I am trying to put a simple slideshow on my homepage of my new website but the effect that I want just does not seem to work for some reason. I have looked through all of my code and made sure that I have included all of the JS files properly (and that they exist on the remote server). I can load the slideshow with other effects, I have also kept
[jQuery] autocomplete plugin not displaying menu
Hi. I'm trying to get the autocomplete plugin working, this one: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ I'm finding that in Mac FF no menu appears at all when I start typing (even though I know there are matches). In Safari a menu appears off to the left of the input field by the edge of the window. Although there is no menu, when I type a few letters and press tab, it completes the word. In both browsers I verified that the plugin's demo page works fine. I checked that
[jQuery] clueTip request: content option
Hi, clueTip currently has a bunch of options but none that allow me to put my own div (without loading it through ajax) as tooltip. Or to put my own text as tooltip.. it needs to fetch everything with ajax. So now i hope that there can be a content option. It would look like: $('#whateverid').cluetip({content: 'This is a tooltip'}); that would show a simple tooltip with the text: 'This is a tooltip' This would really solve all my tooltip problems and is probably suitable for a lot of other people
[jQuery] Table Column "Freeze" and "Reorder"
Hello, I am fairly new to jQuery and have searched this discussion group but have not seen the answer any where. Is there currently a way to use jQuery to do the following: 1. Re-order table columns. Here is a YUI example of what I am referring to. http://developer.yahoo.com/yui/examples/datatable/dt_colshowhide_source.html As you can see a user can drag and drop column to reorder the column of the table. Ideally this would work on the client's side not the server's side. 2. Having the ability to
[jQuery] Replacing elements when validate successful
I'm using the 'Validate' plugin for simple form validation - using 'highlight' and 'unhighlight'. That part is working (though sometimes the label elements disappear totally - but that's another issue). What I'm trying to accomplish is this: When the form is valid, I want to replace the submit button with an animated gif while the form is submitting. From what I've read, I need a submitHandler. I'm a novice at js and even more so with jQuery. Can anyone tell me what's wrong with this code? $(document).ready(function(){
[jQuery] "Loading" splash widget blocking UI until everything is loaded
I have a page with a lot of jquery plugins, and a Google Map When loading the page, it's heavy for the browser so it can take 4-5 seconds before the page is loaded and ready Is there a simple solution to put a loading bar and hide the page, in the blockUI plugin manner, until we are sure everuthing is loaded ? Dominique www.quinode.Fr
[jQuery] ASP JSON 2.0.2 relased
JSON engine of VBScript based ASP server technology, served on it's deficiency of processing speciality. Also there have been like these projects put they had some deficiencies. For instance * find result late * difficult application * don't support full UNICODE * don't compatible with primitive datatypes * don't support to multi dimensional arrays * isn't extendable and iteratable This project solved all these matters. http://code.google.com/p/aspjson
[jQuery] Anyone else having Firefox 3, Firebug and JQuery issues?
I am trying to do simple selections as in $('td') with the latest jQuery library loaded through a bookmarklet in the latest version of firebug 1.2.0b3. No matter what page elements I try and select I keep getting null instead of an array of the desired elements. It worked prior to upgrading to Firefox 3. Here is the bookmarklet I am using: javascript:(function(){var%20s=document.createElement('script');s.setAttribute('src','http://www.mydomain.com/jquery-latest.js');if(typeof%20jQuery!='undefined'){var%20msg='This%20page%20already%20using%20jQuery%20v'+jQuery.fn.jquery;}else{document.getElementsByTagName('head')[0].appendChild(s);var%20msg='This%20page%20is%20now%20jQuerified';}var%20el=document.createElement('div');el.style.position='fixed';el.style.height='30';el.style.width='200';el.style.margin='0%20auto%200%20auto';el.id='jq-kswedberg';el.style.top='0';el.style.left='40%';el.style.padding='5px%2010px%205px%2010px';el.style.backgroundColor='#f99';el.innerHTML=msg;var%20b=document.getElementsByTagName('body')[0];b.appendChild(el);window.setTimeout(function()%20{jQuery('#jq-kswedberg').fadeOut('slow',function(){jQuery(this).remove()});},2500);})();
[jQuery] jQuery Cycle problem with scrollDown
Hi Guys, I have searched this group to see if anyone is getting the same issue as I have been but after about an hour of searching I did not find anything. I am trying to put a simple slideshow on my homepage of my new website but the effect that I want just does not seem to work for some reason. I have looked through all of my code and made sure that I have included all of the JS files properly (and that they exist on the remote server). I can load the slideshow with other effects, I have also kept
[jQuery] superfish v1.3.1 question
Hi Joel, I was hoping you could explain a couple of lines of code to me that you use in superfish v1.3.1. We have found that if we comment out these two lines that it makes things a lot faster. However, we think we have an idea of what these lines do, but aren't sure what the ramifications are if we comment them out. Below is the chunk of code we modified: var $sfHovAr=$('li:has(ul)',this) .applySuperfishHovers(over,out) /* commented out .find('a').each(superfishFocusBlur) for performance
Next Page