JQuery slider does not work in Firefox2.0
Please see below and let me kow why the images r not displayed correctly in Firefox 2.0, it works fine in IE7. <html> <title></title> <head> <STYLE> BODY { BACKGROUND-COLOR: #000000;} .sliderGallery {PADDING:10px; BACKGROUND:#000000; OVERFLOW: hidden; WIDTH: 968px; position:relative; HEIGHT: 238px;} .sliderGallery UL {MARGIN:0px; WHITE-SPACE:nowrap; LIST-STYLE-TYPE: none; POSITION: absolute; } .sliderGallery UL LI {DISPLAY:inline; width:250px; height:200px;} .sliderGallery UL LI a:link, a:visited
[jQuery] Passing this to a function
Can i pass 'this' to a custom function from an event handler eg. $('p').('click',function() { myCustomEvent(this); }); myCustomEvent(ref) { //ref Object or JQuery object ? $.get("path_to_cgi",{name = ref.text()},function(data) { alert("Data : " + data}); }
[jQuery] [clueTip plugin 0.9.6] The CSS will not show at the first time of mouse over
Hi pros! (Sorry for my bad english. I'm from Germany.) This is my first project with jQuery. It's cool but hard to understand for me. I'm (just) a designer. The problem is that nothing happens when I move over the images with the mouse. At the second time the clueTip appears. BUT somtimes with the correct stylesheet and sometimes without the style. Just the text appears over the content. It locks very unprofessional :-( -- Has anyone a good idea? You will find the site here: http://bizlernsol.com/business_learning_solution.php
[jQuery] getJSON Callback not firing
Hey folks, I'm trying to work on some cross-site stuff, and I'm using JSON between the domains to transfer the data. In my below code, the code fires the .getJSON, and I can see the JSON in my firebug scripts tag, but the callback is not getting fired: LoadContent = $.klass({ initialize: function(options){ $loadingarea = this.element; console.log($loadingarea) $.getJSON(options.url,{q:'nfp/front'}, function(data){ console.log(data); }); } }); $(document).ready(function(){ $('#loading-area-container').attach(LoadContent,
[jQuery] old tablesorter works, new one doesn't
I inherited an app with a lot of tablesorter implementations, but wanted the zebra functionality -- alternating css-styled rows -- so i upgraded. Now I'm getting Error: $("#writer-table").tableSorter is not a function If I revert to the jquery.tablesorter.js file that I inherited (not sure what version, but at least 6 mos. old), it works but no zebra functionality.
[jQuery] jQuery Ajax content
Hi, iam loading with the jQuery Tab UI in touch with the ajax function, remote dynamic content. After jQuery has load the content, i would like to use jQuery over again in my template. But , i cant use jQuery again in ajax loaded content ... ! Is there a way to solve this problem? vince
[jQuery] Accessing an iframe after fileupload
I am having the devil’s own business trying to access the contents of an iframe which is used as a target for a file upload. In a php file called AJAXaddFile.php, I have the form etc - as you can see it handles the return itself: <form action="<?php echo $_SERVER['PHP_SELF'] . '?' . $_SERVER['QUERY_STRING'] ?>" id="AJAXaddFile" method="post" enctype="multipart/form-data" target="form_iframe"> .... <input type="submit" value="Upload file" name="submit" id="aafSubmit" style="background-color:#2C5E9B;
[jQuery] autocomplete
A follow up to my last post. I was interpreting the fomatting options (I found the list of options!) wrongly. I had to do the processing of the list items in the server-side script in a better way and then it all works. No formatting options needed for returning the right results.
jQuery ui tabs crashes in IE 6 & 7
Hi I have a site I am working on http://lx0.taylor-ch.co.uk/index.php/en ... ental-1280 The tabs work on FF fine, but in IE 6 & 7 the last one (More Info) at best crashes the browser, and at worst the whole PC! Can some one help? I don't see why it would to this on one tab. Ash
[jQuery] autocomplete
I have been experimenting with the autocomplete plugin. It is great. Loading data from a database once and then using it works just fine. In my setup the html file calls a database query and returns a comma seperated string. The string is then split up and any typing in the street input textbox shows the results in kind of like a selectbox under it. The results are seperatedly selectable. Works fine. I use the autocomplete.css, bgiframe.js, dimensions.js, and autocomplete.js files. I do it like this:
jTip help!!
Hi! I am very new to jQuery, and I need help! I am trying to make jTip work the way i want. I found this http://15daysofjquery.com/jquery-tooltips/21/ and from that I made this http://www.visual-astma.dk/js/ And with a few modification I almost got it working the way I want... But what do I want? Yes, I want a "tooltip" that you can move the mouse over and when the mouse leaves the tooltip it fades out. This part works! Hurray! But when you leave the link without touching the tooltip, the tooltip
Non-Modal Slideshow
I'm looking for a jQuery slideshow plugin, and I can't seem to find one that does exactly what I need. Cycle and jCarousel come close. But my problem is I have multiple galleries on one page, and they all have large images. So, since they load all the images in every gallery and then hide them, the page totals over 4000KB. I'm looking for a non-modal, no thumbs gallery. The first image of the gallery should be visible on page load, and the prev/next images should only load as needed—something like
problem with jquery.hide
Hi, I'm trying to hide some content using an animated hide. I notice that during the animation jquery sets the overflow to hidden to ensure that contents do not overflow the container during the animation. In my case this does not appear to be working because the contents are spilling out over the confines of the container during the animation. I don't believe this is actually a jquery bug because it works fine when I write a simple test. I believe it might be an IE bug and was wandering if anyone
[jQuery] nyromodal and livequery
Hey there, I just checked out nyromodal, and it looks pretty cool. I just wanted to know if it was possible to use it with livequery, so that i can use it after an ajax request. ie i do a search and the results of that search are put into the #content container. then I would like to be able to click a link in that and set it up with a nyromodal. thanks for any help.
[jQuery] Dynamically Filter List
Hi... so I'm new to jQuery. I'm using it to dynamically filter a list... I'm wondering if this is the best/most efficient method to go about doing it: <html> <head> <title>jquery test</title> <script type="text/javascript" src="js/jquery-1.2.3.min.js"></ script> <script type="text/javascript"> $(document).ready(function() { var arr = ['C+ +','D','HTML','CSS','C#','PHP','Python','XML','JavaScript','Photoshop']; for(i=0; i<arr.length; ++i) { $('#list').append('<li>'+arr[i]+'</li>'); } $('[@name=filter]').keyup(function()
[jQuery] Any plugin like this one, double select boxes ???
Hi Guys, i am looking for an functionality in jquery. some thing like this one. Sometimes we see two big text boxes with values, one on the left side other one is on the right side and there is two arrow buttons ( faced towards left and right ) in the center of both of them with the help of those (buttons) we can move the values from one text box to other. Is there any plugin for such kind of functionality in Jquery ? Please let me know. Thanks !!
[jQuery] sortable: drag list items by custom handle
Hi there, I am using $("#myList").sortable({}); to "sortable-ize" a ul list. All works fine, however the entire "li" element responds to dragging and I want the "li" elements to be draggable only by using a custom handle like this: <li id="list_1"> some content here <div class="custom_handle">MY HANDLE</div> </li> Any ideas? Thank you! emi
[jQuery] thickbox + more jquery issue
I am using thickbox in a web site. I am having trouble getting jquery to work inside of the thickbox that is displayed. Basically, all I am trying to do inside the thickbox popup is have a rollover image. I cannot get jquery to work inside the thickbox, not even the alert('test') function. Should this normally be working or do I need to rebind the DOM or something kooky like that?
Loading content over content/div over div?
I was wondering how I would go about if I had a navigation with a few links, and when the user clicked a link, content would either load in a div, or the div would slide in and the content would fade in. However, I'm having trouble as to how I would make it so that when a user clicks on another link, the previously loaded content had an exit animation or was removed before the new content was loaded. What syntax should I be looking at to become familiar with putting this together?
accordion kills nested div overflow:auto or overflow:scroll
Hi again, More accordion woes. Here's the scenario: I have a large amount of information held within an accordion structure. Basically within each accordion layer i have a list of documents and information. This list is 20-30 items long. The list has been given a specific height and width value and the overflow has been set to auto, so that the full list is accessible via a scroll. I built the layout and structure first, and it was all working very well, including the overflow scroll, until i activated
1 text block into 2 columns?
Hi, Does anybody know if it's possible to write text in one div and jquery is transforming the 1 column text block into 2 columns automatically? Thanks T.C.
activate accordian with a variable
Hi folks! Hope you can give me some pointers here: I have my accordion running smoothly, but what I want to do is activate a section of the accordian via a url parameter. Using the variable name does not work eg ... //simpliied, get the parameter from querystring using getUrlParam var docID = $(document).getUrlParam("docID"); ... // then want to use it here $('#matrix').accordion("activate", docID) //instead of $('#matrix').accordion("activate", 2)
[jQuery] MM_preloadImages
My images are loading too slow. I have 5. They are less that 50k each. Can I preload the first image and then load 2-5? CODE: function loadBanner() { bC = bannerCount(); if (bC > 0) { sponsor = getCookie("bannerIndex", bC, 1); var banner = "\'banner" + sponsor + "\'"; var numberBar = "\'numberBar" + sponsor + "\'"; max = bC; MM_preloadImages(); setTimeout('MM_effectAppearFade(' + banner + ', 1000, 0, 100, false)', 1000); document.getElementById('banner' + sponsor).style.display='block'; if (document.getElementById('numberBar'
[jQuery] requesting and sending JSON in a ruby on rails app
Hi - first of all this is a plugin-specific question (about treeview) - i sent it to the plugin discussion page but it seems pretty dead (no posts for over a year), so i'm sending it here as well. If anyone could help me out that would be fantastic. I've been using treeview and have no problems with it so far. However, to get better performance i'm now trying to switch to the asynchronous version: http://jquery.bassistance.de/treeview/demo/async.html In the example they use php to return some json
[jQuery] Best way to do Lightbox-like modal windows?
Hello! What's the best way to do a Lightbox-like modal windows? jqModal? Facebox? Thickbox? There are so many options out there, so many of them look so bloated and really getting confused. Maybe you guys with experience and all could show me the right way? I'm looking for the simplest, most elegant alternative where I can do stuff like newsletter signups, logins, etc. Much obliged, Kyrre
[jQuery] BlockUI displayBox() thickbox alternative?
I really dug the displayBox() thickbox from BlockUI v1.33, but it's been removed in the latest version. Thickbox implementations that have animation, and that require css and image files are much too heavy for my taste. Anyone know of an ultra-lightweight thickbox implementation to replace displayBox? I've gone through the plugin list on the jQuery site, and nothing fits the bill. No images, no css files, no close button (just esc. and clicking outside the box). Thanks. - whiteinge .. [1] http://www.malsup.com/jquery/block/index-old.html#displaybox
[jQuery] jQuery AJAX IE Error
The offending jQuery code: $.ajax({ type: "POST", url: "/?ct=rating&rt_v=rr&rt_rk=" + markerObject.number, dataType: "html", success: function(dataSet) { var status = $("status", dataSet).text(); if (status == "ERROR") { The error IE gives: Line: 173 Character: 6 Code: 0 Error Message: 'undefined' is null or not an object Line 173 is: if (status == "ERROR") { This code works just fine
[jQuery] Static List - Move Item Up or Down
Contributors have moved items in the order they wish to display on the page but the page displays the items in random order. I have four columns of content: Parent, Description, Image, and Title... the order should be based on the Title. What am I missing? <!--SS_BEGIN_OPENREGIONMARKER(region3)--><!--$ SS_REGIONID="region3" --
[jQuery] How to trigger my modal window after 30 seconds?
Please excuse me, I'm a bit new to all of this. I'm trying to use jqModal for my Lightbox-like newsletter signup. Right now it's being triggered by a link. Instead, how do I trigger it after 30 seconds? It would also be cool if I could make it not bother the same user more than once... maybe a cookie or something? Here's what I have so far, example 2 from http://dev.iceburg.net/jquery/jqModal/ -- $().ready(function() { $('#ex2').jqm({ajax: 'examples/2.html', trigger: 'a.ex2trigger'}); }); -- <a href="#"
[jQuery] simplemodal and datepicker
Hi, I want to enable datepicker in the modal window that opens...datepicker works fine for itself but i cannot get it to work in modal. Any ideas? Modal window is loaded through ajax...
[jQuery] Error $.ajax on IE
Hi People! This my code, sorry my stupid english! rs.. $.ajax({ contentType: 'application/x-www-form-urlencoded; charset=UTF-8', url: "cad_produto.do.php", type: "post", data: dados, success: function(msg) { $('#busca').html(msg); } }); I don't understand because it does not work in IE. In Firefox works normally. The error is reported: "Object Required" on the line that does not exist.
[jQuery] The $(xxx).load(url,param,callback) may have a bug
You can see the example below, do you know what will be alerted? //////////////////////////////////////// <html> <head> <script type="text/javascript" src="http://code.jquery.com/ nightlies/jquery-nightly.js"></script> <script type="text/javascript"> function callback(args) { alert(typeof args) } function f1() { $('#parent').load('jq.html', null, callback) } </script> </head> <body> <a href="#" onclick="f1()">Go</a> <div id="parent"> </div> </body> </html> ////////////////////////////////////////////////////////////////////////
[jQuery] [validate] Jquery validation plugin and FCKeditor
Hello, I am trying to validate an FCKeditor textarea with the validation plugin. FCKeditor apparently holds it's input in memory until the form is submitted. Is there a way to do an onkeyup validation of this input before the form is submitted? Thanks in advance!
[jQuery] unbinding, livequery or other way to cancel an ajax retrieved form or remove form from DOM?
Hi All, I'm building a site with lots of ajax retrieved forms, and have finally realized why I'm seeing tons of errors (I think). On the site, if you select an input which gets an ajax form, I add a 'cancel' button to the form which will hide the form if the user decides not to take that action. However, if the user then decides to go back and fill out that form later, when they submit the form, it submits twice once without any parameters, but that may be of no consequence if it only submits for
[jQuery] Trac macro for clueTip?
Since it looks like the jQuery developers use Trac for their project tracking, I was wondering if anyone had produced a Trac macro for clueTip? I like the look of clueTip tooltips and would love to use them in my own Trac wiki pages. Trac already uses jQuery so hopefully this wouldn't be too hard. Has anyone already done the work on putting together a Trac macro? Thanks for any leads!
[jQuery] JQuery Form Plugin returns nothing in Opera
I've got a form that uploads a file. It's an AJAX form, initialized by the following code: $(document).ready( function() { $('#filer').ajaxForm( { target: '#vars', beforeSubmit: function(formData, jqForm, options) { alert('sending'); }, success: function(responseText, statusText) { alert(responseText); } }); }); an the form is: <form id='filer' name='filer' action='catcher.php' method='post' enctype='multipart/form-data'> <input type='file' name='upload'> <input type='submit' value='Load'> </form>
[jQuery] SELECTOR MADNESS! How To Grab Lowest Child Node's Text?!
Last week I had a question on how to traverse the DOM and find all elements that had some text (p, a, li, h1, etc.) so I could manipulate it with Google's translation API. Well with some help from the community I was able to accomplish this feat. http://groups.google.com/group/jquery-en/browse_thread/thread/c63da32785cc9be4/a357018b128506d9#a357018b128506d9 However, I have a bigger problem. Now, when I grab the all proper elements: $a = $(' #container > * ').contents(); And parse thru them to find
[jQuery] [tooltip] Help creating tooltips for several objects
Hello. I have a problem with the tooltip plugin. I have several dynamicaly created images, with different id's and classes; the same goes for DIVs that i will use to fill the contents for the tooltip, here's the code (i'm using PHP): echo '<img border="0" class="tooltip '.$filterKey.'" id="img-'. $filterKey.'" style="vertical-align:bottom;" src="'.$this->settings-
[jQuery] Innerfade Crashing Safari 2.0.4
Hello, I'm having a problem with the innerfade plug-in crashing Safari 2.0.4. It's working fine in all newer browsers with this one exception. As luck would have it, my client is using this version of Safari. In addition to innerfade, I'm using the Perciformes drop down plug-in. I tried running innerfade on it's own and it still crashed the browser. I'd greatly appreciate any input. Regards
[jQuery] TableSorter + Filtering + Ajax
Hi, I am using the tablesorter pluging http://tablesorter.com/ and it works fine for smallish tables. However, I need to page through large result sets (and filter them) - so I am going to use AJAX to repopulate the table once the options have been selected. Now, if through filtering / whetever - less than 100 rows are returned, then I want tablesorter to just sort the table (without having to make an AJAX call) To do this I want to edit the tablesorter plugin to call a function which returns true/false
Next Page