[jQuery] DOM manipulation white space issues
I am experiencing spacing issues with my divs that is apparently fixed when I delete white space between DIV's using firebug. is there a CSS way around this? do we need a trim functionality added to append() and such?
[jQuery] Sortables issue that should be (relatively) easy
Hi all, Am trying to get my head around an issue here with sortables and dragging new items onto a sortable. Here is a page I set up as a test, an earlier thread I saw through searching this group said it was possible to add a draggable to a sortable. How can I do that? I have tried adding sortables and droppables dynamically onDrop events etc, but have not been able to do this.... http://littleblog.net/jquery_sortables/new4.htm Here is the set up. Users have many activities to choose from. So they
[jQuery] Cropping image function
My cropping image function works somehow but I've still some questions $.fn.cropImage = function (minW, minH) I've change the parameters to be minmal values, image won't be cropped smaller. Yet how do I specify default values so cropImage can be called without parameters or with just one? if (!$(this)) return; How do I test "$(this)" against "undefined"? var w = $(this).attr('width'); var h = $(this).attr('height'); How can I get the original width/height instead of the actuall width/ heigth? Currently
[jQuery] looking for plugin: column hider
wasn't there a plugin that could hide table columns? what is it called?
[jQuery] fadeOut() and relatively positioned images?
Trying to fade out a div, but the fade effect is not being applied (div just disappears): <div id="content"> <div id="flags" style="position:relative"> <img src="flagUS.gif" style="width:55px; height:51px; position:relative; top:160px; left:-150px; z-index:10" /> <img src="flagUK.gif" style="width:58px; height:51px; position:relative; top:160px; left:-130px; z-index:20" /> </div> </div> $('#flags').fadeOut('slow'); Any ideas? Adam
[jQuery] jQuery and EXT not working at all
I know this might concern Ext as much as jquery, but since most ext-users at their forums are still propably using YUI and the problems I seem to have look specific to the jQuery-port of ext, I posted this here. If anyone else has had any experience with jQuery and ext yet, please speak up :) So... Jack's EXT 1.0 finally came out so I decided to give it a bang. I've been really waiting to get my hands on those beautiful widgets for quite a while, and since it's (supposed to be?) jQuery -compatible
[jQuery] I hope jQuery develope a plugin just like this website(http://www.scbr.com/docs/products/dhtmlxTreeGrid/index.shtml)
I hope jQuery develope a plugin just like this website(http:// www.scbr.com/docs/products/dhtmlxTreeGrid/index.shtml)
[jQuery] tableSorter and ajaxSubmit issue
Hello, My problem so far is to use it in conjunction with an ajaxSubmit (jquery.form plug-in) which build the table on the fly. Where and when do I need to fire tableSorter in the process ? The closer I have been is in the code below by firing tableSorter twice: once before building the table and once after. But sorting the table by any column is working only the first time. Subsequent requests result in a table which is sortable on firdt column only. Any Idea ? Thank you and have a good day, Olivier.
[jQuery] Why does my ajax call fail ? (when it is called the second time) ??
Hi Guys, i have following problem: i have a div (#lineups) that is updated but fails for an second update, fired by the same event. jQuery('div.playerContainer').Droppable({ accept: 'player', tolerance: 'intersect', onDrop: function(drag){ jQuery.ajax({ type: 'POST', dataType: 'html', url : '".url_for('coaching/setposition')."', data: 'position='+this.parentNode.id+'&player='+drag.id +'&formation='+".$formation['id'].", success: function(data){ jQuery('div#lineups').html(data); // <=== this fails
[jQuery] ImageBox Issue
So I'm working with the new ImageBox "LightBox" plugin and I've noticed a quirk in FF 2.0.0.3. When an image comes up and I click on the Next or Previous button, I see a line drawn right down the center of the image. To see what I'm talking about, go here: http://www.intoajax.com/lb/ Click on the moon image and put the mouse towards the right-side of the picture that popups. You should see a "Next Image" label appear. Click on the label and hold down the mouse. You should see what I mean. Any ideas
[jQuery] Finding id of "this"
I apologize if this solution is posted, but I searched and trying to get through hundreds of results is a bit painful. So I have these titles: Create Reminder, Create Hold Status, Change State. I want to bind a click event to all of them which will toggle the show/hide attribute of a corresponding div. So I have this: $(function(){ $(this).find('a.reminder').click(function(){ $(this).toggle(); $(this).blur(); return false; });//end click }); However, in this function I'm toggling the title link itself,
[jQuery] Why is IE messing with my mind?
Hi, On PC IE (v. 7.0) only, I'm getting a JS error on line 9, saying "Error: Expected identifier string, or number." Here's the code function slideIn(id) { hideAllSubNavs(); if (IsHidden(id)) toggleDiv(id); $('#' + id).animate( { left: 0, }, // line 9 "normal" ); } // slideIn This, of course, works fine on Firefox. Could someone tell me how to heal the pain on IE? Thanks, - Dave
[jQuery] Making plug-ins safe for other libraries
I would like to use the jtip plug-in by Cody Lindley and modified by Jack Born: http://15daysofjquery.com/examples/jqueryTooltips/js/jtip2.js but it appears that it's not using the "safe" method. What do I need to modify in the file so that it will work with other libraries? Thanks.
[jQuery] ext dialog and form
Hey guys, I'm trying to use extjs to replace all the popup windows in my system (currently using thickbox) to change pref, add members etc'. i managed to create the window, managed to create the forum (well, srota), but i can't seem to "submit" the form and hide the dialog. I've created the dialog, and set the submit button to run the function submitDLG: dialog.addButton('Submit', sebmitDLG, dialog); now, in submitDLG i can't quite get how I proccess the forum, i used to use the fastSerialize function,
[jQuery] question about DOM manipulation
I have a problem or say a question that often bother me. Say I use a function to animate certain elements with default parameters. At some point I inject some parameter values other than default. Now what happens is that the animations gets added to the one started before on the same elements by previous call. I want to cancel the previous animation so that the DOM has this animation running with present parameters. You can have a look here http://www.joomlaprodigy.com/test/index.php?option=com_content&task=section&id=1&Itemid=2
[jQuery] Selecting all but first-child
Hi all, What is the more elegant way to select all but first-child of a set of elements ? I tried $("div.myclass:not(first-child)").css("do", "stuff"); whithout success -- Fabien Meghazi Website: http://www.amigrave.com Email: agr@amigrave.com IM: amigrave@gmail.com
[jQuery] Alternative way of reacting to clicked link?
Hi, I have a page with about 12000 links in it. A few of these links point to anchors on the same page. A function should be called when those "intra page" links are clicked. $("a[@href*=#]").click(...) seems to be too slow for some browsers on some machines if 12000 links need to be filtered. I hoped that $(window).click(...) could give me the possibility to handle the new window.location on-the-fly but unfortunately my bound function is called before the browser jumps to the anchor, so that window.location
[jQuery] vertical fisheye menu?
Is there a way to set up a fisheye menu with a vertical orientation instead of horizontal? http://interface.eyecon.ro/demos/fisheye.html I haven't toyed with this, but vertical would float my boat better than horizontal, besides MAC's cornered the market on the horizontal fisheye nav. This is the only implementation I've found so far, that is a jquery version. The documentation is here, but it doesn't say much: http://interface.eyecon.ro/docs/fisheye I might give it a whirl. I've got some big image
[jQuery] Test
test -- BrightLight Development, LLC. 954-775-1111 (o) 954-600-2726 (c) rey@iambright.com http://www.iambright.com
[jQuery] WYMEditor just released as jQuery plugin
For anyone out there developing CMS's you may have heard of the What You Mean editor. It's latest (alpha 0.3) release has seen it converted to a jQuery plugin making it very quick and easy to drop in to your own CMS. http://www.wymeditor.org/en/
[jQuery] how to show the loading image during image loading
Hi; I got an image like this <img id="myImage" src="flower.jpg" /> the src of this image will be changed by dynamically via ajax response During AJAX response and after getting the new src of image, I need to show the loading image instead of orjinal image.Problem is that when new image is bigger,it gets time so loading image disappears but new image not yet loaded... How can I handle this? tHanks...
[jQuery] $('#div').hide(); - ?
Some time off from jQuery, and it seems I'm just broken. Why can't I get this hide() to work? <div id="content"> <div id="language> ...some flag images... </div> </div> $('#langauge').hide(); // $("#language") has no properties $('language').hide(); // $("language").hide is not a function Adam
[jQuery] Interface Slider - Clicks don't trigger onChange event
Hi all, Is anybody else experiencing this? With the Interface "Slider" plugin, clicking somewhere on the slider, rather than dragging the handle, does NOT cause the onChange function to be run. The onSlide function is called under the same circumstances, but I need to run code only once the user has finished moving the slider. Cheers Simon
[jQuery] selecting multiple ids at once
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> <META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD> <BODY> <DIV><FONT face=Arial size=2><SPAN class=421162911-24042007>hello!</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=421162911-24042007></SPAN></FONT> </DIV> <DIV><FONT face=Arial size=2><SPAN class=421162911-24042007>Hopefully a simple question, for which i did not find the answer
[jQuery] Preview of my new website
Hi all, Here's a video preview of the new version of Cyberscore which I'm hoping to launch in the summer: http://www.cyberscore.net/cs4/cs4.wmv It's a 21mb WMV file about 12 minutes in length with professional (arf!) narration by yours truly. jQuery is going to be used quite heavily throughout and that's why I'm linking this here, so people can see what I'm doing with it already - and I'm not finished yet! Listen out for the namecheck partway through as well :) Hope you like it - the feedback on
[jQuery] Interface.$recallDroppable();
Hi All, some one kno if there are problem using $recallDroppable(); using div??? Thanx for all faz
[jQuery] Ajax loading problem (IE7)
Hi all, This is a strange one and it's driving me mad. I've been tasked with creating an interactive presentation for a website my company is developing, and I've been using jQuery throughout (we already use it to great effect on the rest of the site). We're also using the Interface plugin to give us some more nice animations. Most of the functionality for this was fleshed out on Friday - at that time, it worked perfectly in IE7, but broke horribly in Firefox whenever you tried to drag anything.
[jQuery] IE not executing JS loaded on the fly
Hi, I have this code // loads modules for the selected tab. function loadAllModules() { $.get('draw_modules.php', {}, function(data){ $("#container").empty().append(data); }); } The page "draw_modules.php" creates some HTML and also some Javascript. The HTML gets loaded fine, but the JS doesn't get executed on PC IE 7. The JS is stuff like: document.getElementById('ce10').checked = true; What is a better way of running the JS on IE? If my question doesn't make sense, please let me know what else
[jQuery] How to make a methode in jQuery
Sorry my question might be rather basic stuff but none of the tutorials, sample code or API description helps me solving my question. I've a function cropImage which I'd like to use as a methode. What's the correct syntax for function cropImage () { ... $(this).css ({width:w, height:h}); } function resizeImage() { $('img.picture:visible').cropImage()); } $(window).bind('resize', resizeImage).trigger('resize'); Source is at http://www.orpatec.ch/index.php=gallery.php O. Wyss
[jQuery] DOM traversal: changing XHTML attributes w/ jquery???
hey all, wondering if anyone could help with this... i have two jquery functions that act independently on two separate columns of text in my webpage. $(document).ready(function() { $("#articles .view_more").toggle(function() { $("#articles .bullet_text").addClass("bullet_text_go"); } , function() { $("#articles .bullet_text").removeClass("bullet_text_go"); } ); } ); $(document).ready(function() { $("#comments .view_more").toggle(function() { $ ("#comments .bullet_text").addClass("bullet_text_go").slideDown('slow');
[jQuery] Why is "getScript" not working?
Hi, For some reason, my call to "getScript" isn't working. I'm calling $.getScript("draw_modules_script.php", function(){ alert("Script loaded and executed."); }); The alert statement is never called. I have verified the file name is correct and even tried specifying the full path (using http://). The script is probably causing a JS error, but how do I get what that error is? (No JS errors appear in Firefox). Thanks, - Dave
[jQuery] parent/parents - children/?
I know this is for Dev, but I have not been approved for that list yet... parent() - returns one level up parents() - returns multiple levels up children() - returns one level down ? - returns multiple levels down Q: is this a missing feature or is there a reason to not have a function in place of the '?'
[jQuery] what's the best way to catch malformed xml in an ajax call?
I use the error callback, but it doesn't get called back when the xml is malformed. Do I need to use the complete callback??<br clear="all"> -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Blink effect
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> <META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=453292320-23042007><FONT face=Arial size=2>hi,</FONT></SPAN></DIV> <DIV><SPAN class=453292320-23042007><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=453292320-23042007><FONT face=Arial size=2>i've been playing with the effects built in jquery and had a lot
[jQuery] Browser Dom Performance
Lately I have been crazy about jquery. Maybe I abused a little but, I made an experience wich consisted in replacing all my css rules(well, some basic css understandable for ie6 ) for more intelligent 'styling rules' expressed with jquery. Wow, I had a PORTABLE intelligent style engine. But oups, even with some wise reuse of nodeset, when my page started to grow, performance went down. Nothing critical but 2,3,4 seconds just for jquery processing (on top of all the database access) is too much since
[jQuery] Show()/Hide() Bug?
Source HTML file: ------------------------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/ TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Show/Hide Test</title> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript"> <!-- $(document).ready(function(){ $('p').hide('fast', function() {$(this).show('fast')}); }); //--> </script> </head> <body> Test text </body> </html> After loading in browser I
[jQuery] JavaScript Inclusion
Hi all, I'm just getting started working with jQuery but have been impressed thus far by its capabilities. Here is my problem: I'm developing a Java application utilizing Struts and tiles which has a main "layout" page that includes separate .jsp files for sub-pages. I've been able to create a standalone working example utilizing jQuery in a single .jsp but when I attempt to incorporate it into my project it locks up the entire application. Is there an issue with tiles that I'm not aware of? Do all
[jQuery] How to Trigger link , without click event
I tried to used your plugin 'jqModal' and run 'Example 3a'. http://dev.iceburg.net/jquery/jqModal/ How to 'trigger' the function without 'click' it on view(link) ?? for example, i have condition(php) that have to call/trigger the function like : <? if ($i==1) { ..... a href="#" id="ex3aTrigger" } ?> Thanks in advance -- View this message in context: http://www.nabble.com/How-to-Trigger-link-%2C-without-click-event-tf3588041s15494.html#a10026998 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] iUtil has no properties??
Hi! I'm using Interface and Thickbox plugin for clientside image resizing and when trying to resize image i'm getting an error: *Error: jQuery.iUtil has no properties* Script was already working and suddenly stopped. I got back to the last working version and the error didn't disappear! Enyone knows what could couse the problem? regards, Adam
[jQuery] jVariations = new plug-in/tool
jVariations is a developer tool that generates a control panel (with checkboxes and radio buttons) to show and hide variations (aka corner cases) in a single HTML template. Why? When providing HTML templates to server-side engineers I got tired of having separate files to show variations... think error messages, alternative messaging, varying number of tab sets, etc. Using jVariations, you can provide simple variations in one file and use the convenient control panel to toggle visibility. <<a href="http://cherne.net/brian/resources/jquery.variations.html">http://cherne.net/brian/resources/jquery.variations.html</a>>
Next Page