[jQuery] is JQuery compliant to the OpenAjax Hub?
is JQuery compliant to the OpenAjax Hub? The documentation only states that it works within its own namespace, including glabals, but doesn't mention anything about the standard. Thanks, link to the hub: http://www.openajax.org/OpenAjax%20Hub.html -- View this message in context: http://www.nabble.com/is-JQuery-compliant-to-the-OpenAjax-Hub--tf3234996.html#a8989739 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] PanView for jQuery 1.1.1?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Helvetica, Arial, sans-serif">Hi all Anyone know of an update to the PanView plugin, or a replacement, that works with jQuery 1.1.1? Thanks. </font></font> <div class="moz-signature">-- <div style="font-family: sans-serif; font-style: normal; font-variant: normal; font-weight:
[jQuery] convert textarea loaded by ajax into tinymce rte
Im using jqModal to pop up a dialog with a page loaded using ajax load(...) in the remote page is a text area that I want to be converted to tinymce. The code below is the latest failed effort, do I need the plugin? Its the tinyMCE.init where it falls down going to a white page where it endlessly searches for textareas to convert. someone enlighten me! Matt. $('#dialog2') .jqm({ trigger: 'a.remote2', overlay: 0, closeClass: 'jqmdClose'}, function(h) { $('.jqmdMSG').load('thePage.php',function(){formatform()});
[jQuery] CSS: Wasteful requests when switching input image
Regarding; <input type="image" src="a.gif" /> Using Firebug's (FF 2) net monitoring, I noticed that every time I switched the src of an input image it would request the new src image from HTTP. FF simply does not cache these images. This is kind of annoying because it can waste a lot of bandwith or slow the user experience down -- especially when involving a lot of hovers, or frequent hover overs such as the close button of a modal window. I noticed this while looking @ the close button of jqModal.
[jQuery] Heads Up - I'll be giving a jQuery Presentation at Spring<br /> 2007...
I'm going to be giving a presentation on jQuery at Spring <br /> 2007 this year (http://www.sbconference.com/.) I'm planning on going over some popular plug-ins and some basic tips/tricks. Any suggestions? -Dan _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Interface Imagebox question and problem
Hi All, I'm using Interface (1.2) with jQuery (1.1.1) in a little gallery application (localhost based at the moment!). My problem seems to be that as I load a new gallery (Ajax) of images (with all the required 'rel' attributes etc) the Imagebox works perfectly for two or three galleries then starts showing (and animating) just a white box and the Imagebox 'add-on' section (with the close icon, etc). My testing is mainly with Firefox 2 on Windows XP (with Apache 2). Got other problems to solve for
[jQuery] Parent Selection Problem
Hi all, I've got the following problem ... Let's say I have the following html: <div class="parent" id="parent1"> <div class="sub"> <input id="parent1_Button" class="mybutton" type="button" value="button" /> </div> </div> <div class="parent" id="parent2"> <div class="sub"> <input id="parent2_Button" class="mybutton" type="button" value="button" /> </div> </div> Now given a JQuery object of any of the button, how can I select its parent div (the one with the class "parent") ? I have tried the
[jQuery] preload picutre won't work
Hi Everybody, I try to make a little picture preload function: [code] // JavaScript Document var pictures = Array(); var album = 0; var currentkep = 0; function startAlbum() { alert('x'); $('#loadpicture').remove(); if (document.pictures.length > 0) { currentkep = 0; $('#next').click( function() { alert('next picture'); } ); $('#prev').click(
[jQuery] Animate enlargement of a thumbnail image
Hi, I want to learn how to animate the enlargement of a thumbnail image. Any pointers where to look for tips on how to do it ? Cheers, Tobbe _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Drag Drop Add to Cart
Hi. I've just discovered JQuery & the interface addon available @ <a href="http://interface.eyecon.ro">http://interface.eyecon.ro</a> Noteably, I noticed a featured demo the guy had of dragging & dropping to add items to cart. I'm wondering if anyone is able to give me some tips or guides as to how I would add MYSQL queries to this. Ie. to make it a real working example, I'd have to execute a mysql query when a customer dragged an item to the cart, to insert their Customer ID & Product details into
[jQuery] Interface drag-drop: More than one draggables and more than one droppables problem.
I want to highlight valid moves for dragging square in a chess board. In the chessboard initial position Square f3 droppable by pawn on the f2 and knight on the g1. Because I am setting for square f3 two accept class but working only one. can I set square.Droppable ( { accept : validmoveclassesArray,............. One square can acceptable more than one piece and one piece can movable a lot of square. _________________________________________________________________________________________________________________________
[jQuery] Interface drag-drop: More than one draggables and more than one droppables problem.
I want to highlight valid moves for dragging square in a chess board. In the chessboard initial position Square f3 droppable by pawn on the f2 and knight on the g1. Because I am setting for square f3 two accept class but working only one. can I set square.Droppable ( { accept : validmoveclassesArray,............. One square can acceptable more than one piece and one piece can movable a lot of square. _________________________________________________________________________________________________________________________
[jQuery] Why compressed version of jQuery is not part of SVN download?
<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1250"> <meta name=Generator content="Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style
[jQuery] rounding the corners but making the background transparent
Hi, I used this JS to make my borders rounded ... $().ready(function() { $('#editPanelTitle').corner(); }); Here is the class-id definition: #editPanelTitle { background: #ffffff; position:absolute; font-family:verdana,tahoma,helvetica; width: 400px; display: none; } Problem is, the corners get rounded, but if I float my DIV above other elements, the space between the rounded corner and the normal rectangular corner is filled with white background, and I would prefer that this space be transparent,
[jQuery] jQuery for President
Alot of new snazzy sites are being launched for candidates running for president. Only one candidate is clearly going after the jQuery community. <span style="font-weight: bold;"><a href="http://www.barackobama.com"> http://www.barackobama.com</a> (jQuery!)</span> <span style="font-style: italic;">Although they are using 1.04. Hello? I was all on board until I saw they haven't upgraded. Wassup widdat? <span style="font-style: italic;"> Is the developer for this site on the list?</span> </span>
[jQuery] onclick - toggle the creation of a TR?
i have a page which lists in a table, information about movies. each row displays the movie title, release date, running time... what i would like to have happen is when a row is clicked, i want to add a row beneath the clicked row which will display the movie description and a thumbnail image of the cover art. the content for this new TR should be loaded via ajax from another page. then when the user clicks the original table row again, it should either: a) remove the tr we just added. b) hide the
[jQuery] I love JQuery
I just wanted to say thanks to everyone involved in Jquery's development. I tried a couple of other libraries but the approach, results and support of this project are so good it's the *only* choice. I was just sitting here, developing a form based application and wondering how I could set the width of all text boxes without applying a class to every single one, to distinquish them from other input elements. On a whim I tried $("input:text) and hey bloody presto it worked. Genius. -- View this message
[jQuery] Table striping, speed question
Just a minor (nice to know) question: When stripping multiple tables or lists on a single page $(.stripMe li:even).addClass('alt'); won't work as it itterates over all the li element regardless of the table they are in. So I went for: $('.stripMe').each(function(i) {$("li:odd", this).addClass('alt'); }); which seems a bit slow for the amount of list I used. Then I found the zebra tutorial with a new workaround: $('.stripMe li:nth-child(even)').addClass('alt'); Besides the fact that it is nicer code,
[jQuery] Finding element that matches anchor link
I just know this is a dumb question with a simple answer, but here goes... I have something like: <a href="#div1" class="trigger">Link a</a> <a href="#div2" class="trigger">Link a</a> and <div id="div1"></div> <div id="div2"></div> I need to match the link to it's div, but can't figure out the selector. Non working test js is: $(document).ready(function() { $("a.trigger").each(function(i) { targetDiv = $($(this).href); targetDiv.style.background
[jQuery] OT: Debugging PHP With Firebug
Warning! Someone might consider the following blatant self promotion... Anyway people developing with PHP and jQuery might find this useful. I wrote a Firebug handler / driver for PEAR::Log package. It enables logging PHP errors into Firebug console. I wrote it while debugging last project we did with jQuery and PHP. Got fed up checking PHP debug log and JavaScript debug log in different windows. http://www.appelsiini.net/~tuupola/312/debugging-php-with-firebug -- Mika Tuupola http://www.appelsiini.net/~tuupola/
[jQuery] bind and unbind after an Ajax Call
I have links with the class name 'jLink' that update After each AJAX Call I re-run a function named init (which is initially called via document ready) It does work but after two sometimes three clicks it stop working any ideas? this is the unbind / bind is inside that init function function init() { .... if(siteOptions.page.isInit) { siteOptions.page.isInit = true; $("a.jLink") .unbind('click') .bind(
[jQuery] bind and unbind after an Ajax Call
<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] how to filter a list
Today is not my day, I don't even the most simple things to work! :( I have three unordered lists, each of them has around 10 list items. All list items have an unique ID. <ul> <li id="1"></li> <li id="2"></li> <li id="3"</li> </ul> <ul> <li id="4"</li> <li id="5"</li> <li id="6"</li> </ul> <ul> <li id="7"</li> <li id="8"</li> <li id="9"</li> </ul> By using $.get I get a result from the server (PHP), this can be an array or a string (whatever is easier for the next step): Array ( [0]
[jQuery] getting children using XPath in IE
<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" xmlns:ns0="urn:schemas-microsoft-com:office:smarttags"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=ProgId content=Word.Document> <meta name=Generator content="Microsoft Word 11"> <meta name=Originator content="Microsoft Word 11"> <link rel=File-List href="cid:filelist.xml@01C75132.34494460">
[jQuery] Forms Plugin -- $.formToArray not serializing submit
Is it possible to have the Forms plugin $.formToArray include the clicked submit element (name/value pair) -- as the W3C standard does. Currently it seems to be ignored, even when semantic is passed as true. I have existing scripts which have (previously) assigned significance to which submit button was pressed. E.g. When calling $.formToArray() on --> <form method="post" action=""> <textarea name="exampleB" rows="5" cols="44">{$activate_msg|escape}</textarea> <input type="text" name="exampleA" />
[jQuery] Centering jqmodal dialog windows
> -------Original Message-------
[jQuery] Popup window and ajax
Hi there. I have a popup window - it calls a function in it's opener and closes itself. The opener function executes an AJAX request. The first problem was that the ajax call gets interrupted when the popup window closes. Then I've tryed another approach - to close the popup from the AJAX callback with standart windowName.close() But it seems that the callback is not fired at all. :-( I'm testing on FF, but I think that it's the same with IE6. Am I going nuts or there's some rational explanation?
[jQuery] Centering jqmodal dialog windows
Hi, What is the easiest way to center a jqModal dialog window? The examples from http://dev.iceburg.net/jquery/jqModal/ seem to have the windows at fixed points on the screen. Thanks, - Dave _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] http://jquery.com/api/ Currently not working
Just wanted to get the word out, I'm getting javascript errors when trying to access http://jquery.com/api/. - jake _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Can't get a 1 pixel rounded corner
> -------Original Message-------
[jQuery] Can't get a 1 pixel rounded corner
> -------Original Message-------
[jQuery] Can't get a 1 pixel rounded corner
Hello, Following advice on this mailing list, I visited http://www.malsup.com/jquery/corner/ to learn how to create a rounded border that was a different color than the inner DIV. I want to create a 1 pixel border, and so I changed the code in the first "Adornment" example to read ... $(this).corner("round 8px").parent().css('padding', '1px').corner("round 10px") but in both PC IE and Firefox, at the upper left and right box corners, you can see pointy box corners, whereas at the bottom, the corners
[jQuery] Target iframe generated by jquery
How do I target an element inside of an iframe I've created on the page? In other words, I've used jQuery to create an iframe, and now I need to target all the p elements of the document inside that iframe. I've tried $("p",self.MyIFrame.document).click(function(){alert('asdf');}); and also $("p",oIframe).click(function(){alert('asdf');}); where oIframe is var oIframe = document.getElementById("if"); The frame generated by jquery is straightforward: $('div#results').empty().append('<iframe src="'+t+'"
[jQuery] Question about .each()
Hi all, I have a question about .each construct. I have the following snippet code, but for some reason it doesn't do what I expected it to do. Have I missed something ? $(".MyButton").each(function(){ this.click(function(){ alert(this.id;) }); }); Thanks for the help, Chris -- View this message in context: http://www.nabble.com/Question-about-.each%28%29-tf3233682.html#a8985143 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing
[jQuery] technique to load pictures with an ajax loadingpic
I'm still wondering how i could load images like it is in interface::imagebox with an ajax loading image is there a special technique to do that..? i looked up in the source code of imagebox but i dont understand how to do that. could anyone give me a hint or a simple example how to do such things? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jqModal updated
I've updated jqModal to revision 6. Changes include; + Future proofed the auto-focus function against a fixed jQ pushStack(). Thanks Kard Rudd! + CSS Fixes + "closeClass" can be defined via a parameter. It is no longer tied to "jqmClose" + Fixed ajax "attribute selector". This allows the for dynamic definition of remote content. e.g.; <ul> <li><a href="ajax/page1.html" class="remote">Page1</a></li> <li><a href="ajax/page2.html" class="remote">Page2</a></li> <li><a href="ajax/page3.html" class="remote">Page3</a></li>
[jQuery] Taconite Plugin - New and Improved!
I've just rewritten my Taconite Plugin and added some pretty cool features. If you're not familiar with Taconite, it's an easy way to effect multiple client-side updates with the results of a single ajax call. With this latest version there is absolutely no code required to process command documents returned from the server. The plugin detects taconite responses and automatically processes them for you. Other changes: - Available commands now include almost everything in the jQuery API - Vastly improved
[jQuery] IE + Sortable = input elements could not select(), copy
hi all, has anyone tried putting a form inside sortable container? like: <ul id="sortable"> <li class="sortableitem"> <form action="/path/to/your/action" method="post> <input id="my_field" name="my_field" value="my looooong text..." /> <input type="submit" name="submit" value="submit" /> </form> </li> <li class="sortableitem"> foo </li> </ul> once initialize #sortable to be Sortable, the input filed #my_field becomes unselectable in IE, that is, you couldn't drag your mouse to select part of the
[jQuery] VERY simple img hover plugin
jQuery.fn.makeHot = function(settings) { var settings = jQuery.extend({ sub: "_hot", }, settings); jQuery(this).each( function () { var src = jQuery(this).attr("src"); var ext = src.substring(src.lastIndexOf('.'), src.length); src = src.substring(0, src.lastIndexOf('.')); jQuery(this).hover( function(){ jQuery(this).attr("src", src + settings['sub'] + ext); }, function(){ jQuery(this).attr("src",
[jQuery] thickbox + prototype = (Error: e[prop[p]] is not a function)
Hi All, Im trying to use jquery, prototype and jquery.thickbox.js on the same page. In jquery.thickbox.js ive changed all reference to $ to jQuery and all work well except when closing the thickbox window. I get a javascript error (refer below) and the screen stays greyed out javascript console error: ########## Error: e[prop[p]] is not a function Source File: http://localhost/simpleinvoices/include/jquery.js Line: 1582 ########## for a live example refer: http://simpleinvoices.org/svn/index.php?module=invoices&view=manage
Next Page