[jQuery] Cycle Plugin update
I've just uploaded a new version of the Cycle Plugin: http://malsup.com/jquery/cycle/ This new version adds some new transition effects, the ability to create custom transitions, and the ability to transition on a click event rather than a timeout. But the biggest change is an overhaul to how transitions are defined. Transitions are now defined using a plugin scheme. This means you can create your own transition definitions, plug them in to the Cycle Plugin, and then use them by name. This provides
[jQuery] Attn Jorn: Updating API Browser
Jorn, I have always been a fan of your API browser at http://jquery.bassistance.de/api-browser/ but now that 1.1.4 is out, I'm wondering if you'll be updating it, or is there a way I can rebuild the cat.xml myself? Also, is there any way to include other plugin functions into the browser, as I would love to have a handy one-stop shop for all the plugins I use, rather than having to refer back to their homepages every time I need something. Thanks in advance. -- Tane Piper http://digitalspaghetti.me.uk
[jQuery] Need tips on how i can optimize the scripts on this page...
Hi all! Just have gotten my head into the jQuery stuff and while updating the companys website this summer i have now run into some problems. The scripts on the page causes an error message to pop up from time to time (mostly on IE6 but also in IE7 and in Firefox). Any tips on how i can get these errors to, if not disapear completly atleast lower in amount of times... The website is located at http://www.restaurangguiden.com ... the content is in Swedish so to try it out, click on any of the graphic
[jQuery] jMedia flash replacement
<HTML > <HEAD> <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD> <BODY > <DIV> <TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0"><!-- Letter Heading --> <TBODY> <TR> <TD><!-- Left margin --> </TD> <TD> <DIV><SPAN class=137071508-24082007><FONT face="Trebuchet MS" size=2>Hi all,</FONT></SPAN></DIV> <DIV><SPAN class=137071508-24082007><FONT face="Trebuchet MS" size=2>I've been using jMedia for inserting Flash content,
[jQuery] Dynamically assigning validation rules with Validation plugin
Hi all, I have a text input field declared to be used for searching a database. The users can search for a zipcode, city or company name based on what the choose using a radio button. How can I then dynamically assign different validation rules to the input field using Jörns Validation plugin? Thanks
[jQuery] $('<tagname/>') syntax in IE
In IE, $('<div/>') is ok but $('<span/>') always returns an empty set. It seems that <tagname/> syntax is only ok for block elements.<br clear="all"> So it's safer to always use $('<tagname></tagname>') syntax for elements that requires a closing tag. -- Arrix
[jQuery] Selecting an option?
I'm trying to select an option in a successful callback function using the following syntax: $('select#make > option').('#null').attr({ selected: "selected" }); Does anyone here see what's wrong? Thanks.
[jQuery] Help with re-populating a server-side select box using JQuery
Hi all, I have some very rudimentary HTML markup w/ serverside PHP that populates a select box like this: <select name="make" id="make" onchange="if ((this.value) == 'add_make') { $('#addMakeOption').show(); } else { $ ('#addMakeOption').hide(); }" > <option clas="staticOpt">**********</option> <option value="add_make" class="staticOpt">Add Make</option> <?php foreach($makes->result() as $make): ?> <option value="<?= strtolower($make->name) ?>"> <?= $make->name; ?
[jQuery] JSON MIME type?
I'm using the jQuery Form plugin to call an <a href="http://ASP.NET">ASP.NET</a> 2.0 page. The call works just fine, but the response never comes back right. If the Response.ContentType is set to "text/plain" the page gets forwarded to a plain text JSON result. If the Response.ContentType is set to "application/json" the browser attempts to download my aspx page. All I want is for the result to be forwarded to the success event handler. Could it be the content type parameter, or is there more
[jQuery] How do i group events?
Hi, I have a 'a' element with the onclick event. I wanna use this event with another. Something like this: $( 'a' ).click( function() { // if this element already has a event this.click && this.click(); $( this ).css( "border", "1px solid red" ); });<br clear="all"> Estevão Lucas
[jQuery] BlockUI: Odd behaviour in Internet Explorer
I have been attempting to build functionality into my AJAX app that blocks the UI while the XML is loading. At first I thought I could do this quite simply with a DIV over the top of the content, but as it became increasingly aparent that IE 6 wouldn't work with this approach I went with the blockUI plugin instead. I got it working without too much difficulty but I noticed some odd behaviour in IE. Once the interface has been restored the IE download progress bar is still showing and the throbber
[jQuery] [NEWS] Comparison of different compressed jQuery Versions with GZip
Julien Lecomte has just released 1.1 of his YUI Compressor. As a test, he decided to use jQuery with GZip and came up with some interesting results compared to packer! http://www.julienlecomte.net/blog/2007/08/21/gzip-your-minified-javascript-files/ -- Tane Piper http://digitalspaghetti.me.uk This email is: [ x ] blogable [ ] ask first [ ] private
[jQuery] OT: building a CSS-only nav system
This showed up on digg today and i thought it might interest some of you, or inspire some of you to write a plugin: http://www.pupinc.com/browser/
[jQuery] AjaxStart and AjaxStop only on certain requests
Hi, I'm using this piece of code: $().ajaxStart(showblock).ajaxStop(hideblock); To show and hide an overlay with the "loading..." message in it when an ajax funcion is running. I'm using also jtip, with an ajax request, and here come the problem. When I point the mouse over the element that open jtip my overlay continues to open and close, without showing the tooltip. In this moment I can't view the doc site then I ask you. There's a way to avoid for particular call the default ajaxstart and ajaxStop?
[jQuery] Clear element's style in IE?
<div>I'm using this to clear an element's style (as set by developer's) and it works great in FF but not IE. Any thoughts?</div> <div> </div> <div>$('input[@type=submit]').attr('style', '');</div> <div> </div> <div>Cheers,</div> <div>-js</div>
[jQuery] jCarousel & IE infinite loop alert on browser resize
Hello All, First off, cheers to the people who develop jQuery and the many developers that have created plugins for it. Now onto business... I am developing a webpage that uses ajax calls to insert html code (pages) into a div. One of those pages is a slideshow which uses jCarousel. It works great in Firefox, but in IE when I load up the slideshow and then set the div the slideshow code is in to blank, I'll try to resize the window and then I get an alert box saying "jCarousel: No width/height set
[jQuery] Can someone explain this string behavior?
I think I have a "theory" about why this is happen and it might not be jQuery related but just Javascript, but maybe someone can explain this because it is so odd. This is the code: logln("wcError "+IsHidden('wcError')?"hidden":"not hidden"); logln() is a function tha basically appends text to a log window. However, I don't see "wcError hidden" or "wcError not hidden" but rather: " hidden" or "not hidden" in other words, the left side string "wcError " is not concentated. But the following works:
[jQuery] Can I address cross-domain issues with the "$.ajax(properties)" function?
Below is the code I am currently using (can also be view at http://matthewmoore.info/jssamples/ajax-code.html). However, right now I keep getting a "XMLHttpRequest" error because my JSON object comes from a sub-domain. Is there any way to address cross-domain issues with the "$.ajax(properties)" function? <code> <div class='code'> <font color='black'><! DOCTYPE html PUBLIC </font><font color='#808080'>"-// W3C//DTD XHTML 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"</font><font
[jQuery] how to get the height of a div?
Hi, how I can get the height of a div? There is a div element in the xhtml DOM filled with dynamic content from a database. The height depends on the database content. I tried something like this: $('#divElem').height($ ('#divElem').getMaxHeight()); but it didn't work.
[jQuery] end(), this bug unknown
Hi all, recently I have read the slides published by John Resig about his first Google Tech Talk: http://ejohn.org/blog/building-a-javascript-library/ In the slide number 50 there is a little example code: $("div.section") .find("dt") .addClass("section") .onclick() .next().toogle().end() .end() .end() .find("dd") .hide() .filter(":first") .show() .end() .end(); In a first moment, I thought: "ok, wait a moment, I need read this more slow". And later, I opened my mouth, and said wooowww!!!, Can I
[jQuery] Multiple Select Select Box
Is there a jQuery plugin that select you create a multiple select select box? -- View this message in context: http://www.nabble.com/Multiple-Select-Select-Box-tf4318846s15494.html#a12298066 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] $.load(url) and IE fails to find CSS/JS
Hi, I'm sure this is a stupid error on my part but it's driving me crazy. I have a bit of html that I want to inject into my page like so: $('#target').load('page.html'); Now this works, but I find that if 'page.html' contains a script and style section IE won't process it, but Firefox seems to. What I mean is that if the 'pages.html' itself contains some inline javascript than Firefox will execute it but IE doesn't. So for example my 'pages.html' might look like (this is abbreviated, but I think
[jQuery] How can it be done?
Hi I discovered jQuery few weeks ago and start playing with it few days ago. It's really good tool but I have not found anywhere the feature or hack to do what I need in one of my applications. Is there a way to manipulate objects that are not yet part of the DOM? In another words I need to manipulate on some objects but I only have reference to it. Example: var table = document.createElement('table'); //here i do all sorts of table row and cell inserts. Very dynamically driven code //here would
[jQuery] Downloading the lastest build?
Is there a way to download the lastest build(not meaning 1.1.3.1 but the very lastest build that has not been offically released). I heard that the next build should fix some issue with safari(correct me if i am wrong) and just want to test those out. -- View this message in context: http://www.nabble.com/Downloading-the-lastest-build--tf4318581s15494.html#a12297060 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] OT: Is this a Javascript bug?
I posted this as a subtopic in another message, http://groups.google.com/group/jquery-en/browse_thread/thread/f54857cfb9e24dd9/fa98fe39cc523699#fa98fe39cc523699 but I now see that probably is a separate JS issue that the purist here might appreciate. Not to long ago, I came across JS behavior and just noted it down. The issue in the reference link above reminded me of this. This code is basically part of First, Prev, Next, Last, table navigator for our ad hoc report/table generator. It is pre-jQuery
[jQuery] Place value of "navigator.cookieEnabled" into an object. Why won't this work?!?!?
<!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.6000.16525" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=203160513-23082007><FONT face=Arial size=2>I'm using Javascript to collect some information about the user's browser and setup to pass into an AJAX call. The goal is to load up a page, have this code run and submit this packet to a page in the background, then redirect
[jQuery] Animate scrollTop
I was wondering if the changes that allow animate scrollTop would be making it to the next release? e.g. http://dev.jquery.com/~john/ticket/step/test2.html
[jQuery] auto scrool
Hi, I have to find a solution for auto scroll. I'm thinking of an iframe and a script which would scroll a page without user interaction. When it would reach the end of the document (page) it would start again from the top (or go backwards up). Has anyone found something similar? Thanks! BR
[jQuery] Form Plugin - How to repopulate fields with updated data?
Hi All, I'm using the Form plugin to submit data to a processing page and upon success, show a notification to the user. My form has 6 fields, one text and 5 textarea. When the form is initially filled out and submitted the user sees a div get updated for confirmation. Now if the user changes any of the fields and submits, they get the confirmation but the changed fields revert back to the data they were showing before the update. I'd like to repopulate the fields with the updated data if possible.
[jQuery] event-binding
hello, im currently developing a media-db using a table in whose rows the media is displayed. each row may slide-up/down to show details. each detail may be in-place-editable. after having lost a lot of dblclick-event-handlers (without any known reason), i changed the event-handling to event-delegation, which works just fine. however there are some problems left: i want to edit <select>-tags to append new options. however the select does not propagate the dblclick-event. link-tags to external-hrefs
[jQuery] [NEWS] Brandon Aaron on Ajaxian...AGAIN!
jQuery team member and JS superstar Brandon Aaron is all over the place these days and with good reason; his coding skills rock. Brandon's Live Query plugin made it to Ajaxian, Brandon's second mention on the premier Ajax blog! http://ajaxian.com/archives/jquery-live Great job Brandon! Rey...
[jQuery] bind/unbind leak
The following code when ran in IE6 (not sure about 7) will produce some kind of leak. It can be identified by bringing up 'Windows Task Manager' and viewing the CPU Usage History. The CPU hits slowly increase over time. (Link against jquery-1.1.3.1.pack.js) Is there an error in my code? <html> <head> <script language="javascript" src="jquery.js"></script> <script language="javascript"> var timerTask; $(document).ready(function() { timerTask = window.setTimeout( callback, 500 ); }); function callback()
[jQuery] Interface scrollTo - needing callback functionality (attn Stefan)
According tot he documentation on the Interface website the scrollTo method should support callback functions. I am not sure if it does, upon looking at the source. From Stefan's website: duration integer or string > mandatory callback function > optional Callback function that will get fired once the effect is completed. easing string > optional The name of the easing effect you want to use. I am seeking to run the scrollTo function first - in the following scenario: scrollTo > to top
[jQuery] Floating box that follows the user down the screen
Hiya, On part of a site I'm working on I want to add a floating help box which moves down the screen as the user scrolls down the page. It shouldn't move horizontally, and vertically it should remain within its container so that it doesn't cover the site header or footer. Is this possible using jQuery? It's not mentioned in the tutorials, but the interface demos on eyecon.ro imply it might be. Thanks, Ben.
[jQuery] Select box help from ajax
Hello I want to associate a select box coming from ajax to change function of form which is defined in the page. Can anyone help me $('#frmNewDev select').each(function() { $(this).change(function() { if(this.id != "sl_developer") { var load_image = "<img src='http://" + this_domain + "/images/ common/loading.gif' />"; //$('#nn').html(load_image); $.get('http://' + this_domain + '/cp/ajax_cp_locality.php', {cat_id: this.value},
[jQuery] how to delay a event?
hi, I have a small jQuery script, that get some data over the server on every keypress by the user, but I don't to perform such action every time when the user presses a key, specially if between key presses happens in short amount of time. How do I delay this event? Here is my script $('input[@name=search_item]').keyup(function(e){ if (e.target.value != ''){ $.get('/main/search_item/', {search_item:e.target.value}, function(data){
[jQuery] jCarousel infinite loop problem on Internet Explorer
Hi, i've got a jcarousel implementation wich adds elements on runtime via the add function. While in ff it works as expected in ie seems like triggering some sort of javascript infinite loop... Is it a known problem? Is there a workaround? It looks like something connected with css width and height... but i'm very unsure about that.... Any hint will be greatly appreciated..! thanks in advance thorfinn
[jQuery] jquery.media, plugin detection , flip4mac
Hi there, I am looking into the jquery.media plugin, however I need to be able to include multiple formats into the one page, and then make them switchable with links, ie we will have videos in both flash and windows media. The problem here is , there doesnt seem to be any detection features and display an error if the plugin is missing, it doesnt detect for flip4mac and display that instead of the windows media plugin, and then it also doesnt seem to support the express installer for the flash installer.
[jQuery] Rails: attaching js to a partial
Hi, Im currently using Jquery withing my rails project and im having the following issue. Once an option is clicked on the navigation bar a partial is loaded in to a container div. The same thing happens for each of these options. When the partial is loaded in though I am unable to attach click events to the buttons within that partial because the partial doesnt actually pick up on the document.ready (obviously as it didnt exist when the document originally loaded). I'm aware that I can fire a function
[jQuery] [NEWS] Minglets - jQuery on the iPhone
Just read on Ajaxian that Minglets.com, a "social chat app" for the iPhone uses jQuery and YShout... http://ajaxian.com/archives/iphone-apps-facebook-and-minglets http://minglets.com/ I don't have an iPhone, so I couldn't see for myself. --Klaus
Next Page