[jQuery] Interface Draggables Problem
<html xmlns:v="urn:schemas-microsoft-com:vml" 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)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style>
[jQuery] Interface Draggables Problem
Greetings, I am new to JQuery and am very excited to start using it and jump into the world of javascript programming. I have been experimenting with the Interface plugins and have come across a problem or possible bug with the Draggable library. Please see the following page: <a href="http://www.gordbusse.com/test.htm">http://www.gordbusse.com/test.htm</a> I have a parent div horizontally centered on the page using: margin-right: auto; margin-left: auto; And have a child div inside that set to be
[jQuery] Feedback needed on when to use Edit In Place
I've been thinking about the best time to use an Edit in Place like this one (http://www.dyve.net/jquery/?editable). Its a very cool technique but I'm not quite sure when I would use it or how I would let a user know that a field is editable simply by clicking on it. I'd like some feedback on this. Suggestions? Rey... -- BrightLight Development, LLC. 954-775-1111 (o) 954-600-2726 (c) rey@iambright.com http://www.iambright.com _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] Interface Draggables Problem
<html xmlns:v="urn:schemas-microsoft-com:vml" 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)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style>
[jQuery] Getting a development team to use jQuery
Hi all, first let me say I've had an absolutely wonderful time utilizing jQuery for all of my javascript tasks. So wonderful, that I've convinced my boss that we should throw out every one (we're using about 4 or 5) of the javascript frameworks and random scripts we're currently using and consolidate all of our web applications under jQuery. This is a library of about 60 web applications that have to be re-examined and partially rewritten. This Monday, I'm scheduled to give a 30 minute presentation
[jQuery] Handling unsupported browsers
Hi, I've started using jQuery and I really like it. Thank you! I'd like to know if there is a snippet or recommended method for handling the user interaction when the browser is not supported or javascript has been disabled. Also, I would like to know if the jQuery Ajax works on IE5.x browsers. More info on IE5 issues beyond the test cases would also be useful, as I don't have an IE5 browser myself. Regards jose _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] Strange Safari bug
I'm working on a rather complicated CMS app that uses the AJAX plugin heavily. Everything's coming back our backend Java Textile implementation as XML, and I'm getting a strage Safari bug. The element is called bodyTextile. When I try alert($("bodyTextile", xml).text()) the contents come back just fine, but the FIRST time that I set the $("#textarea_id").val($("bodyTextile", xml).text()) nothing shows up. I've looked all over the web for Safari XML parsing bugs, Safari xmlhttprequest bugs... is this
[jQuery] LI cursor/underlining
I have ul/li/ul... structure and want the text to be underlined, and a cursor pointer set rather like an href when the mouse moves over the text. 1. I suppose I could put in an href, and then get an action performed when I click. I'm sure it can be done - I'm not sure how. It is also not a very clean solution. 2. Consider the html code: <li><img src="images/file.gif" /> Item 1.1</span></li> I can add a style thusly: <li style="cursor: pointer; "><img src="images/file.gif" /> Item 1.1</li> But it
[jQuery] Problems with retrieving / setting textarea content [Firefox]
I have a <textarea> which I want to read / write. I have been testing with this: alert($("#the_text_area").text()); $("#the_text_area").text('different text'); That works as expected until the <textarea> contents are modified by the user. From that point, .text() continues to return the unmodified text, and text('text') has no effect. This fault occurs in Firefox 2.0.0.2, but not in IE6.0 I've discovered I can use .val() which will work in both. Should it? Is this a Firefox bug or am I going about
[jQuery] addClass to 4th column
If I wanted to find all <td> in the 4th column of a table and add the class .txt_right to them, would I do something like this: $('table td:nth-child(3)').addClass('txt_right'); it doesn't seem to be working, so I must have something wrong thanks! -- View this message in context: http://www.nabble.com/addClass-to-4th-column-tf3365987.html#a9365388 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Getting THIS background image to switch
I am trying to show a ul and switch the background image on the li element that triggers the switch. I've got the show/hide working, but for the life of me I can't get the backgroundimage targeted. Here is the jquery: $(document).ready(function(){ $(".submenu").hide(); $("li.side_menu-parent").toggle(function(){ $(this).next().show(); $(this).prev("li").css({backgroundIImage: "url(../images/down_arrow.gif)"}); }, function(){ $(this).next().hide(); $(this).css({backgroundimage:
[jQuery] Testing... please ignore...
Sorry, had some problems with my spam service. Just checking this gets through now it's turned off... Seb _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] regular expressions
<!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=765544023-07032007><FONT face=Arial size=2>hello!</FONT></SPAN></DIV> <DIV><SPAN class=765544023-07032007><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=765544023-07032007><FONT face=Arial size=2>I'm experimenting with regular expressions, and </FONT></SPAN><SPAN
[jQuery] yahoo answers!
Just today I was discussing images & content management & php that started with this guy in Zimbabwe's question on yahoo answers ... I told how I would do it.. I sent him my dog's page (http://jpassoc.com/junior) and he said, "Wow! that's great... I'm learning to do stuff like that with jquery!" one more noobie for us to tutor, from a fresh bunch of youngsters on yahoo answers! http://answers.yahoo.com/my/profile;_ylt=Amuuo45tqj88k.g2Nk9Niszsy6IX?show=acb1ca883a1a62de308aaba65e828999aa&preview=true
[jQuery] Avoiding NPObject Errors, Queueing Methods as Flash Loads
I'd like to post a little plugin I've written which "queues" a method to be executed, then attempts to execute this method until successful. This is useful when interacting with javascript-enabled (Flash/Javascript interaction) Flash objects created within jQuery's $.ready() method.. and probably has other utility. There is often a delay involved when embedding a new flash file with Luke Luteman's jQuery Flash plugin ( http://jquery.lukelutman.com/plugins/flash/ ) or SWFObject/UFO, and the javascript
[jQuery] Sortables: trouble editing a textfield that is a sortable
Hi, Let's say my web page consists solely of <html> <head> <script type="text/javascript" src="scripts/jquery.js"></script> <script type="text/javascript" src="scripts/lib/interface.js"></script> <link rel="stylesheet" type="text/css" href="styles/styles.css"> </head> <body> <div id="todoList"> <div class="sidebarToDo">Item 1</div> <div class="sidebarToDo"><input type="text" value="Item 2" class="editableItem" size="10"></div> <div class="sidebarToDo">Item 3</div> <div class="sidebarToDo">Item 4</div>
[jQuery] Some feature request
Hi Jan and everyone else, After working with jCarousel for a while now, I've found some features I'd like to see added: 1. wrap/wrapPrev to work with autoScroll (instead of the rewind effect) 2. Configurable option for direction of autoScroll (left to right/right to left) Just a couple :) Adam -- View this message in context: http://www.nabble.com/Some-feature-request-tf3365352.html#a9363380 Sent from the jCarousel mailing list archive at Nabble.com. _______________________________________________
[jQuery] passing a function to a function with variables
Hey guys and gals, I am trying to do something like below: buildDialogBox({u:'oba_1_2',f:loadJson('userlist.txt', buildUserManageTable),d:'formDialog600'}); and have loadJson('userlist.txt', buildUserManageTable) run after the dialog box loads, but it gets executed and then the buildDialogBox function get executed. I know this is done in a bunch of plugins with call back, but I just cant figure it out. Thanks, Let me know if I did not make sense. Ben -- View this message in context: http://www.nabble.com/passing-a-function-to-a-function-with-variables-tf3365006.html#a9362199
[jQuery] Anybody able to successfully run Validation plugin on IE 7?
<!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>Anybody able to successfully run Validation plugin on IE 7?</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
[jQuery] Element droping to next line with fadeIn()/fadeOut()
Hi all, Markup: somelink read more <span class="more"> >> </span> jQ: $('a:contains("more")').hover(function(){$(this).next().fadeIn('fast')}, function(){$(this).next().fadeOut('slow')}).next().hide(); Everything works, but when the span is fading in or out it's dropped underneath the anchor. I thought it might be the span, but it happens if I use another anchor as well. Adam -- View this message in context: http://www.nabble.com/Element-droping-to-next-line-with-fadeIn%28%29-fadeOut%28%29-tf3363481.html#a9357325
[jQuery] List slow?
I don't know if it's just me, or if anyone else has had problems, but I've had no messages from the list all day, and then a few minutes ago I had a few that were 10 hours old... If it's just me, I'll investigate further... Seb _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] release: Validation plugin beta 1
Hi, testing demoform "validating a complete from" i entered 123456 in password field, then entered 111111 in confirm password which leads to a warning "please enter the same password as above" which is correct. now i enter 111111 in password field. so both inputs match each other. but the warning after confirm password is still visible (but should be removed) - what about putting a version number in the demo test site Best regards, Stefan Kilp
[jQuery] How to document a plugin
Hi all, I'm about to finish the plugin I've been working for lately and can't wait to release, but this time I would like to document it properly to ease it's use and upgrading. I'm quite anal about this subject yet I have to admit I have never found a solid way to use tags like <span style="font-weight: bold;">@param, @desc, @name, @type, @cat</span>, etc... To be honest I wouldn't even know how to call this "language" or whatever it is considered to be. Does anyone know of a good tutorial that
[jQuery] Jquery and hcal
Has anyone built a parser for hcal-formatted events on a page, building a calendar from them? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] In place editor for jQuery 1.1
I just released new version of jEditable plugin which works with jQuery 1.1. I would appreciate feedback from people using Windows browsers. Download [1] and test [2] links below: [1] http://www.appelsiini.net/~tuupola/javascript/jEditable/ [2] http://www.appelsiini.net/~tuupola/jquery/jeditable/ Thank you in advance! -- Mika Tuupola http://www.appelsiini.net/~tuupola/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] html in taconite response
I swear I tried that before posting, but I must not have... Amazing how well things work when you follow simple rules, isn't it? Thanks for your help. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Mike Alsup Sent: Wednesday, March 07, 2007 10:33 AM To: jQuery Discussion. Subject: Re: [jQuery] html in taconite response
[jQuery] html in taconite response
I suppose I may be using CDATA incorrectly. Using the entities as Eric suggested works but I'd like to sort out a less tedious method if I can. Without the CDATA block, the script obviously breaks with an "unterminated literal" js error. When I wrap it in a CDATA block, the error is "missing } in compound statement message" on line 59 of taconite.js. Do I need to wrap the entire <eval> contents in CDATA, or can I include CDATA around just the function in question? <![CDATA[ showMsg($("#customer_name
[jQuery] Manipulating the contents of an iframe
I have a parent window that is contains an iframe (containing a calendar) that I want to work with. Both are in the same domain (and folder) and both include jQuery. When I click on a day (i.e. a table cell), I want to get the id (which contains the date) to set the value of a text box in the parent form. I can get it to work with Firefox, but not Internet Explorer. Also, when the iframe page changes (i.e. I click a link within it), the load event isn't fired again in IE (but is in Firefox). This
[jQuery] wrapText plugin (to wrap html around text nodes)
wrap() and innerWrap() are available for adding html around elements but this little plugin wraps html around text nodes: For example: jQuery code: $("LI INPUT").wrapText("<LABEL/>") Before: "<li><input/>some text</li>" After: "<li><input/><label>some text</label></li>" Note: This ignores empty text nodes or those containing just white space. Also ignores text in any child elements. I hope it is useful for some of you! Cheers, George (Tested in IE6, FF2.0.0.1, Opera9.10) // Plugin to wrap html around
[jQuery] html in taconite response
<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> <!-- /* Font Definitions */ @font-face {font-family:Consolas; panose-1:2 11 6 9 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt;
[jQuery] Update ThickBox inline content without reload
I'm implementing a window with the ThickBox plugin to add/view/edit comments. When the comment is being viewed, clicking an 'edit' button (in the TB window) should modify it to edit mode. I have a hidden <div> whose child elements I identify by ID, set, then pass the <div> to TB as inline content. TB then just copies the HTML to itself. This causes a problem because I wish this transition from view -> edit mode to occur without closing and opening the TB window, but because the HTML is being copied
[jQuery] How to ignore propogated events
Hi. I am using JQuery 1.1.1 I have the following structure (taken from treeview) and want something to happen when an <li> item is clicked. <ul> <li class="open">Item 3.0 <ul> <li>Item 3.0.0</li> <li>Item 3.0.1 <ul> <li>Item 3.0.1.0</li> <li>Item 3.0.1.1</li> </ul> </li> <li>Item 3.0.2 <ul> <li>Item 3.0.2.0</li> <li>Item 3.0.2.1</li> <li>Item 3.0.2.2</li> </ul> </li> </ul> </li> </ul> </li> </ul> This is the code when the item is clicked. $("li").bind("click", function(){ alert( $(this).text()
[jQuery] Tooltips and Google Maps
Hi list, I hope someone can help me with this. I'm attempting to use the hovertips plugin to display Google Maps but am having trouble getting the map to display. The test page I'm working on can be seen here: http://teamo.underdesign.co.uk/vis2.html Basically, the Google Map appears but it is only just visible in the lefthand side of the hovertip. Can anyone tell me what I'm doing wrong and how to correct it? The relevant source code can be supplied. Any help offered would be greatly appreciated.
[jQuery] Getting a development team to use jQuery
Hi Jake, I went through almost the exact same thing this January. My current project is a very large J2EE financial services project. We have a couple hundred developers world-wide on the project and when I came aboard we had no User Interface architect or UI engineer (which, IMHO, almost always seems to be an after thought in most IT projects). I was tasked to clean up the interface and bring a common framework for the html/css/javascript (dom/presentation/behaviors). There was so much CSS classes
[jQuery] jcarousel issue
I tried to pull up the image without the ";see|" at the end and I get a 404. That is probably why it is only showing the alt text. You probably have your images in a subdirectory and you need to change the path to reflect that. If you want to use the code as is, you need to name your thumbnail images with an "_s.jpg" and medium images to "_m.jpg". These are the naming conventions used by flickr. That is where the images are coming from. The main hurdle you need to overcome is finding the right path
[jQuery] Get text from selected dropdown option
I thought this was easy because it's easy to get the selected value from a dropdown but i ended up doing something like this $('#dropdown').change(function(){ $.log($(this).find('option').filter(':selected').text()); }); Is there another way to get the text? -- David Duymelinck ________________ david@icreate.be _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Using $.get in a link's onClick event
Hi, I have a simple link in my HTML page that I want to track when users click on. I thought this would be pretty simple, like so: <a href="destinationUrl" onClick="$.get('trackingUrl'); return true;">Destination</a> When I run the above code, I get no errors, but trackingUrl doesn't get hit. There's no record of a request to trackingUrl in my web server access log. How come? The URL I'm using for trackingUrl is of the form /foo/bar.png?name=value -- is that a problem? Must the URL be absolute, including
[jQuery] finding an image by src attribute
<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] select all images under a div, and change their widths proportionally?
hi, i'm new to jquery, and everyday i love it more. i have a question, couldn't figure out by myself. what i want to do is, select all images under blogreviews div, and if they are wider than 250px in width, make them all 250px. this did not work: $('//*[@id="blogreviews"] :img').css('width', '250px'); any ideas? thanks. alp _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] ajax GET test.js
<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> <!-- /* Font Definitions */ @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0;} @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal,
Next Page