[jQuery] Sortable Lists
I am attempting to build a forms page, however using some sample code the page is draggable After using a simple jqeury statement to add to this form, nothing is draggable/sortable. However before it was. Is there another way of doing this, or am I doing something wrong. I have pasted my javascript genereated draggable div into the html and it is draggable so its something to do with jquery not posting to the dom fully, err i dont really know. Below is the code I am using. ------------------------------------------------------
[jQuery] [ANNOUNCE] New JQuery Site: 64squar.es
64squar.es is a completely free, fully featured and easy to use online chess site with a clean simple interface. Users can play opponents in real-time by dragging and dropping the pieces just like a real chess board. Ajax is used to make your moves on the opponent's board and vice versa. We are trying to blur the distinction between real-time online play and correspondence chess. If a user is not online when a move is made, they are sent an email. Other features: * Customize board color * In game
[jQuery] Field Plug-in Update: Added $("form").formHash() method....
I've updated my Field Plug-in with a new method called formHash(): http://jquery.com/plugins/project/field The formHash() method allows you to easily grab all the values in your form as a hash map/structure or you can set the fields in your form based upon a hash map/structure of values. The formHash() method is a perfect companion to AJAX JSON operations--allowing you to easily fill in a form based upon a JSON packet. Examples: $("#formName").formHash(); Returns a hash map of all the form fields
[jQuery] bgiframe broken by 1.1.3.1
<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] ajax api question
Hi, I am using $.post() function, I don't understand what is callback function ... what is the difference between $.post('test.cgi', params, function(data) { alert(data); } ); and $.post('test.cgi', params, alert(data)); the data being shown is different. and I don't seem to understand what is the difference in function(data) {alert(data);} from alert(data). For me function(data) {alert(data);} is just a function taking the data and just passing it to the alert(). Is function() inside the $.post
[jQuery] Show / hide options based on class
Hi all, I've got two select boxes side by side - initially the right hand side box has ALL options in it - and the left hand box can be used to filter the options displayed. Probably not the best way to do it (in fact, defintiely - it doesn't work in IE) but the left hand list has options whose values correspond to class names of the options in the right hand list. When an option in the left hand list is selected, all options in the right hand one which DON'T have this class are hidden, and all which
[jQuery] announce: yet another minimal tabs implementation
Hiya! What jQuery needs now is yet another tabbed interface plugin. Yeah, right!!! My 2nd jQ plugin: http://wanderinghorse.net/computing/javascript/#bogotabs It's nowhere as feature-rich as idTab or Klaus' tabs, but we can't all be rich, can we?. Using it looks like this: $('#BogoTabPlaceholder1').initBogoTabs({ '#BogoTab1': { label:'First Tab' }, '#TabSourceCode': { label:'Source code' }, '#TabStyleSheet': { label:'Style sheet', onselect: function(tab){
[jQuery] jQuery and Google Gears?
I would like to kwown, if the jQuery pretend lo release something related with Google Gears.
[jQuery] addClass only works once
Im using the code below to display / hide form fields depending on what value is selected from a drop down list (id='category'). the optional form fields are all hidden by default when DOM is ready, using $(document).ready(function() { $("#dimensions").addClass("hidden") $("#size").addClass("hidden") $("#language").addClass("hidden") $("#inthebox").addClass("hidden") $("#color").addClass("hidden") }); when i select "games", the p's with id 'dimensions' and 'inthebox' appear -
[jQuery] .click() fails in 1.1.3 (work in 1.1.2)
<script src="http://jqueryjs.googlecode.com/files/jquery-1.1.3.1.js"></ script> <a href=# onclick="alert('Hello');">Hello</a> <script> $("a").click(); </script> this page will automaticly show alert window under 1.1.2, but not in 1.1.3.1
[jQuery] slightly OT: tiny webdesign utility
Hi, all! i wanted to pass along a trivial utility which i find indispensable in my day-to-day web work. It's 100% cross-platform and doesn't require any special know-how to use. i call it a "PNG Image". Here's how it works... Grab this image: http://wanderinghorse.net/computing/webdesign/1600x1200-screen-sizes.png (16k) Note that it is 1600x1200 pixels (the size of my screen resolution) and within it are several boxes, each one the exact size of a common screen resolution (e.g. 1024x768, 800x600,
[jQuery] Interface: Draggable table row in IE
Hey everyone. Over the past couple of days, I've discovered the magic of jQuery and am in love! However, here's my situation. I'm basing a project on the "Folder tree" demo on the Interface website. What I need is to take a row out of a table and categorize it by dropping it in a folder. Easy enough, I've got it all working wonderfully in Firefox. The problem is, I haven't been able to convert everyone else to the 'fox, so for now I'm stuck with supporting Firefox & IE. I can take the row out of
[jQuery] fadeOut in IE7 /Opera doesn't happen?
I am trying to do an AJAX function that will let someone delete an item in a directory (table) of items. Here is my jquery code: function destroyMe(newsID) { var thisData = "newsID=" + newsID; var thisTR = "tr#" + "newsID" + newsID; $.ajax({ type: "GET", url: "index.cfm?mode=testonly.deleteDo", data: thisData, success: function(domRemove){ $(thisTR).fadeOut("slow",function(){ $(thisTR).remove(thisTR);
[jQuery] Calling jQuery from within a ThickBox
Hi, I'm guessing that I'm doing something wrong ... I've want to be able to collpase some DIVs on a form but when the form is in a thickbox it doesn't work, when it isn't it does. Any help would be appreciated. Thanks!
[jQuery] Select radio button item
I have a radio button group with 4 items, each one has a value (1,2,3,''). On click in a button of my form I would like the check the radio button with '' value. I supose that I can access to the radio group ussing $("@idRaio") but then I don't know how can access to the item with value='' Any idea?
[jQuery] Load Google Analytics from jQuery
Hello! I guess if any of you have tried to load Google Analytics from JQuery. What I want to do is as simple as this: My original footer: ************ footer.php ************ <div id="footer">something</div> </body> </html> ************ /footer.php ************ Instead of put the Google Analytics on the footer, I want to include the coce before DOM is loaded: ************ header.php ************ [...] <script type="text/javascript" src="/media/js/jquery.js"></script> <script type="text/javascript">
[jQuery] Best way to use an ajax comment system?
Hey everyone, I am using the form plugin (great btw) and the .load function (I need to because i am using cakephp) I was wondering, what is the best way to go about updating the comments? So far I have just been updating the whole <div> that contains all of the comments. I feel I may be putting too much strain on my server when I do this. Does anyone have any comments on the best way to do this. Any advice is GREATLY appreciated.
[jQuery] Strange behavior
Hi Folks I
[jQuery] http://:/ issue?
Hi all I have on my server and see it on this page too: http://dev.iceburg.net/jquery/jqModal/ a problem. There is a call to http://:/ initialized from the JQuery library. Any idea what forces JQuery to do this call? Regards Roger Ineichen _____________________________ Projekt01 GmbH www.projekt01.ch _____________________________ END OF MESSAGE
[jQuery] autoHeight Plugin
Anyone knows how to do for this to work on Opera? I have tested on IE, Firefox and works perfect, in Opera don't do the trick. The Plugin Site: http://lib.mobius.tw/jquery/myplugin/iframe_autoHeight/api.htm Cheers!
[jQuery] Select radio button item
I have a radio button group. I would like "check" an item when a user click on button. The radio group has 3 items. I know that I can get the radio button group using: jQuery("#idRadioButton").click() However I dont' know how select an item specifically (for exemple which has value='') thanks
[jQuery] Draggable Thickbox?
Hi all, I'm using a thickbox to display some content on a client's website. They've now asked if it would be possible to drag the box around the screen (presumably in case it's obscuring something) - is there an easy way to make the Thickbox draggable or, alternatively, a different plugin which offers similar functionality AND the ability to drag? Regards, Michael Price
[jQuery] Slider Example
Does anyone have a version of the Interface Slider on a public site? Something tricked out and nicely designed? Not the demo, one in the wild. :) Glen
[jQuery] strange behaviour with jquery and forms plugin
Hi, I am having this strange behaviour. I have a div with several forms (9) inside: <div> <form class="xx"> <input type="file"...> </form> <form class="xx"> <input type="file"...> </form> . . . </div> en each form I have an input type file component, and the goal is to upload each file separately to give feedback to the user, and to avoid problems with server timeout. So, I do the following to retrieve all forms: $('.xx') but in Firfox is skipping the first one, and IE get all forms OK... later on,
[jQuery] getScript Safari fix
I have no idea if this possible solution to making getScript work across all browsers (including Safari) has already been mentioned, but I thought I'd provide it in case anyone was looking for a way. I've seen uses of timeouts and such to try to figure out when a script has been loaded, but ultimately I think this solution is better. It gets javascript (and css) by means of AJAX, then dynamically creates style and script tags and appends the text content of the ajax response. Of course a few browser
[jQuery] Passing Variables to BlockUI Plugin
I am trying to pass a variable to the BlockUI plugin. Right now I have mimicked the demo page at: http://malsup.com/jquery/block/#dialog the only thing that I have changed is instead of clicking on a button to open the modal window, you click on a link with a specific class. I have many links with this class, thus many different was to open the same modal window. What I would like to do is grab the ID of the link, and pass that to the modal window so I can use that in the URL string for the page
[jQuery] construct a MAP
Hi, I am using the $.post() function, the second parameter is a Map which is Key/value pairs that will be sent to the server. how do I create a map to use in $.post(). I can't find any information about map for javascript may be it's not supported? and this map is in jquery only? is this correct way to make a map? a_map = {name:'james', age:'27', location:'HK'} Thanks james
[jQuery] how can I prohibit from users pasting content into text boxes?
how can I prohibit from users pasting content into text boxes?
[jQuery] jVariations r2 = developer plugin/tool updated
I've recently updated my jVariations plug-in (not sure if anyone was using the old version). It is a developer tool that allows you to toggle variations (aka corner cases) on a single HTML page. Useful for rapid visualization of code changes... before weaving in the real DHTML calls or handing files over to server-side engineers. <a href="http://cherne.net/brian/resources/jquery.variations.html">http://cherne.net/brian/resources/jquery.variations.html</a> What's New: - Supports chaining! - Ability
[jQuery] Another speed test
<a href="http://extjs.com/blog/2007/07/10/css-selectors-speed-myths/">http://extjs.com/blog/2007/07/10/css-selectors-speed-myths/</a> <rant> "div div div", we are slowest by like 50 ms, but "div div" we are not slowest, and within 9ms of the leader. Who uses "div div div"? <pun> What "div"ference does it make? </pun> Plus, some of the libraries are packed, and some are not. (jQuery is not) Would that change the results? Are we really nitpicking about 10's of milliseconds? No mention of
[jQuery] need help about selector( select by element id)
I want to select a <a> tag with id "test", like this: <a id="test">something</a> what should I do? thank you.
[jQuery] Problem accessing current element from plugin
Good Afternoon All, I currently in the process of writing my first plugin, but I seem to have run into a bit of a snag. The plugin will simplify using the Yahoo Maps AJAX API, and as such requires an empty container to draw the map in. I have an empty container on my page: <div id='mapContainer'></div> I'm trying to tell the plugin to use #mapContainer to draw the map in: $('#mapContainer').ymap(); I've tried using: var self = false; var map = false; return this.each(function() { self = this; map
[jQuery] repost announcement: color picker plugin
Hi, all! [i apologize in in advance if this shows up twice, but several of my posts/replies today have either never hit the list or disappeared *after* they hit the list.] The subject line says it all: here's another color picker plugin: http://wanderinghorse.net/computing/javascript/#colorpicker Main features: - Can fit into very small spaces. - Requires no images. - appearance/layout is [nearly] fully customizable. Have fun!
Forum Rules [PLEASE READ BEFORE POSTING]
Hello, and welcome! This particular forum is for sharing applications you've made using jQuery. Here are some tips: Let us know what your platform is other than jQuery (PHP, ASP, etc) If you're pasting code, use the PHP bbCode tags to highlight. Thanks!
[jQuery] BlockUI, order of ops issue
Earlier today I was looking at sorting code like this: <div id="entries"> <div class="entry"><span class="foo">foo1</span><span class="bar">bar1</span></div> <div class="entry"><span class="foo">foo2</span><span class="bar">bar2</span></div> .... </div> And in implementing this realized that there can be a considerable delay in the processing if the number of "#entries div.entry" is high. So I wanted to use blockUI to let the user know the application is working. I tried this: $("#entries").each(function(prntI,prnt){
[jQuery] email for Visual jQuery magazine?
Hi, all! i was just looking at this recent blog post about a jQuery magazine: http://jquery.com/blog/2007/06/28/163/ in that post it has an email addy for the editor, but that addy no longer works (and the post is not even 2 weeks old!). Is there anyone out there related to the magazine project who can pass me a valid email address for the editor? Many thanks for your time.
[jQuery] Passing Variables to BlockUI Plugin
I am trying to pass a variable to the BlockUI plugin so that my modal window will have that variable in the window. Right now I have basically mimicked the code found at: http://malsup.com/jquery/block/#dialog But instead of clicking on a button to show the window, you click on a link with a specific class. I have many links with this class, thus many different ways to open the same modal window. What I would like to do is pass the ID of the link to the modal window so I can then pass that on to
[ANN] Ajaxian Reader Survey
Hey everyone - Once a year Ajaxian.com does a reader survey to try and get a feel for how people are using JavaScript, and JavaScript frameworks. If you're interested in participating, please feel free to complete the survey: http://www.surveymonkey.com/s.aspx?sm=_2fMCUk32Uc4uA_2baMBuoLiFg_3d_3d More information about it can be found here: http://ajaxian.com/archives/ajaxiancom-annual-reader-survey --John
[jQuery] Multiple Resizables on one page
Hi all, i was wondering if someone managed to get multiple resizables working on one page. It seems that the drag handles need to have all individual ids for the iresizable to work. Looking in the source code did not really help me either. Maybe there is a way to define child elements as a handle which then "resize" the appropriate parent element. Then it would be possible to call iresizable with classes instead of ids. Hope to get some thoughts from you guys. Cheers Phil
[jQuery] Thickbox and AjaxSubmit()
I have a page that opens in a thickbox and this page uses the Jquery form plugin. This page works fine if I right click it and open it in a new tab. The form submits and returns ouput to the page with no problems. However, when I open the page in a thickbox and click the submit button, the window closes and the script is not run. And, I can't see anything in firebug because this all happens too fast and the window closes before I can see what the problem might be. Any thoughts or advice?
Next Page