[jQuery] Easy DOM Creation plugin not working as expected.
Hey guys and gals, I am using the Dom creation plugin and when I pass the json information I get nothing in return. Below is the function I use: buildScenarioTableList = function(list){ $.tpl(list, function(){ return [ 'tr', { 'class':"MyTableRow" }, [ 'td', { 'class':"MyTableCol2" }, [ ' ' ], 'td', { 'class':"MyTableCol1" }, [ this.active ], 'td', { 'class':"MyTableCol2" }, [ this.name ], 'td', { 'class':"MyTableCol2" },
[jQuery] Thickbox incompatible with jQuery 1.1
Does anyone know if Thickbox is going to be updated to jQuery 1.1 anytime soon or if there's an alternative other than using the compatibility plugin (I'm using plenty of plugins already ;) ). I think Thickbox is great stuff and it would be a shame that it run outdated. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[Dev] Release: Treeview plugin
I'd like to announce the release of my Treeview plugin for jQuery, which is based on the work of <a href="http://be.twixt.us/jquery/">Myles Angell</a>. It allows you to take nested unordered lists and convert them into a collapsable and expandable tree. It provides options to animate toggling, display the tree collapsed at first, select certain branches to start open or closed, and to create a tree controller to collapse, expand or toggle all branches at once. Documentation, a demo, downloads can
[jQuery] help with append
I've been toying with this backwards and forwards and I can't get it...have tried using 'after' as well. I'm trying to append a paragraph with an ID of 'dhtml'. In the past, this worked, but it was not inserting the line within the paragraph... $('div#dhtml').html(html); My best guess has me thinking that this should work (inserting/ appending the info inside of the paragraph), but it is clearly failing here: $('p#dhtml').append(html(html)); Am I missing something obvious here? Thanks... _______________________________________________
[jQuery] Presentacular rewrite with jQuery?
I just happened onto Presentacular [1] for the S5 slideshow script this morning and was wondering if anyone has rewritten it using jQuery. Shane [1] http://labs.cavorite.com/presentacular/ -- --------- Bender: "Amy, you like cute things so I baked you a pony." --------- http://www.reefs.org - Where reefkeeping begins on the internet. http://www.advancedaquarist.com - High quality, free monthly publication for the reef keeping hobbyist. http://www.aquaristcourses.org - Distance learning courses for
[jQuery] Effect function runs twice
Uhh I forgot to tell ya that you can see it "live" here: <a href="http://www.postcards.dk/jon-test/newsletter.php">http://www.postcards.dk/jon-test/newsletter.php</a> Regards, Jon. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Select Box
<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:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;}
[jQuery] dropdown menu with IE select fix?
I've seen a few JQuery interpretations of the Suckerfish menu, but has anyone taken them a little further to include a fix for the IE Select bug wherein the dropdown menu will appear behind a Select menu in IE6? The only fix I've seen for the bug involves slipping an iframe under the dropdown. This script combines the idea behind Suckerfish menus with an iframe on hover... but is there a JQuery version of this idea? http://homepage.mac.com/igstudio/design/ulsmenus/vertical-uls-iframe-2.html -- View
[jQuery] Problem with form plugin and xml
I'm trying to ajaxify my forms. I'm using the forms plugin: $("#FindHotel").ajaxForm( { success: showFormSubmitResult, dataType: 'xml' } ); function showFormSubmitResult(responseText, statusText) { alert(responseText); } I'm getting 'null' :( The XML that's returned is valid XML that looks sort of like this. I wonder what could be the problem :( <data> <sort text="Sort by: "> <item isLast="0" link="/find/hotel/?sort=name&dir=asc"> <text>Hotel name</text> <image></image> </item> </sort> <list>
[jQuery] fadeIn fadeOut on timers, elem.style empty error
Hello to you jquery fans out there, Im using innerfade to fade two areas randomly, stopping the random fading when a user hovers a link, showing the assozieated logo for the hovered link. The Problem is that after some time the random fading just stops, while an error is thrown within jquery.js. Error: elem.style has no properties Source File: ../js/jquery.js Line: 12 Its the latest pack available. You can find the Code at http://pastey.net/5487 including some explanatory Comments. Id be pleased
[jQuery] Retrieve a from iframe
<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:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;}
[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><SPAN class=350161922-24012007>After upgrading from 1.0.4 to 1.1.1 the following code no longer works. Please tell me if there is a solution to this issue.</SPAN></DIV> <DIV><SPAN class=350161922-24012007></SPAN><SPAN class=350161922-24012007></SPAN> </DIV> <DIV><SPAN class=350161922-24012007>-------------------------------WORKING
[jQuery] Imagebox doesn't work in Safari
hi everyone, i've been trying to integrate interface's imagebox into my site, using jQuery 1.1.1 and Interface 1.1.1. As soon as i'm clicking on an image, the imagebox enters the loading image phase and is stuck there. i've put some debugging code into my site, reading -- alert(jQuery(imageEl)) -- which alerts "object" in firefox, but no alert box in Safari has anybody already encountered this problem? best regards lukas _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] preceding sibling
On 25 janv. 07, at 10:24, Blair McKenzie
[jQuery] unobtrus
<html> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 10 (filtered)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Monotype Corsiva"; panose-1:3 1 1 1 1 2 1 1 1 1;} /* 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;} a:visited, span.MsoHyperlinkFollowed
[jQuery] Another simple JQuery example
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Hi guys, Just wanted to post quick piece of code I've developed It is a replacement for js alert function I'll be using. It is a very early stage, but I thought someone may learn from it. code itself is written as plugin and hopefully comments are clear It uses dimensions and bounce plugin
[jQuery] preceding sibling
Hello again, I have written a simple menu in the most basic way i could: just an unordered list, with only the active tab getting a class="active". I am adding the correct styles to the first and last tabs with the :first and :last selector. Works just fine. The last thing i need is to be able to identify the tab that comes before the active tab, if any. I have tried the axis selector for the preceding sibling shown in the doc : $("//div ~ form") However, that syntax is a bit foreign to me, and it
[jQuery] Form Ajax and PHP
Hi all, I want to save data typed into a form in to a simple file with a script file write in PHP. I must use $.ajax or $.post? Well, both don't work for me, sure I'm in error but where? index.htm <MyHtmlCode> <html> <head> <title> jquery </title> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#myForm").submit(function(){ var testoForm = $("input[@name=testo]").val(); /* With this code don't work */ $.ajax({ type: "POST",
[jQuery] OT: CSS Conditional Comments
Sorry for the off-topic post, but I know that css tends to get discussed a lot around here, and I'm sure someone here will know what I'm doing wrong. Okay, so I've got a div that contains a single tag. In FF 2.0.0.1 this text is vertically centered inside the div. In IE 6, it is not. So, I can fix IE by including a line-height equal to the height of the parent div. Fine, but that screws up FF. It seems that conditional comments are the solution for me, but I think I'm not using them right, because
[jQuery] jQuery French chapter / groupe francophone jQuery
Hello, I propose the creation of a French chapter of this discuss- list; would jquery.com host the list? Je propose la création d'une liste francophone de discussion à propos de jQuery, afin d'avoir un espace pour nos compañer@s qui ne parlent pas anglais. -- Fil _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] How to find out if form was submitted via Ajax?
When I use the Form plugin, how can I find out on the server that the form was submitted via Ajax? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] attr scrollHeight
$(element).attr('scrollHeight') does not work (returns undefined) but $(element)[0].scrollHeight does, is this right? andreas _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] I could use help with Drag-drop
Hey all, I'm researching JQuery for a project at work. It is a recipe website that has a "recipe box" feature where they want to be able to drag recipes between folders for organization. Here is a screen shot of the basic functionality that I'm trying to accomplish. http://www.circlefusion.com/projects/ge/recipe_box_drag.png A couple of rules for the drag-drop: If the recipe is not dragged to an appropriate target (a folder) then it stays in it's original position when the mouse is released. After
[jQuery] $(ele).css('height') and $.css(ele, 'height') are different?
html: <div id="div1">Hello</div> JavaScript: $(function() { alert($('#div1').css('height') + ' ' + $('#div1').height() + ' ' + $.css($('#div1')[0], 'height')); }); <br clear="all">The result is as follows Firefox: 19px 19 19 Opera: 19px 19 19 IE: auto 19 19 Why is $(ele).css('height') in IE different? Is this a bug or by design? -- Arrix _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] my code produces an error within jquery.js
Hello to you jquery fans out there, Im using a cusomized Version of Innerfade by medienfreunde.com to be able to fade on link mouseover in the same elements as innerfade is doing its show while stopping further timed fades. You can find the Code at http://pastey.net/5487 including some explanatory Comments. Id be pleased if somebody could take a look at it, i could just discard using jquery fadeIn but im trying to learn from it :) greetings, Jonas Wolff _______________________________________________
[jQuery] select form problem
I got a small but annoying problem (still jquery 1.0.4 (old site)) Note the following code: $("li#coffee_morning").click(function(){ var people = $("#people").attr("value"); $("select#s_morning option:eq(" + people + ")")[0].selected = true; // $("select#s_morning option:eq(" + people + ")").attr("selected", "true"); $("li#coffee_morning select").css({display: "block"}); }); The code looks at a select and want to make other select automaticaly change the value. With the following this
[jQuery] Form and .submit
Hi all, I'm new to jquery, I'm trying to make something that work with jquery and form, but I'm in error and I don't know where: <MyCode> <html> <head> <title> jquery </title> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#myForm").submit(function(){ alert("Submit Pressed"); )}; }); </script> </head> <body> <form id="myForm" action="script.php" method="post">
[jQuery] jQuery/IE sending duplicate parameter values
Hello, It appears I'm coming across a weird bug in jQuery that only occurs with IE (6). <script> $(document).ready(function(){ $.get("jq2.html", { name: "John", time: "2pm" }, function(data){ alert("Data Loaded: " + data); } ); }); </script> The jq2.html (I use Roxen) returns the form paramater "name" that is passed to it. In Firefox (jquery uses GET method), it returns the expected "Data Loaded: Name=John" In IE, (jquery
[jQuery] JQuery in Google Maps Info Windows
I'm new to jQuery and am trying to figure this out, but was wondering if anyone has had any luck embedding jQuery code inside Google Maps info windows? I have an existing google map that parses coordinates and descriptions for points from an xml file and have tried using Innerfade ( http://medienfreunde.com/lab/innerfade/ http://medienfreunde.com/lab/innerfade/ ) to rotate through a list of images inside the info windows that appear when points on the map are clicked. The points are created when
[jQuery] What tools should I use to troubleshoot jquery problems? (John Resig, jquery team, other gurus please share your tricks...)
I'm trying to sort out a problem with a selector and I'm not having much luck. I'm using firebug at the moment, but I'm not able to easily see what the selector is picking up, if anything. The first selector is here: $('#test :textarea').before('Current length: <span id="'+ this.id +'_len">'+this.value.length+'</span> characters') <form action="boo" name="test" id="test"> <textarea cols="54" rows="5" id="Desc_512" name="Description">SPORK</textarea> </form> BTW the documentation doesn't
[jQuery] A fadeout effect makes the page jump up in IE7
I had the same problem with slide recently, and didn't get a response from this list :/ What I found (and this might not be the root cause) is that the margins around the divs or parent divs was affecting it somehow. If I just had a div by itself, without a parent div positioning it via margins, let's say... the jumping didn't happen. I got inconsistent behavior across the browsers though (FF/IE7/IE6) depending on what I changed with the margins. I'm guessing you have a margin on the bottom that
[jQuery] Problem with Puff
Hi. I am trying to use Puff from the interface library. The page shows correctly, but when I press the href, nothing happens. The only javascript library to have Puff was ifxscale.js. I checked with GET to see if I could download jquery.js and ifxscale.js. They both download correctly. Could someone please tell me what I am doing wrong? Thanks, Peter <html> <head> <title>Interface - Puff</title> <script type="text/javascript" src="/jquery/trunk/jquery/dist/jquery.js"></script> <script type="text/javascript"
[jQuery] reload js in iw with ajax
If I reload a part of the page [ using load(.. ] which has elements bound to functions for example a table row tr with a click function when that table is reloaded the table row no longer has the click function bound to it. In FF I can get around this by adding the js functions to the mypage.php that im reloading into mydiv - this dosent work for ie however. Anyone know how I can get mycustom.js to be reloaded onto the elements in my reloaded div. Thanks for any help. Matt. -- View this message in
[jQuery] how to tell if checkbox is checked and manipulate
Hi, I have a "checklist" comprised of 8 checkboxes in a table, all with the class "checklist". I'm pulling the values from a database, and I want to highlight the containing TDs green for the checkboxes that are checked, and leave the rest alone. I can do this onclick: $(".checklist").click(function(){ ($(this)[0].checked) ? ($(this).parent().css("background","lightgreen")) : ($(this).parent().css("background","none")); }); But I can't seem to do it on document load (when it's pulled
[jQuery] Problem with "&" when posting with ajax.
Hi there. I ran into a little problem today, working with some forms. Whenever something is submitted and has a "&" in it it will break my code. For instance: I have a admin interface with a WYSIWYG editor, so whenever a &nbps; or " or anything similar it will break in this part: var pars = 'id='+ident+'&content='+new_content; lets say the editor only contains what my PHP serverside will give my is * $_POST['id']="theID"; * $_POST['content']=" "; * $_POST['nbps;']="" testing this more
Thickbox 2.1.1
Hi Everyone - I've taken the initiative and fixed Thickbox to work with jQuery 1.1.1. I updated the Thickbox site to reflect this (and gave it a new version: 2.1.1). The updated Thickbox site: http://jquery.com/demo/thickbox/ Additionally, Thickbox is completely in SVN now: http://jquery.com/dev/svn/trunk/plugins/thickbox/ You can check out your own copy like so: svn co svn://jquery.com/trunk/plugins/thickbox/ . In fact, the Thickbox web site is just a checked-out copy of what's in SVN (this way
[jQuery] Frames with JQuery. Possible?
Hi anyone have an example using JQuery to "simulate" frames? I'm looking tips to avoid html frameset. Cheers _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Thickbox - Klaus Are You Volunteering?
Yea!!!! Thank you both -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Klaus Hartl Sent: Wednesday, January 24, 2007 7:14 AM To: jQuery Discussion. Subject: Re: [jQuery] Thickbox - Klaus Are You Volunteering? Rey Bango
[jQuery] searching by id in a different content
I have a strange problem: I can't search an element in the parent.document by id: This isn't working: $('#bussyMessage',parent.document).size(); but if the element has a name it works: $('div[@name="bussyMessage"]',parent.document).size(); And this works too: parent.document.getElementById('bussyMessage'); Could this be a bug? Or am I doing something wrong? michael PS: using V 1.1.1, but I think it didn't work with older versions either... _______________________________________________ jQuery mailing
[jQuery] [PLUGIN Interface] what is dragHandle for?
Hi, I wounder what dragHandle is for? doco saiys just: "true to make the element draggable, string selection for drag handle" I was hopping to find something that the handle will be dragged while the user is resizing, currently i have to do it by my self with: onResize() /*{ drag handle */} greedings jac -- View this message in context: http://www.nabble.com/-PLUGIN-Interface--what-is-dragHandle-for--tf3081345.html#a8561059 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________
Next Page