[jQuery] BlockUI plugin: message not centered once width or padding is given
<!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, I have a problem where if I specify message box css like so <pre><code class="mix"><span class="jquery">$</span>.<span class="plugin">blockUI</span>({ padding:'50px'}); OR $.blockUI({ width:'450px'}); </code></pre> your message box is not centered anymore, but more to the right
[jQuery] What does this do - transport.setRequestHeader("connection", "close")
I've been implementing Dan Switzer's autocomplete plugin on my site and I have everything sort of working (thanks Dan!) but ran into an issue with authentication. My site uses Windows Integrated Authentication (on IIS) and every Ajax request kicks off a login prompt... Dan found this: http://anotherdan.com/2006/6/8/ajax-and-integrated-windows-authenticatio n I replaced my compressed jQuery script with the source and commented out that line: // transport.setRequestHeader("connection", "close"); Which
[jQuery] Injecting JavaScript and CSS - Optimization Technique
Hi all, I have been using Ext and jQuery for a few weeks now. One issue with this combination is the sheer volume of JavaScript and CSS that needs to be used. Because I am working with a large application I have been experiementing with different techniques to improve performance, minimizing the download of JS and CSS. To read about my experiences and a new technique I am using you can view explanations and examples on my blog: http://matthew.delmarters.com/weblog/injecting-javascript-and-css-into-iframes/
[jQuery] Interface - Sortable with Form-Elements
Hi, i'm using the Interface-Sortable function from this Demo: http://interface.eyecon.ro/demos/sort.html All works fine, but when i have some form-elements inside the dragable container it won't work. Is there any trick to get this working. Thx for your answer/s Regards from Stuttgart/Germany Conny Sorry about my perfect english ;-)
[jQuery] Plugin: CFJS updated
Hi folks, Just a quick note to say that I've updated the library to fix a bug in the DollarFormat() function. Also, when I get a spare moment or three, I'll be adding heaps more CFScript functions to the library. The SVN on RIAForge (http://cfjs.riaforge.com) is probably the best place to get the code right now. The most recent version is 1.0.3. If you look at the top of the comments in the unpacked version that's what should be there. Thanks! Chris -- http://cjordan.info
[jQuery] Question about jQuery + CSS
hody 1. How to set the css in each() iteration? e.g. jQuery("a").each(function() { // change css // do the rest ) I don't want to use jQuery("a").css as it as imply two dom querying doing the same thing 2. How to set the following CSS? a:hover { font-size:20px; } Thanks.
[jQuery] am I in the last table row?
Hi, I have this HTML code <table> <tr><td id="1" class="tab">...</td></tr> <tr><td id="2" class="tab">...</td></tr> <tr><td id="3" class="tab">...</td></tr> <tr><td id="4" class="tab">...</td></tr> </table> and have defined this function $('td.tab').click( function() { ... }); What I want to do is determine within the function if the user clicked on the last table row (in the above example, the table row with id="4"). The ids are not fixed, I just included them to illustrate what
[jQuery] "id" is not a function?
Hi, I have this expression var parentElt = $("#newTabText").parents("td.topTab:first"); alert(parentElt.id()); and I'm getting a JS error on the second line, "id" is not a function. I have verified, through another alert statement, that "parentElt" is non-empty, contains a value, and has an "id" attribute. What expression should I write to get the proper id? Thanks, - Dave
[jQuery] mouseover + slide down question
I've set up a horizontal nav and have slide down divs for each element for the subnav. It works fine for now but when I run over the navs too fast i notice the subnav divs stay up because it'll wait until the animation is done before it treats it as a real div...anyways here my snippet of code here $("#navcontainer > div").each(function(i){ $("#subNav" + i).css({top: menuYcoord + ycoord + navItemHeight, left: menuXcoord + xcoord, position: "absolute"}); $("#nav" + i).hover( function() { $(this).css({background:"url(images/nav_on.gif)",
[jQuery] Will this code enable & disable a submit button?
Hi, all... Will the "onInvalid" and "onValid" lines in the code below work to enable & disable a submit button? Rick $(document).ready(function(){ onInvalid: function(form) { $(form).find("input[@type=submit").attr("disabled", "disabled"); }; onValid: function(form) { $(form).find("input[@type=submit").attr("disabled", ""); }; $("#Principal").blur(function(){ $.post("callpage_Validate_Mortgage_Inputs.cfm", {principal:$("#Principal").val()}, function (data) {$("#Result_Principal").empty().append(data)
[jQuery] Newbie code review please?
Having just made my first real piece of jQuery code, I'm already wondering if it can be made more concise :-) It's an unobtrusive mod to an existing page (in Best Practical's RT ticketing system). The page has a table of ticket entries, where of the TDs in each row is a checkbox. I want to be able to click anywhere on the row to toggle the checkbox. This is my currently working version. Can I attach an event to the parent's parent, but have the matching checkbox's ID passed to it, in one chain? $('input:checkbox[@name^=UpdateTicket]').each(
[jQuery] Clearing setTimeout()'s and Canceling Effects
I have a FadeOut and FadeIn effect that happens because of a recursive setTimeout(). I also want to have an action that lets the user pause/ stop the actions, but I am having problems with that "pause" action. Simplified code: var auto_fade = function() { fadeTo(changeTo_el); timer = setTimeout(auto_rotate, (settings.timeout+settings.speed)); } var pause = function() { clearTimeout(timer); } Now I would expect for this to kill the timer and stop the auto_fade, but it doesn't seem to.
[jQuery] How to Trigger a link , without 'click' event
Hi, 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) { ..... trigger this --> a href="#" id="ex3aTrigger" } ?> Thanks in advance
[jQuery] [PATCH] jQuery 1.1 star rating fix
I ran into some problems with the star rating plugin for jQuery 1.1. The issue is that (at least in Firefox) links with "#foo" get expanded to include the current page URL. The plugin assumes the href attribute is a simple "#5", so the rating isn't extracted correctly. I patched it to split on #, and it works for me. I couldn't find the email address for the original author, so I've attached my patch.
[jQuery] New To List - Question about JModal - DNR
<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] Spam on this list
Hi, Since this list is a google group I recieve considerably more spam over this list. Is that just me, or has anybody made the same experience? Christof
[jQuery] Litebox
Hi How can I add caption in Litebox? How can I setup the position of controls? I see the new feature auto-advance slide show but I need autoplay how can I do this with JQuery? So when my page open litebox start immediately. Regards macm
[jQuery] Thickbox opening twice
I have this:
[jQuery] val() on select box
i have a select box with name "brands" and i can access currently selected option using $('select[@name=brands]').val() will val() always return currently selected option? Aljosa Mohorovic
[jQuery] flash losing focus
hey, i got a swf with a game inside, the problem that some times when user plays in the game and press "space" or f12 or whatever... its scrolls down and stuff like that is there a way to make sure that allways the game will listen to the keys ? -- View this message in context: http://www.nabble.com/flash-losing-focus-tf3600936s15494.html#a10058499 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] change CSS
Are any way to set the stylesheet like: <link rel="stylesheet" href="/Inmo/libs_Ext/jquery/css/intranet.css" type="text/css" media="screen"> in runtinme?
[jQuery] vars in unnamed functions
this isn't the real code, just a mockup, but ... can someone explain to me why this works (as in, alert echoes 'ariel'): var temp = null; function init () { var aVariable = 'ariel'; var settings = { functionToCallLater: function (content) { alert(aVariable); } }; temp = new anotherClass(settings); } anotherClass.callThatFunction();
[jQuery] iFrame Content Update
I would like to update iFrame content with ajax call result like: jQuery.ajax({ type: "get", url: url , async: true, dataType: "html", success: function(data) { jQuery("#iframeTarget").get()[0].innerHTML=data; jQuery.unblockUI(); } }); But I don't how update the content: jQuery("#iframeTarget").get()[0].innerHTML=data; It works for a div but
[jQuery] Make a div expand to take up the rest of the viewport?
<!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"> <font size="-1"><font face="Helvetica, Arial, sans-serif">Hi all I've been playing about trying to get an effect similar to Google Calendar, where a div starts at a fixed point on the screen and then expands to take up the rest of the viewport. I think my calculations are off though, as
[jQuery] Web2.0 Expo
Anyone gonna be there tomorrow? meet up?
[jQuery] wanna see something pretty
i know its OT, but I look you guys. http://www.wefeelfine.org/
[jQuery] Interface: Speed of SortableDestroy()
Hi there I'm using Sortables on a calendar application. Each day on the month calendar is a "drop" container, and in each day there and between 0 and 12 "draggable" items. I have navigation that clicks me from one month to the next, and in order to keep performance (as the navigation is using ajax) I'm running SortableDestroy() on the current month before going to the next month. If I don't do this then dragging becomes slower and slower very quickly. However the current performance of SortableDestroy()
[jQuery] How to apply thickbox effect to a loaded ajax content?
I need to keeping applying Thickbox effect to a ajax content like bellow: Before click on button to load ajax content: <script> ... $("#loadhere").load('http://localhost/test/moreinfo.php?id=1'); </script> <div id="loadhere"></div> After loaded content, i got it in memory: <div id="loadhere"> <a href="teste.html? keepThis=true&TB_iframe=true&width=640&height=350" class="thickbox">click here for more info</a> </div> But thickbox effect doesn't work... i'm beeing redirected to teste.html and the window
[jQuery] Altering jQuery (packed) to work in greasemonkey
I really like using jquery & greasemonkey together to make userscripts for sites and so far I've been using the method outlined here to insert jquery into a websites page. http://joanpiedra.com/jquery/greasemonkey/ But I would really like to include the packed version within the greasemonkey userscript itself so that the greasemonkey script runs a little bit faster and also doesn't tax the jquery.com site by every user having to download the script from the site. There is an altered version of jQuery
[jQuery] Multiple .bind
I'm binding a click function. If I include either one of the binds it works -- so the syntax and object references are correct. If I include both binds they do not work. No errors, they just don't trigger. function tocDisplay(e){ $('#toc_content')[e.data.mode](); } $('#toc_header').bind('click', {mode: 'toggle'}, tocDisplay); $('#toc_content a').bind('click', {mode: 'hide'}, tocDisplay); Is there a problem binding the same function to multiple objects? ~ ~ Dave
[jQuery] AJAX datagrid (paging & sorting) with jQuery?
Hi folks, has anyone developed a datagrid that supports paging and sorting via AJAX using jQuery? Is there any code or plugin I've totally missed? Any examples, reports about certain difficulties (maybe even a jQuery-based datagrid with JSF) are highly appreciated. Regards -- Jörn Zaefferer http://bassistance.de
[jQuery] Loading Thickbox from Ajax Content Link
Hi. I'm trying to load thickbox from ajax content link, but it isn't working. I have tried to include thickbox.js into Ajax Content Page, but after this the windows loaded twice with the same content and one bellow another. I try to add TB_Init() call to the end of the ajax page, i solve one problem like another post here mentioned, but i got another bug... The link from ajax content works ok, but when i use a link from the parent (original content), the Thickbox window open twice. How to solve it?
[jQuery] More AJAX and link issues
Hey again folks, Since my last email, I had decided to go with a small change in design. In my application, I have 3 areas: .primary .subnav .content .primary is the top of site navigation. This is for entries such as Home, News, Events, Login/Register. With my code below, what I want it to do is load the content into the .subnav area (which it does on first load of the page) and then reparse the document for .subnav links (which it's not doing). When a .subnav link is clicked, this should load into
[jQuery] Working with accordions - Parent category without Child
I am very happy with jquery. And I have been playing around with it over the last couple of days. I am a designer with a heavy reliance on IDEs like dreamweaver. So my coding background isn't strong, so please forgive this question if it is too out of place to ask here. I am using this code: <script> $(document).ready(function(){ $("dd").hide(); $("dt a").click(function(){ $("dd:visible").slideUp("fast"); $(this).parent().next().slideDown("fast"); return
[jQuery] jqModal confirm and alert override
is there a way to pause js execution when overriding alert and confirm with jqModal (just like the original behavior)? thanks Laurent
[jQuery] Plugin authoring
Hey all, I've been working on my first jQuery plugin, it's going to be called jqURL. It handles some url parsing tasks and does a few other nifty things. But, I have a couple of questions -- I want to make sure I'm going about things the right way. 1) I'm not adding any methods, just functions (I think) - the calls would be in the form $.jqURL.myfunc() -- so am I writing a plugin or an extension? 2) Since I'm writing functions, rather than methods, in those cases I don't need to return the jQuery
[jQuery] Autocomplete plugin status2
Hi folks, for anyone interested in the progess of the autocomplete plugin I've uploaded the current demo: http://jquery.bassistance.de/autocomplete/ There are already a few notable improvements: * completeting multiple values works much better, whitespace is ignored and cleaned up whenever necessary * the search term is highlighted in the select box * select box can be closed with esc key * use dimensions plugin to calculate offset of input element, providing a tons more robust calculation even in
[jQuery] Autocomplete plugin
Hi folks, especially Dan and Dylan, I'm in the process of evaluating jQuery's autocomplete plugins. Dan's port of Dylan's version provides most of the stuff I'm interested in, but lacks support for entering multiple items in one field. I found another mod for that purpose, again lacking some proper documentation while providing at least a download. I've also tried the Interface autocomplete, but it's behaviour is simply too far away from what I want. What I'd like to know: Are there any plans to
[jQuery] intimate dating
Search Profiles - FREE! Intimate Dating. Start Chatting within seconds - http://offr.biz/HLMAT286251KJGHEDC
[jQuery] Triggered Event not returning correct target
Hi everyone, So i'm working on a default form button script, which is really easy and i was able to get it to work. Problem is i have a div/panel listening to click events and i need to get the default button from the event.target property. Thing is when i trigger the default button's click event programmatically, i get the last element before the user hit the "enter" key instead of the button. The only way i can get around this is to dispatch the event manually. Anybody else run into this and is
Next Page