[jQuery] Recommended way to overload jquery method?
I want to overload some core jQuery method, e.g. trim() method any codes sample or recommendation to do this? thanks.
[jQuery] Some editor like FCKeditor for Images
I am using FCKeditor. Now I need to add a photo gallery with some image edit methods (rotate, crop, resize). Any ones know any editor similar to FCKeditor for images? Moreover... I need to implement a Diary (like outllook) any ones know some one in order to be integrted in my web app? Thanks in advanced.
[jQuery] Central jQuery Plugin Database
Hi, I visited the mootools webpage yesterday and found their download tool. While this makes no sense for jQuery it's probably a good idea for the jQuery plugins. The plugin Wiki Page is really, really big and if Plugins depend on each other it's not so easy to find the dependencies. What about adding a mootools like download page for the plugins that resolves dependencies automatically and creates one jQueryPlugins.js file out of the selection. Regards, Armin
[jQuery] tickbox close window
hey. im using thickbox and i want that after some proceeses its will close the window without user needs to click ive tried to print out somthing like <script> parent.TB_remove(); </script> its not working... how its can be done right? -- View this message in context: http://www.nabble.com/tickbox-close-window-tf3664867s15494.html#a10240106 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] Difference of $.getJSON versus $get
What's the difference of $.getJSON versus $.get? I currently use $.getJSON to load JSON data but I can't see any advantages. Is $.getJSON just another way for $.ajax({ type: "GET", url: "link name", dataType: "json", complete: "function name" }) or is the callback excuted only when "success"? What means "data" in the POST case? How could I access this data on the server, e.g. in PHP? O. Wyss
[jQuery] Replacing the contents of a div that uses newsticker plug-in
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi there,<DIV>I've got a simple page that uses the newsticker plug-in (<A href="http://www.texotela.co.uk/code/jquery/newsticker/">http://www.texotela.co.uk/code/jquery/newsticker/</A>), as follows:-</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><B><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<A href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</A>"></B></DIV><DIV><B><html
[jQuery] newsticker plugin updated
I've updated my news ticker plugin with some bug fixes and added a few more examples of how to use it: http://www.texotela.co.uk/code/jquery/newsticker/
[jQuery] How to test if an event is already bound to an object ?
Hello, I want to add a default javascript function to all my internal links that DON'T already have a behaviour. If i do : jQuery("a[@href^=/]").bind("click",function(){ //jQuery("#main").empty().append("Loading...").load ("/test"); jQuery("#main").load ("/xajax/"+this.pathname,{},function() {this.style.opacity="1";}).fadeTo("slow",0.1); return false; }); (it replaces all the "normal" links by an ajax call) Then it applies it also to links that have already a javascript event to it. Is it possible
[jQuery] simple fade in jqeury
my idea. **************** content = klik= fade out new **************** ''''''''''''''' new () '''''''''' oke,plz withd html
[jQuery] ErrorMsg: 'Permission denied to call method XMLHttpRequest.open'
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;}
[jQuery] hover with unordered list
I'm tryin to do a hover effect for a using a unordered list....this is what my code looks like: <script> $("#categories > li").hover(function(){ alert("the mouse is over"); },function(){ alert("the mouse is out"); }); </script> <div id="categories"> <ul> <li>Category 1</li> <li>Category 2</li> <li>Category 3</li> <li>Category 4</li> <li>Category 5</li> </ul> </div> i've tried different variations for selecting the element including $("#categories > ul > li"), but nothing is happening.
[jQuery] Integrating JQeury with other library
Halo, To many of us, jquery is a swiss army knife rather than complex js library such as dojo or yui. But sometimes, we really want to integrate jquery into our existing library in used, e.g. YUI or home-made library But we want jquery to under a specific namespace, such as YAHOO.util.jquery... something like that... Is it possible? Howa
[jQuery] TreeMenu plugin and i frame
i need somehow to make that onclick on a tree item it will open iframe and able to close it once action inside the frame is fired and return success flag i tried to mess with it and i think that is not possible anyone has success to do it? -- View this message in context: http://www.nabble.com/TreeMenu-plugin-and-i-frame-tf3665805s15494.html#a10242712 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] Is it possible to chain this?
Hi guys, I was wondering about the following code and if it's possible to chain it. At the moment it works fine as is, I'm just curious if it is possible. My original code: $('#greyLink').click(function(){ var getLink = $(this).prev().prev().attr("href"); return getLink.slice(getLink.indexOf("r=")+2, getLink.indexOf("&tp")); }); what I've tried: $('#greyLink').click(function(){ return $(this).prev().prev().attr("href")[0].slice(this.indexOf("r=") +2, this.indexOf("&tp")); }); & $('#greyLink').click(function(){
[jQuery] Determining when an image is fully loaded
I load images with $('#pictures').html('<img src="'+files[pos]+'" id="file'+pos+'" class="picture">'); and want to save the loaded width,height afterwards. It seems this is only possible after the image is fully loaded. Is there an event which I could bind a function? O. Wyss
[jQuery] history in ajax and setting the ajax url
Hello, I want to have an application that works both with and without ajax. Eg: without ajax, I get /contentWithMenu and with ajax I .load / contentonly into #content jQuery("a[@href^=/]").bind("click",function(){ jQuery("#main").load ("/xajax/"+this.pathname,{},function() {this.style.opacity="1";}).fadeTo("slow",0.1); return false; }); I want to add that call to the history, so back and bookmarks work. I'm looking at http://www.stilbuero.de/jquery/history/ and I don't find a way to have separate
[jQuery] Newbie -- How to retrieve img src value in function?
I am using jquery 1.1.2, interface 1.2, working with drag/drop. When user drops an image onto the drop area, I want to retrieve the src value, so that eventually I can send that value to the server and do some Ajax stuff. But so far, in my code below, I have only gotten this to work: var thePhoto = drag.innerHTML; That returns <img src="static/galleries/JQm49CWi09/_t/ lilly01_fuy.jpg"> How can I just get the src string? // The code <script type="text/javascript"> $(document).ready( function() { $('#drag').Draggable(
[jQuery] Repeated quick clicks mess up my code..please help
jQuery.noConflict() var ppdelay = <?php echo $ppdelay; ?>; var newsitems; var curritem=0; var iPause=0; var tbtype; var indicdelay = ppdelay-3000; jQuery(document).ready(function(){ jQuery("#imagebx").css("display","block"); var tickerSelector = "#imagebx .imageitem"; newsitems = jQuery(tickerSelector).hide().hover( function(){ jQuery(this).addClass("hovered"); iPause=1; }, function(){ jQuery(this).removeClass("hovered"); iPause=0; } ).filter(":eq(0)").show().add(tickerSelector).size(); //jQuery("#indic").animate({opacity:
[jQuery] Repeated quick clicks mess up my code..please help
I used the code posted by Mr. Sean on this group and a working example is at this url http://www.levelfield.com/ticker.html. Thanks Sean and all who helped him develop further. I added few lines to this code to make something like Yahoo movie home page module. It works nicely but I have noticed that on repeated clicks on the navigation it seems like the module goes berserk and it start to behave weird. Another thing is that inbetween at random the translucent box does not show up and all the text
[jQuery] jQuery Tetris?!?
Not sure if the author is on this list, but awesome job either way! Check it out: <a href="http://fmarcia.info/jquery/tetris/tetris.html">http://fmarcia.info/jquery/tetris/tetris.html</a> And vote it up if you think its good -- how could you not ;) @DZone: <a href="http://www.dzone.com/rsslinks/tetris_with_jquery.html">http://www.dzone.com/rsslinks/tetris_with_jquery.html</a> @Digg: <a href="http://digg.com/programming/Game_Tetris_realized_by_jQuery">http://digg.com/programming/Game_Tetris_realized_by_jQuery
[jQuery] load image by ajax..how?
I need for one application relatively big size background images which change every few seconds. I was wondering if it is possible to load the images one by one using ajax and then set some clause to use it from the DOM after it is loaded for the cycle and not loading it from the server. The second part is easy I feel where I will set up a clause to not load it from the server by ajax but from the div where it is inserted. But how do I load the image first time using ajax. thanks
[jQuery] Interacting with TR an TD
Hello all, I'm getting used to the excellent jQuery library and I need some help of more experienced programmers. I have this simple table: <table class="table"> <tr> <td>content</td> <td>content</td> <td>content</td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr> <tr> <td>content</td> <td>content</td> <td>content</td> </tr> </table> What I need is to add a class to the TRs that have
[jQuery] My CSS presentation - recorded via Adobe Connect
For those of you that have been asking about the recorded presentation, here's the URL: https://admin.adobe.acrobat.com/_a17673838/p30028287/ And here's a link to the files used in my presentation so that you can follow along: http://www.ncfug.com/archive/AndyMatthews_April2007_CSS.zip Hope everyone likes it. Please feel free to give me feedback...this was my first time presenting. andy matthews founder | main man commadelimited dream | design | develop andy@commadelimited.com www.commadelimited.com
[jQuery] About form upload
Hi all, I'm having problem with the upload form and I don't understan where I'm in error, I'm trying to reproduce the example of Mike Alsup. I explain what I've done file index.html <html> <head> <title>Title</title> <script type="text/javascript" src="js/jquery-latest.pack.js"></script> <script type="text/javascript" src="js/jquery.form.js"></script> <script type="text/javascript"> $(document).ready(function(){ // I don't undestand what exactly I must put here $('#uploadForm').ajaxForm({ beforeSubmit:
[jQuery] Lightbox w/ JQuery
I just recently jumped on the JQuery bandwagon. Love it. I am trying to integrate some JQuery script into my blog, where I use a version of lightbox that runs off of the Mootools library. However, when I try to run both at the same time, they start causing conflicts. I'm assuming its from each library redefining the other's functions. I have tried doing with Mootools what I finally got to work with JQuery, and it was not an easy, or successful, task, so using Mootools for both scripts is not an option.
[jQuery] firefox mac text fade bug
I'm new to jQuery, and enjoying it very much so far. One issue I'm having is limited to firefox on mac, but that's my regular browser, so it's rather painful. I've googled and seen the issue come up before, but no remedies or suggestions offered. The problem is that whenever I use any kind of jQuery fade effect, all text on the page is rendered too thin. This happens when the fade effect is applied, and it affects all text on the page even if only a single small page element is faded. It looks like
[jQuery] $(...).children() vs $().childNodes()
<div>So we have a situation where we need to clone all of an elements childNodes (including whitespace & text nodes). The code below is an attempt to add a childNodes() function that behaves similar to children() except for it includes the childNodes. </div> <div> </div> <div>Comments/houghts/suggestions/feedback?</div> <div> </div> <div>$.fn.childNodes = function() { return this.pushStack( this.get(0).childNodes || [] ); };</div> <div> </div> <div>Cheers,</div> <div>-js</div>
[jQuery] Pause Plugin- why it does not work for me
I am trying to use the pause plugin by Mr Howard like this $("#navigblock .navig_item:eq("+curritem +")").removeClass("navig_item_active"); pause(3000); $(".navig_item_text").slideUp("slow"); and I have included the plugin in head of my page but still it keeps giving me this error pause is not defined in firebug. Also in unpause what is meant by type? The documentation is so little that I could not understand it properly. Actually it must be very simple to use I guess and thats why there is not much
[jQuery] Slightly OT: Ajax Loading Images
Hi folks, I'm wondering where folks are getting their loading images for ajax purposes. I've tried ajaxload.info, but after several experiments, those only seem to look good when specifying the background color. When using a transparent background color, they seem to be... well, less than desirable. Does anyone have any other sources for little whirly images that use a transparent background and are between 12x12 and 24x24 (preferably closer to 16x16)? Thanks heaps, Chris -- http://www.cjordan.us
[jQuery] Help Modifying the Action Page of an AJaX Form
I have a form on a page that doesn't have a submit button, per se. Instead, there are a number of elements which, when clicked, should submit the form to an action page that is specific to the element that was clicked. I see that I can ajax-ify a form, but I don't see how to modify the action attribute at the time the form is submitted. Currently, I have this working fine, but I need to implement a form for user input while maintaining the dynamic action page and the ajax nature. $('img[@src$=/run.png]').click
[jQuery] Find a element - Basic issue
Hi Folks My DOM is something like this <select id="edit-taxonomy-1" class="form-select" name="taxonomy[1]"> <option value="0"><none></option> <option selected="selected" value="1820">services</option> <option value="1839">Products</option> I am trying find the option that have selected="selected" of course is very random in many inputs. I tried a lot of things but nothing works. $($("#edit-taxonomy-1").children().get()).contains("selected") $($("#edit-taxonomy-1").children().get()).find("selected")
[jQuery] AJAX parameter problem
I've done my first AJAX call but since the documentation isn't clear about how parameter passing is done, it's not working on the first try. My code ========================= var files = new Array(); $.getJSON ("getfiles.php", {basedir: "gallery"}, function (data){ alert ('Data='+data); files = data; } ); ========================= <?PHP // getfiles.php $folders = recurseDir ($_GET['basedir'], false); $files = array(); if (count ($folders) > 0) { foreach ($folders as $key => $d) { $files = array_merge
[jQuery] path and selectors
<!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=234105711-27042007><FONT face=Arial size=2>hello!</FONT></SPAN></DIV> <DIV><SPAN class=234105711-27042007><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=234105711-27042007><FONT face=Arial size=2>i would like to know if there is a way to have jquery tell
[jQuery] jQuery and forms created using ajax (Form plugin)
Hello. (excuse me for my bad english ^^) I started using jQuery a few days ago and it looks pretty powerful :) I then discovered the form plugin and it's doing exactly what i was looking for. But i have an issue with a feature i would like to create. I would like to submit a pretty heavy form using ajax; why? well actually, when i submit this form, i have to wait at least 30 seconds to get the data processing done. What i want to do is to submit the form in ajax, then load this same form with the
[jQuery] interface / tooltip / Demo error
<!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=531380116-27042007><FONT face=Arial size=2>Just would like to inform the interface plugin author(s) that there is a slight html error in the demo that prevents from working :</FONT></SPAN></DIV> <DIV><SPAN class=531380116-27042007><FONT face=Arial size=2></FONT></SPAN> </DIV>
[jQuery] jQuery Tabs: activate on rollover instead of click?
Is it possible to change Karl's tab plugin to activate the tabs and their content when rolling over a tab, instead of clicking on it? I browsed the source and didn't see anything that stuck out as a config option to change this, and I'd like to avoid changing the core.
[jQuery] plugin sizes
Is anyone else concerned by the fact that the datepicker plugin, which I love and appreciate, is 32K? unpacked, of course, but that's half the size of jQuery itself. What figures are people shooting for for the size of their javascript download?
[jQuery] Interface: bounce with fixed positioning?
Hi there, I wanted to use Interface's bounce effect for a fixed positioned element - an element that gets moved into view from the top and than bounces a little at the end (like it was falling down). Unfortunately the effect is messed up for such fixed positioned element. From a quick look it is because of the following line in ifxbounce.js: if (z.oldStyle.position != 'relative' && z.oldStyle.position != 'absolute') { z.el.css('position', 'relative'); } There's no check for "fixed", thus
[jQuery] Order in which styles are applied
I am wondering when external css styles are applied to the DOM elements. My external style sheet has a display:none for element A. With JQ on document.ready, I call the show() method on the element. (this is so people w/out javascript enabled will not see the element) Is there any chance that the external style sheet will be applied to the DOM after the JQ is run? Which of the following is correct? 1. DOM is loaded 2. JQ runs (the show method is called) 3. CSS is applied to the DOM (overriding my
[jQuery] Line Wrap on Multiple Select Box
Hello, This isn't jquery specific. But is there any way to wrap the long option in a multiple select box using javascript or any other way. Even if this is not possible then what is the best way to show the long options (using tooltip etc.) ? as they get cut off if the width is defined. Sharan.
Next Page