[jQuery] How to create a sortable tabstrip?
I've done this with scriptaculous ... but have been trying for the past few hours with jquery and the interface library and I just can't get it to work. Essentially I'm trying to build a tabstrip control that allows you to drag/drop nested tabs dynamically so as to change the tab order (see live.com for what I'm getting at). I've uploaded the .html file I started working with here: http://www.nabble.com/file/5961/tab.html tab.html Would definitely appreciate any help. The answer is probably simple
[jQuery] Changing a browser's starting page
Looking through the docs, I'm not sure that jQuery can do this, but perhaps someone can point me in the right direction? I administer an intranet and we recently changed from intranet.something.com to staff.something.com. Getting 300 users to change their browser's start page to point to the new domain is a chore that will likely not get done for some time. So I thought, JavaScript or jQuery might be of help. If I detect the old domain name, use jQuery to force a change. We mainly use FF2, IE6, and
[jQuery] I broke it - Why is it doing this?
I have a bunch of buttons, and use the following to assign click events. $(".button").each( function() { var data = { check_dirty: 1 }; data.action = $(this).text().toLowerCase(); if (data.action == 'save') data.check_dirty = 0; $(this).css("text-align", "center"); $(this).bind( "click", data, check_save); }); The problem is that all the click handlers get the data that is assign by the last button processed. If I set through firebug, they are all getting assigned the correct values as the each loop
[jQuery] Jcarousel in IFRAME
People! how is it hanging!? I have a problem trying to do this: I'm using SubModal (like thickBox) to load a page that have the Jcarousel Plugin. SO, I'm using the Jcarousel Plugin inside an IFRAME (autogenerated by SubModal). the problem is that when i click on a image, the "popup" (autogenerated generated by Jcarousel) is under the IFrame :( I need to know if there is a way to allow 2 thickboxes working on the same time. Actually I want to show a page, from IFRAME, that shows a list of images (jcarousel)
[jQuery] onchange in Firefox
Here's a simple little script that I have: $("input[@type=text]").change(function(){ console.log($(this).attr('id')); }) I'm using Firefox 2.0 and when I select a value from the Firefox autocomplete list then tab to the next field the event is not trigger. If I enter a new value then the event is trigger. Does anyone have a solution for this? -- View this message in context: http://www.nabble.com/onchange-in-Firefox-tf3119336.html#a8642144 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] selectbox plugin - take 2
Have you taken this any further? I saw you have a <a href="http://cbach.jquery.com/demos/selectbox3/" target="_top" rel="nofollow">http://cbach.jquery.com/demos/selectbox3/</a> directory but no updates since november... <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><div class="quote light-border-color"> <div class="quote-author" style="font-weight: bold;">Christian Bach wrote:</div> <div class="quote-message">I have
[jQuery] jQuery/IE sending duplicate parameter values
Oops, thanks for the clarification... It works beautifully now! Graeme -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Jörn Zaefferer Sent: Friday, January 26, 2007 11:47 AM To: jQuery Discussion. Subject: Re: [jQuery] jQuery/IE sending duplicate parameter values Graeme B. Davis schrieb:
[jQuery] Firebug 1.0 released
Just a heads up: the awesome debugger Firebug has come out of beta and is now '1.0'. http://www.getfirebug.com/ I find new features of this every day I use it. ________ SEAN O -- View this message in context: http://www.nabble.com/Firebug-1.0-released-tf3124724.html#a8657369 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jquery.corner.js freezes IE6
Hi all, I needed to use the jQuery rounded corners plugin in the project I'm working at the moment. But when I try to round more than one element, IE6 freezes, and I need to kill the proccess. After that, I visited the plugin's examples page, with IE6, and it freezes too. Do you know something about it? Thanks in advance. -- Juan G. Hurtado [ juan.g.hurtado@gmail.com ] [ http://armonia.spiral-static.org/ ] _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Plugin Update: jdMenu 1.2
<div><a href="http://jdsharp.us/code/jQuery/plugins/jdMenu/">http://jdsharp.us/code/jQuery/plugins/jdMenu/</a></div> <div> </div> <div>I've updated jdMenu with a few minor changes which includes a faster default menu delay and support for native jQuery 1.1.1.</div> <div> </div> <div>-js</div> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Anyone see why this code isn't working?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <META NAME="Generator" CONTENT="MS Exchange Server version 08.00.0681.000"> <TITLE>Anyone see why this code isn't working?</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">Hi, all</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">…</FONT></SPAN><SPAN LANG="en-us"></SPAN></P> <P DIR=LTR><SPAN LANG="en-us"><FONT
[jQuery] Giving up regular DOCTYPES
So, I had a wakeup call the other day when looking for a solution to a problem of mine when I bumped into this: http://www.cs.tut.fi/~jkorpela/html/own-dtd.html Creating your own DTD for HTML validation . So I'm wondering, why this isn't more widespread. Now I can write code like this: <h1 editable="true">This is a topic</h1> and still make validation (not for the standard but for my edited version of one). So I made a few changes in a edit in place script I'm working on, and I gotta say it makes
[jQuery] jQuery/IE sending duplicate parameter values
I just tested what you suggested and it worked for the getJSON, but it broke standard load calls (it didn't pass any values in IE). Any other ideas? Graeme -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Jörn Zaefferer Sent: Wednesday, January 24, 2007 5:17 PM To: jQuery Discussion. Subject: Re: [jQuery] jQuery/IE sending duplicate parameter values Graeme B. Davis schrieb:
[jQuery] ajaxComplete & ajaxError callback function parameters weirdness
Hi all, I'm struggling with these global ajax callback handlers. The documentations states as follows: $("#msg").ajaxComplete(function(request, settings){ $(this).prepend(' Successfully loaded url: ' + settings.url + '</ p>'); } ); Problem is that the objects passed to my function(s) are as follow: Object type=ajaxSuccess XMLHttpRequest readyState=4 Object global=true type=POST timeout=0 This is the result Firebug comes up with when using the following code: /* success
[jQuery] Sliding menus
I like http://www.g-raff.co.uk/jquery/basic.html for its simplicity. I have seen something like it for menus but I can't remember where. Looked at the tabbed menus but that's not what I'm looking for. I like a vertical set of menus, that when clicked, shows sub-menus. I've seen it, want it, but can't find it again... :( Any help? Thx Gerry _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Simple ajax script
Hi all, i'm trying to make the script below work. It gets the results serialized in json from django something like the dataset below. Unfortunately i can't see anything displayed in the results div. I suspect the json is not returning properly from the function or maybe i made some gross mistake Can anyone help? Thanks, Lorenzo #############method returning json dataset############ def city_search(request, city_name): city_list = serializers.serialize("json", City.objects.filter(city__istartswith=city_name).order_by("city")[:10])
[jQuery] blockUI Weirdness
I'm trying to use blockUI with a dialog that is 450px high. For some odd reason, which I have yet to track down, instead of centering my dialog like the examples, it is aligning it down to the bottom of the page. Firebug reports that the blockUI div has a top offset of over 200px. Any ideas of why it would not center such a div? It's a fairly complex form, but I'll try to throw together an example if it will help. Gavin _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] default / cancel button plugins
These two plugins allow you to specify which button to click when either ENTER or ESC is pressed when focused on an input. http://www.texotela.co.uk/code/jquery/defaultbutton/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Equal Height DT/DDs
Hi, Playing around with jQuery and thought I'd try to put together a 'table looking' definition list. I managed to get something to work in FF but IE6 doesn't seem to care what I think it should do. // equal height dt/dds $("dt").each(function () { ddheight = $(this).next().height(); $(this).height(ddheight); }); a related question... is there any way to know when the browsers text size changes? If you resize your text with this little thing (after it's loaded), the heights don't update
[jQuery] a bind function inspired by prototype's Function.prototype.bind implementation
was looking for an easy way to bind functions to objects when using jquery, and couldn't find any information about it. is there a reason for not implementing this? i found it very useful when using prototype. i've made my own implementation for jquery...it declares a bind function in the global jQuery object...first argument to the function is the method to bind, the second argument should be the object to bind to (if empty will bind to jQuery), and followed by any number of arguments to be passed
[jQuery] jQuery doesn't get along with old Prototype
I'm writing a bookmarklet application using jQuery and it fails with any page that uses Prototype 1.3.1. I found that it's Object.prototype.extend that breaks jQuery. jQuery's extend method gets overwritten after the first call to jQuery.extend({/**/}). It's rare to use jQuery and Prototype 1.3.1 together, but it's absolutely possible that jQuery will coexist with some poorly written code. Anyway to make jQuery more robust? Can we check hasOwnProperty() before copying properties inside jQuery.extend?
[jQuery] New Plugin: Clone Events
I've noticed several times on the list people asking why .clone() doesn't clone the events along with the elements. No more worries ... now you can clone those events if you need too! var $elements = $('.elements'); $elements .clone() .cloneEventsFrom($elements); There is also a .cloneEventsTo() which acts like .appendTo(). var $elements = $('.elements'); var $clonedElements = $elements.clone(); $elements.cloneEventsTo($cloneElements); You can find this plugin in SVN: http://jquery.com/dev/svn/trunk/plugins/cloneEvents/cloneEvents.js?format=txt
[jQuery] cant append() form objects
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=428353603-26012007><FONT color=#000080>Thanks. That does seem to work when it stands alone. I am having a hard time making it work in my actual environment however. This test is overly simplified to what I actually need. I tried using your method but
[jQuery] Dom Updates?
Does jQuery automatically update the DOM after new content is loaded via the .load() function? It seems like it's working in some cases and failing on others right now. If not, is there a way to manually update it? I'm binding a function to links with a certain class on document.ready, but when new links are loaded in, they don't trigger the function. -- View this message in context: http://www.nabble.com/Dom-Updates--tf3036986.html#a8440125 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] Why won't this code work?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <META NAME="Generator" CONTENT="MS Exchange Server version 08.00.0681.000"> <TITLE>Why won't this code work?</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">The link</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">“</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">Toggle the Box</FONT></SPAN><SPAN
[jQuery] Interface 1.1.1 - imagebox
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.5730.11" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2> <DIV><FONT face=Arial size=2>Hi</FONT></DIV> <DIV><FONT face=Arial size=2>Dose anyone know what are the demnsions of the next, previous,close images for imagebox are?</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT
[jQuery] Script optimization and porting (1.0.4 --> 1.1.1)
Hello everyone, I recently started looking into porting existing code to jQuery 1.1.1. I stumbled upon problems with my "multi-level" table script. A simplified version of it can be seen here: jQuery 1.0.4: http://gawis.dk/jquery-testbed/table/ jQuery 1.1.1: http://gawis.dk/jquery-testbed/table/?ver=new The JavaScript code for the table can be seen here: http://gawis.dk/jquery-testbed/table/table.js I know have two questions: - How can I make the links work properly again, with the 1.1.1 version?
[jQuery] Changing a browser's starting page
<!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.5730.11" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=192492121-25012007><FONT face=Arial color=#0000ff size=2>Calm down now. I don't know if ANYTHING calls for that.</FONT></SPAN></DIV><BR> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left> <HR tabIndex=-1> <FONT face=Tahoma size=2><B>From:</B> discuss-bounces@jquery.com
[jQuery] Changing a browser's starting page
Then put a hard stop on the domain. Don't auto-forward them, just put instructions on how to change their home page. Do that for a week and people will get the message. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Gerry Danen Sent: Thursday, January 25, 2007 3:01 PM To: jQuery Discussion. Subject: Re: [jQuery] Changing a browser's starting page
[jQuery] in 1.1.1, get(0) returns the document when it
So far I tried revision 1172 and it does not fix the issue. What is the clean approach to test if any object is found? if( $('nonexistent')[0] )? if( $('nonexistent').length>0)? if( $('nonexistent').get(0))? Jan.
[jQuery] Changing a browser's starting page
I'm pretty sure this would be a MAJOR security breach and I doubt that it's allowed. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Gerry Danen Sent: Thursday, January 25, 2007 1:54 PM To: jQuery Discussion. Subject: [jQuery] Changing a browser's starting page Looking through the docs, I'm not sure that jQuery can do this, but perhaps someone can point me in the right direction? I administer an intranet and we recently changed from intranet.something.com
[jQuery] unobtrus
Tim, I guess the issue for us is that we want to give our clients as rich a UI as possible both in Windows and the Web and if we focus on degradation, we may have to compromise on the richness of the UI. If you try to use the Google word processor or the Google spreadsheet without scripting enabled, they do little if anything at all. But if you have scripting enabled, they give you a very rich UI similar to a conventional desktop application. This is the type of user interface experience we are looking
[jQuery] scroll buttons on one side in carousel plugin
How can I make the buttons for scrolling appear on one side of the slide show in carousel plugin for jquery. The did for the button are created dynamically and I know I have to make changes in carousel.js but I have not been able to do so. Can someone guide me how to make this happen. Right now the left and right scroll buttons appear on left and right of the image field but I want the bothon one side like yahoo movies webpage. Thanks in advance. vik -- View this message in context: http://www.nabble.com/scroll-buttons-on-one-side-in-carousel-plugin-tf3078563.html#a8553272
[jQuery] ret[ret.length - 1] has no properties
So I'm getting this error message: ret[ret.length - 1] has no properties being thrown from this line in the jquery source: if ( m[1] == "#" && ret[ret.length-1].getElementById ) { for certain selectors, namely when I have an id preceded by a class or another id, for example: $(".myClass #myId") $("#firstId #secondId") This was not a problem in previous versions. Jennifer -- View this message in context: http://www.nabble.com/ret-ret.length---1--has-no-properties-tf3065965.html#a8527621 Sent from
[jQuery] Using jQuery Ajax to save PhotoNotes
Hello everyone. I am a jQuery newbie. Help! I recently found a really useful image annotation javascript code called PhotoNotes. <a href="http://www.dustyd.net/projects/PhotoNotes">http://www.dustyd.net/projects/PhotoNotes </a> . Unfortunately, it did not come with an example code on saving PhotoNotes notes using any ajax library to get me started- I prefer jQuery though my javascript knowledge is very limited. If you can kindly look into PhotoNotes and give me any suggestions to get me started,
[jQuery] unobtrus
All, Okay, I am confused by the responses and maybe it's my own fault for asking the question the way that I did. We are on board with the idea of keeping the presentation and behavior separate for both flexibility and maintainability of the application. In fact all of our client applications for both Windows and the Web are design this way to facilitate their maintenance and enhancement. We have an extensive component "plug-in" library that makes our development of very powerful business applications
[jQuery] unobtrus
Hi Mark, It seems that in this very 'controlled' situation, you shouldn't have to be too concerned with it. They aren't web based so you don't have to cater to every situation. You set the bar for the requirements of your portal, so it's more like software. You have to have XYZ to run it, period. -Marshall -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Mark D. Lincoln Sent: Thursday, January 25, 2007 9:51 AM To: 'jQuery Discussion.' Subject:
[jQuery] Getting Started with the Form Plugin
For anyone seeking information about how to manage forms with jQuery, I've just updated the Form Plugin example page at: http://malsup.com/jquery/form/ You can find a quick start guide, API docs, examples, a FAQ and more. Mike _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] cant append() form objects
With Jquery 1.1.1 Firefox 1.5 - Fails Firefox 2.0 - Fails IE 6.0 - Fails IE 7.0 - Fails With Jquery 1.0.4 Firefox 1.5 - Works Firefox 2.0 - Works IE 6.0 - Works IE 7.0 - Works Seems to be fairly consistant at least across these browsers. -----Original Message----- From: Brandon Aaron [mailto:brandon.aaron@gmail.com] Sent: Thursday, January 25, 2007 7:48 AM To: jd1@titleoptions.com; jQuery Discussion. Subject: Re: [jQuery] cant append() form objects Is this just in IE or in other browsers
[jQuery] External or anonymous function - which is best?
My question is more about Javascript memory and best practices than a specific problem, but I will use the following example to illustrate: I have a div, which I would like to have a minimum height of 600 px. If I put 600px as the height in the .css file, the div will not expand for content that is larger. So, I am using JQuery to determine if the content is less than 600px and if it is I will adjust the css height to 600px. (Yes, I am aware of the JQMinMax plug-in - again, this is a more general
Next Page