[jQuery] dynamic loading on content
I have a 3 links on a page index.htm. Links are 'A', 'B' and 'C'. I have a div to display contents. I have 3 more pages a.htm, b.htm and c.htm. What I'm trying to do is : When i click A link a.htm content of a.htm will appear in div. When i click B link b.htm content of b.htm will appear in div. and soon. How I can do this? ---- Sharique
[jQuery] javascript templates
<div>hi,</div> <div> </div> <div>does jquery offer some kind of javascript templates plugin?</div> <div> </div> <div>wat do (if they do) ppl use?</div> <div> </div> <div>since i have a box structure on my page where more or less every box is similar in markup, i would want to create a template of that with javascript vars for unknown content that i later fetch through json response. </div> <div> </div> <div>makese sense?</div> <div> </div> <div>pls let me know.</div> <div> </div> <div>thx,</div>
[jQuery] Drag and Drop
I am writing some code using jQuery and the Interface plugin to allow sorting of a list by drag and drop. The code is pretty simple and works well enough, but I could do with a slightly more sophisticated drop behaviour. Here's the code so far: $(document).ready (function () { $('.favRow').Draggable ({ revert : true, ghosting : true, autosize : true, containment : 'parent', opacity : 0.75, snapDistance :
[jQuery] Ajax Help, can't get submitted value
I'm in the middle of creating a bidding system with the help of jQuery. I'd like the actual bid process to be all Ajax. I have one input field for the price and a submit button to send it. Problem is I don't know how to send the users value from the input field to the php file. I'm trying to get these basics functions down so I don't have to bother anyone else :p. 1 - User adds a price and clicks submit. 2 - if there is a error message, show it and when the user resubmits, delete the old error message
[jQuery] Problem with Jquery and integrating into existing scripts.
Dear all. I have been having trouble with integrating JS into existing website. The particular files that we are trying to include the Jquery into the JS that exists in the files just stops working. Even basic stuff for example even if I called a function called hello() and in there it just had an alert("hello"); it doesn't get there. This only seems to happen in IE for some strange reason. It is fine in Firefox. So basically its only making use of the JS in the jQuery files and not allowing the
[jQuery] "NOT" Selector
Hi All, I've googled and googled to no avail, this question has too many instances of words like "not" in it and I'm struggling to find anything useful. I'm doing something quite complex but the crux of the question is this, with a structure like so: <div id="document"> <ul class="menu"> <li><a href="">Menu Link</a></li> <li><a href="">Menu Link</a></li> <li><a href="">Menu Link</a></li> </ul> <a href="">Paragraph Link</a> <a href="">Paragraph Link</a> <a href="">Paragraph Link</a> </div> I want
[jQuery] Possible Plugin for Adding New Event Types
I recently created an plugin/extension for jQuery to use the following syntax for binding events. $('input').bind('mouseover focus', fn); So you can bind multiple event types to the same function quickly. It also applies to .one and .unbind. However, this got me thinking about writing a plugin that would allow us to add new event types ... like mouseenter and mouseleave. So instead of using .hover, you could do this: $(...).bind('mouseenter', fn); or $(...).bind('mouseenter', fn1).bind('mouseenter',
[jQuery] files upload
Dear list, is there a nice jQuery file upload, something like: http://digitarald.de/playground/upload.html is there a way to get filesize before uploading using javascript? I know flash can but.. Thank you! -will
[jQuery] update input name
I have a code to clone a input. After that I need to change the id and name it... seems that change id works fine but not the name: jQuery("#"+inputID,addedItem).attr("id",newInputID); -> works ok jQuery("#"+inputID,addedItem).attr("name",newInputID); -> seems doesn't work Any idea?
[jQuery] Selector for next or previous item with class
Hi All, I have some table rows that are ID'd and have a class on them of 'repeatable'. I know the currently selected row's ID. What would be the selector to get the previous item with a class of repeatable, and the next one? Thanks, Tom
[jQuery] datePicker v2 beta
Hi, I'd like to announce the beta release of v2 of my datePicker plugin for jQuery. This release is a complete rewrite which makes the date picker considerably more powerful and flexible than it previously was. Check out the temporary project page: http://kelvinluck.com/assets/jquery/datePicker/v2/demo/ Note, this is currently in beta and may be a little rough around the edges but I'd love to get some feedback. I've tested in FF2, IE6 and Opera 9 but it would be good to know if it works in other
[jQuery] Superfish v1.1 released
Hi jQuistadores, I have made some changes to my Superfish menu plugin and probably need to give it a version number. I think the previous version was stable and this version adds a feature so I'm calling this version Superfish v1.1. I don't really know versioning but this should do. Demo page: http://users.tpg.com.au/j_birch/plugins/superfish/ Changes: The main reason for the update is to allow users to use the awesome hoverIntent plugin (by Brian Cherne) to improve the user experience further by
[jQuery] Selected Option Value
<div>AHA! I wish I knew this 4 hours ago!</div> <div> function whatisit() { alert($("select option:selected").val()); } <body> <select onchange="whatisit()"> <option value="2">test</option> <option value="3">blah</option> <option value="4">foo</option> </select></div> <div>Why didn't anyone tell me this worked? Ugh.</div> <div> </div> <div>Glen</div> <div> </div>
[jQuery] processData:false in ajax calls?
I'm a bit confused about processData parameter in the ajax call. From the doc it talks about sending a dom node to the server, that sounds pretty strange. What is it used for?<br clear="all"> From the code it looks like a perfect hook to send non utf-8 data (iso-8859-1). Has anyone used it??? -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Problem with JQuery and existing JS code.
Dear all. I have been having trouble with integrating JS into existing website. The particular files that we are trying to include the Jquery into the JS that exists in the files just stops working. Even basic stuff for example even if I called a function called hello() and in there it just had an alert("hello"); it doesn't get there. This only seems to happen in IE for some strange reason. It is fine in Firefox. So basically its only making use of the JS in the jQuery files and not allowing the
[jQuery] Input Selector
<span style="font-family: verdana;">I want to construct a selector that finds empty elements in a required tr.</span><br style="font-family: verdana;"><span style="font-family: verdana;">However, I want to ignore inputs that have an expando value required=false </span><br style="font-family: verdana;"><br style="font-family: verdana;"><span style="font-family: verdana;">Something like:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> $("form
[jQuery] Validate plugin : is this a normal behaviour ?
Hi all, I wonder if someone can tell me if there's a problem in Validate plugin or if it is the normal behaviour in which case I'm probably missing an option. As you can see here : http://www.amigrave.com/upload/posts/jquery/validate.htm When you submit the form once (without filling fields), Validate does his job as expected. But when you submit a second time (without filling the fields), some forms input just disapears. I looked with firebug and it seems that Validate adds style="display: none"
[jQuery] Auto Scrolling Text in an Element (div) - Overflow hidden.
Hey folks, Just curious if anyone has an auto scroller plugin kicking around for an element such as a DIV that contains more content then it's height. Ideally, on page load, it would check to see if the content is too long, if it is - then it would have a delay, scroll the content in the div at a specified speed and once at the bottom, delay, then scroll back up. I looked at interface but it seems those scroll functions control the window and not content within a specific fixed height div with overflow
[jQuery] Interface - Get Status from BlindToggleVertically
Hi, im new with jQuery, how can i get the status from the last BlindToggleVertically Order? Is the element up or down? Regards from Stuttgart/Germany Conny
[jQuery] CurvyCorners Minified
Is there a packed / minified version of the jQuery Curvy Corners? Glen
[jQuery] Make your Vacations pleasureable
If you want to HAPPY MOMENTS and Make your Vacations pleasureable, Travel all over the world, before going to travel don't forget http://www.sadabahar.net we suggest the better place for visit.... Go and Enjoby you life. You want to view Beautiful place in the world. But we traveled you in Indian Beautiful and Popular Places. You want to realy visit it on your secreen. Visit now: http://www.sadabahar.net/India/india.asp Want more Beautiful Countries Click the following links Visit now: http://www.sadabahar.net/Australia/Australia.asp
[jQuery] $.post not load why?
I want to load news in my html page from a php script from another site. I have included this script in my html page, but not work, maybe I'm wrong using $.post? $(document).ready(function(){ $.post("http://www.othersite.it/news.php", function(data){ $("#response").append(data).show('fast'); }); }); <div id="response"></div> -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ "It's easier to invent the future than to predict it." -- Alan Kay
[jQuery] Date picker question
Not long ago there was a link from one of these threads that had a datepicker plugin with an example using callbacks to modify a group of month / day / year select fields. Does anyone remember the link to this example or even which plugin it was? I have looked over kelvinluck's plugin and I can't tell for sure if it was his or someone elses. Thanks in advance. -- View this message in context: http://www.nabble.com/Date-picker-question-tf3879879s15494.html#a10995514 Sent from the JQuery mailing list
[jQuery] frameReady or jqModal?
I had designed a page concept that used jqModal to load an external page into a div while blocking the UI of the parent page, triggered by clicking on a link. However, our engineer had a problem with that, as he needed to load an aspx page with a form into the modal window and encountered various errors. So, the easiest solution seems to be loading the aspx page into an iframe instead of a div. How do I use an iframe with jqModal? I couldn't find any examples. Would it be more appropriate to use
[jQuery] jQuery core charset???????????(please help!!!!me!)
I am doing some test and I have problems with specials chars... are there any way to define charset into jQueryCore? My code to post a form: main.asp . . <script src="jquery.js"></script> <script> jQuery.noConflict(); </script> <script src="jquery.form.js"></script> <body> <form id="test1" action="test2.asp" method="get"> <INPUT id="Text1" type="text" name="Text1"> <INPUT id="td" type="button" onclick="saveTest();" value="Send" name="Submit1"> </form> . . JavaScriptFunction: function saveTest() {
[jQuery] InnerFade without javascript support
Hi All, I'm hoping this is an easy fix. Normally on the images list sample: http://medienfreunde.com/lab/innerfade/ The images all load when there is now javascript support. I'm planning to use an innerfade list of images in the header design of a site. I'ld like for the innerfade images to not load at all, if there is no javascript support. Or maybe the CSS could handle loading only 1 background image for that div. Any ideas? It's not a big concern that there won't be javascript support, just a
[jQuery] Newbie: Superfish menu help
Hi, I'm new to JavaScript and jQuery, so I apologize if I sound like an idiot. I am trying to set a delay for when the mouse rolls off a menu, but I don't seem to be able to get it to work right. You can view the drop down menu and see how Superfish was called at <a href="http:// www.bluefilamentdesign.com/haverford-new.html">http://www.bluefilamentdesign.com/haverford-new.html</a>. I've tried many combinations, but have just reverted to the default settings for lack of anything else to think of.
[jQuery] improving page apparition
<!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.16441" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=593233112-23052007><FONT face=Arial size=2>hello!</FONT></SPAN></DIV> <DIV><SPAN class=593233112-23052007><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=593233112-23052007><FONT face=Arial size=2>i have a page quite heavy in content: it's a summary page
[jQuery] Change Css clasess
Hi there, I've got 2 elements floating one with the css float:right and the other one float:left, I would like to change both values at the same time when a button is clicked. The code that I have only works the first time and after that I'm getting an error "too much recursion". I'm sure this is something silly but I'm not a coder so would be great if anyone could help. <code> $(function() { $("#button_pos").click( function() { var pos = $("#sidebar").css("float"); if (pos =
[jQuery] Processing ajax load content before it gets added to DOM ?
Hi again, I have a snippit of code that ajax loads content for me. I want to add target='_blank' to all the anchors before displaying it. I'm trying thing: function ... $('#foo').load("/get/733/").find('a').each(function() { this.target = "_blank"; }); A similar scheme works fine when I first load the page (non-ajax) ... but the find/each is not working for load()'ed content. What am I missing here ... it seems to me the find is not working because the content is not in the DOM yet. Even if I do:
[jQuery] Help With Pan View Code
Hello, I've customized the panview code to accommodate what I want it to do, but I'm having a problem with it in IE. Firefox works fine. Panning the image in IE doesn't work and I think it has something to do with scrollTop, but i have no idea what to do to fix it. If I take the pan image code out of the html page and have it by itself it works. Id appreciate any help with this! Code and links are below. Thank you! Brady The first thumbnail image is the to test. With HTML: DOES NOT WORK http://www.organizedmadness.com/pan/merchant.mvc.htm
[jQuery] Returning XML from AJAX
Hi Guys, I'm having real trouble accessing some content from XML back from an AJAX request. My code is like this: jQuery.ajax({ url: "swcontrols/addrepeateritem.ashx", data: {repeaterid: repeaterItemID}, dataType: "xml", success: function() { alert(jQuery('/data/rows',xml).text()); } }); I don't get any alert box. I've tried .html() rather than .text() and no joy. I've also tried changing the selector to just 'rows'. My XML looks like this (and firebug is showing it coming back fine). <data><rows><![CDATA[<tr
[jQuery] Problem using jScrollPane with .load
Hi all. I've got a table with 18 rows that I'm forcing to scroll along the y axis. I'd like to be able to theme the scroll bar using jScrollPane, but I'm having an issue with loaded content. It works as expected when the functions are called on the same page as the table, but when I insert the table from another page with .load, the jScrollPaneContainer div is hidden. <a href="http://www.stevelove.org/example/">Here's a link</a> to an example.
[jQuery] security advice
hi list, i'd like to have some opinions on how one should/can secure an ajax application/backend (preferred server language PHP). every hint/link appreciated micha
[jQuery] [ot] hijacking threads for non-threaded readers.
Some time ago I was lectured about hijacking a thread... I thought what the ___? Some e-mail programs keep track of the internal headers of e-mails and group them by those headers instead of by the subject. While this can be good if everyone knows about it, and uses it... it can lead to hijacks. So, for us <span style="font-weight: bold;">gmail</span> users, we have to remember to compose a new message , rather then hitting reply and changing the subject.<br clear="all"> and for <span style="font-weight:
[jQuery] Bug in jQuery implementation of EXT, works with other libraries.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.6000.16414" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2> <DIV><FONT face=Arial size=2>Theres a bug in Ext running over jQuery. Since Im certainly not sure if it's got to do with Ext's jQuery adapter, or jQuery itself, Im posting it both here and the Ext forums.</FONT></DIV> <DIV><FONT
[jQuery] Ext Calendar on top of jQuery
Hi John and all, I am using Ext with jQuery which is working perfectly together - except in one area. There is an issue with the Calendar when moving between months, it basically moves one month and then the onclick event no longer works. This issue is documented on the Ext forums and seems to be a problem with jQuery using legacy event handlers instead of addEventListener / attachEvent. I am wondering if there is any movement on this issue John? Is there likely to be a resolution or should I forget
[jQuery] Loading additional photos after page load
I'm using the Innerfade plugin to display a group of testimonial photos and then having them rotate. The problem is that by doing this I get a horrible page load time, as all the photos being used in the Innerfade are being loaded. Is there a method whereby I can load only the first group of photos that display first on page load, and then somehow after page load, issue a call for the remaining photos? Here's the page with the example: http://www.buildlastingsuccess.com/previewms.php?p=index_jared
[jQuery] Interface: How to rotate objects by a certain angle?
Hi, I'd like to rotate by a certain angle (e.g. a box by 45 degrees); that object is going to be draggable. What are the options? I'd like to avoid swf approaches that rotate objects after loading them rather than before. Thanks! Paolo
[jQuery] What event is fired when all images are loaded and displayed?
I'm using body onload to reset a menu, but the onload event seems to be fired before the images are actually displayed. This causes the menu to be in the wrong position on the initial load, though it works correctly once the images are cached. Is there another event that gets fired when absolutely everything is ready? I don't know of one...
Next Page