[jQuery] malsup cycle plugin
Hello, i'm using http://www.malsup.com/jquery/cycle/ plugin and trying to get the fit: 1 option to work. I assume that this complete functional and work with jquery 1.2.2 thanks
[jQuery] Accessing jQuery functions from outside
I've some functions which I'd like to use outside of jQeury in normal HTML, e.g. <script type="text/javascript"> $(document).ready(function() { function collapse (i) { $('#expanded_'+i).hide(); } }); </script> ... <img src="images/plus01.png onclick="javascript: collapse (17)"> <div id="#expanded_17">...</div> What do I have to write at the onclick?
[jQuery] Low-Pro for jQuery
Just came across this post today: http://www.danwebb.net/2008/1/31/low-pro-for-jquery Haven't used Low-Pro so far, but this one seems to be interesting for Rails developers that want to migrate from Prototype to jQuery... --Klaus
[jQuery] Interface Plugin for Jquery
Hello everyone, my name is Rodolfo and i am a student at the dresden university of technology (Germany) could someone please tell me how do i make this plugin to work correctly i have downloaded the hole source and I linked it to my html archive: <script type="text/javascript" src="jquery-1.2.2.min.js"></script> <script type="text/javascript" src="interface 1.2/interface.js"></ script> but when i execute an animation or just do something for example: $("#caller").click(function(){ $('#container').Shake(2);
[jQuery] Jeditable across td's
Hi all, Thanks to this topic: http://groups.google.com/group/jquery-en/browse_thread/thread/7c26ef858ec47984 I managed to achieve to change the trigger for the Jeditable items in DIVs. Now i've created an overview of files in a folder. It's presented in a table. But now the following code doesn't work anymore: $(".edit").editable("file.php", { event : "edit" }); $(".edit_trigger").bind("click", function() { $(this).prev().trigger("edit"); }); My table roughly looks like this: <td> <a href="/testdir/test_in_testdir'"
[jQuery] attr ie bug
hi i'm using this code to add the target=_blank attribute to links. $("a[href]").each(function(){ if ($(this).hasClass("ppt") || $(this).hasClass("pdf") || $ (this).hasClass("allegato") || $(this).hasClass("doc") || $ (this).hasClass("jpg") || $(this).hasClass("xls") || $ (this).hasClass("external") || $(this).hasClass("zip")){ $(this).attr("target","_blank"); } }); it works fine in firefox but not with ie which throws a javascript error i can't identify. any idea why?
[jQuery] Additional params for .load
For example, I want to use async=false - i can't do it, because i can pass to func only url, data, callback. I can use .ajax, but i need paste result HTML to element - .load is very usefull for it.
[jQuery] Undocumented "fn" parameter in Trigger function
Does anyone know what the trigger function's "fn" parameter is for and where it is used? The API/1.2/Events documentation shows only two parameters for the trigger function (type, data) yet the 1.2.2 source has three (type, data, fn) and refers to this third parameter as the "extra function." I can't find anywhere that this is actually used within the source so I would assume it is an undocumented feature.. The reason I'm interested in this is that I've extended the trigger function to allow for
[jQuery] custom amimation problem
Hello, I wonder if someone can help shed some light on the problem i am having? i am trying to put together a very simple custom amimation but i just can't get it to work so i am trying to get the example in the documentation to work in place of my test and i still can't get it to work. i want to be able to click on the contact link on the naviagation and have a <li> or div animate out to display an email address but i just can't get the animation to work. http://kristi.xtools.co.nz #contactAnimation
[jQuery] absolute beginner! How to set page width to window width?
Hello :) Thanks for the multitude of helpful threads you people post! Before trying something gorgeous with jQuery, I thought I should try something basic - like setting the width of my #pagewrap div to the inner width of the user's window. I can't do it right! Please will you show me how to do it? And, if you're feeling generous, how to make it resize if the user resizes their viewport? Cheers - Cherry.
[jQuery] Datepicker showon link click
Hi, Does anyone know how to make the Datepicker (calendar) be displayed by clicking on a link next to a textfield. I know it has a button option and a focus option, but our old calendar used to be launched by a link, so users are used to that. Does anyone know how to do that? Thanks, -Roman
[jQuery] RE: Is it possible to auto increment an appended value?
Gorkfu
[jQuery] Validation plugin -- need help attaching 'pending' label and one other issue
I apologize for the double post. This subject line is a little more specific. I'm trying to do two things that seem as if they should be very simple (for somebody who has a little more experience than me, that is): 1. Attach a pending label to a currently validating field, like the error and checked labels 2. Prevent validation on a field with validation rule, but which is optional and empty. Can somebody please help me with a concrete answer or a code example? Thanks, Rus
[jQuery] Return False Failing In IE6
$("#addedRules").append('<a class="removeRule" href=" ">remove</a>'); $('.removeRule').click(function(){ $(this).parent().remove(); console.log('removed rule'); return false; }); In IE6 the rule is removed, but the link isn't disabled. Any ideas?
[jQuery] know if a css stylesheet is load
Theres any way with jquery to know if a stylesheet is loaded? ex. style_exist("min_size")
[jQuery] script tags not evaluated in $.ajax
The documentation for $.ajax states that script tags are evaluated when doing an $.ajax call: http://docs.jquery.com/Ajax/jQuery.ajax#options dataType: "html": Returns HTML as plain text; included script tags are evaluated. However, that doesn't seem to be the case. My test case is below. If the scripts were being executed, I would expect two alerts: the first "ajax" and the second "done". Instead I just see "done", both in FF2 and IE7. I've also tried setting variables in the ajax page and reading
[jQuery] newbiish.. must be a better way than what I'm doing to find the next div after the following inputs?
This should be easy, but I'm stumped on this. I can't find examples showing cases where the find 'skips ahead' .. what I want to is find the next <div> after any of the radio inputs is clicked so that if I have... <div> <input type="radio" name="color" value="blue"/> Blue <input type="radio" name="color" value="green"/> Green <input type="radio" name="color" value="red"/> Red <div class="childSec"> Stuff </div> </div> $(":input[@name='color']").click( function () { $(this).parent().parent().find('div.childSec')
[jQuery] Fighting a closure
I think I submitted a half-done version of this message by accident a few minutes ago. Sorry. This works: $("#port0").click(function() {bigchart(0)}); $("#port1").click(function() {bigchart(1)}); $("#port2").click(function() {bigchart(2)}); $("#port3").click(function() {bigchart(3)}); $("#port4").click(function() {bigchart(4)}); I try to roll it up like this: for (i=0;i<5;i++) { $("#port"+i).click(function() {bigchart(i)}); } But the closure gets me. When the function is called, i is 5 for any of
[jQuery] Not Submit [validate]
I just find a serious problem. If you submit the form without having completed anything (for him return error), when you are trying to complete and submit it will not submit. Ah! Thank you for remote, it was great! Abraços Marcos Aurélio
[jQuery] Validation plugin - spinner while validating field?
There is a label.error and a label.checked but does anyone know how I would display a label.pending (perhaps with a spinner) while the validation (especially a remote request) is happening? Thanks.
[jQuery] Problem in creating Dynamic tables
Hi All, I am trying to create a dynamic table. It is to be created on onchange event of a text box which will tell how many templates to be added. The structure which I want to add to my page dynamically is <table> <thead> <tr> <td><input.../></td> </tr> <tr> <td>label1</td> <td>label2</td> </tr> </thead> <tbody> lots of inputs and checkboxes </tbody> </table> This is one unit which I want to add on tabbing out of the text box. It can be added any no of times. thanks, Anand
[jQuery] getScript making multiple calls
Hello all, I think I not using getScript properly and would appreciate very much if you could help. I have a page which is load via ajax GET and I need the script to run again each time new data is loaded (when the user clicks a button). Something like this (this file is called scripts.js) $(".button").click(function () { var job = $(this).attr("id"); $.ajax({ type: "GET", url: "results.asp", data: "job="+job, success: function(html){ $("div#load").empty().append(html);
[jQuery] Return false on a link in IE
Return false seems to work on buttons but not links in IE. Is this a known bug? Am I just noobin out here? What can I do to work around it?
[jQuery] Issue with next()/prev() traversal
Hallo, I am quite new to Jquery and so please forgive me if my problem sounds dumb ;) HTML: <div id="eventlist"> <img src=".."/><a href="#">One</a><br/> <img src=".."/><a href="#">Two</a><br/> <img src=".."/><a href="#">Three</a><br/
[jQuery] random option for Cycle not working?
For some reason, Cycle is not randomizing the order of my blurbs. <script type="text/javascript"> $(document).ready(function(){$('#blurbs').cycle({fx:'turnDown',random: 1,timeout:10000});}); </script> Anyone know why this might be?
[jQuery] Customized user page?
This might not be jquery related, but I would like to hear experts' comments :) Let's say I have to make a user customizable front page, e.g. There are multiple blocks within a page (e.g. sports, news, finance, game etc), users would be able to choose their preferences (Something similar to Yahoo or iGoogle), they might choose the ordering, or to load/hide different blocks ect. The settings will be stored in cookies. I am considering serveral methods, e.g. 1. use of dynamic script (PHP) to read the
[jQuery] Announce: jQuery Tablesorter 2.0.1 Released
Hi list! Just uploaded the new version of tablesorter that works with the 1.2 release of jQuery. Here are the main changes in version tablesorter 2.0.1 General * Removed the need for Dimensions plugin when using the pagination plugin thanks to offset being included in the jQuery 1.2 core. * Added support for jQuery 1.2 * Added new Minified version of tablesorter * Updated documenation and website with new examples Bug fixes * If row values are identical the original order is kept (Thanks to David
[jQuery] script tag loading error
Hi guys! Can someone tell me, is there any possibility to catch loading error (404, 500). ajax type: "script"?
[jQuery] Suckerfish Plugin problem in IE 6/7
Hi, I'm using jQuery and Suckerfish to control my dropdowns on a site. In FF and Safari all is well. In IE 6 and 7, when I select on the 2nd item in the dropdown list, the dropdown box disappears, so I can't get to any of the later, deeper items in the menu. Any idea how to remedy this issue? Thanks. Marcus
[jQuery] Appending/prepending image source attribute
I am trying to change the source of an image when the page loads to include some code in front, and after the url. Like this: Original src: http://www.teamviewer.com/images/teamviewer.png How I want it to look like: /umbraco/ImageGen.aspx?image=" + (original-src) + "&width=" + width + "&height=" + height; height = $("#myElement").height(); width = $("#myElement").width(); Regards, Ove Andersen
[jQuery] change on select not working
$("select").change(function(){ alert("Selected: " + this.value); }); Is there any reason why this wouldn't be working on all the selects on my page. I create the selects dynamically, but this is up in the $ (document).ready(function() { block of my code.
[jQuery] jqModal overlaying other <div> without interferences
hi, I hope someone can give me a clue on how to let overlay a jqModal window without interfering in the <div> that is below. I think the best is you take a look at http://edit3.csic.es/edit_geo/prototype/edit3_symbol2.html and click on "Data Symbolization (test)"; that should show you a new window (for the moment I think it only works with Firefox 2.0; that's another big problem...). I need that user can work with this jqModal window over the map without any problem (now if you work like this, you
[jQuery] Problem with jQuery drag and drop
I'm using jQuery's ui library (current one, using makeSortable() method) for Sorting purpose. And I'm creating some dynamic div elements using JavaScript in that page. They are sortable. This page is working fine in IE 7 and is not working in FF 2. Could any one help me out in making it to work in FF2 also? What is the problem? URL For that page is: http://tech-test.tutorialsforu.com/Test.html
[jQuery] jScrollPane: hide an arrow at end of content?
i was wondering if anyone has a quick and easy way to hide an arrow if you are at the beginning or end of the scrollable content. for instance i would want the top arrow to not be visible at first, because there is no content above it. and when i reach the end of the content, i would like the down arrow to disappear. I know enough to just set the position of the arrow object to some place so that it's not visible, but i don't know enough jQuery or how jScrollPane works to figure out how too do this.
[jQuery] jCarousel with FF 2.0.0.11
Hi, I'm facing issues while using jCarousel 0.22 with FF 2.0.0.11. Firebug is suggesting there is an error on line 813 of the jcarousel.jquery.js file. The code is as follows: this.clip[0].offsetWidth ...... The error says the clip object is not available. This is within the clipping: function() code. Any help will be really appreciated. Thanks, Avik
[jQuery] attr ie bug
hi i got this code working in firefox but not in IE. $("a[href]").each(function(){ if ($(this).hasClass("ppt") || $(this).hasClass("pdf") || $ (this).hasClass("allegato") || $(this).hasClass("doc") || $ (this).hasClass("jpg") || $(this).hasClass("xls") || $ (this).hasClass("external") || $(this).hasClass("zip")) $(this).attr("target","_blank"); }); am i doing anything wrong, is a ie bug o a jquery bug? any idea? thanx vitto
[jQuery] jquploader 2 alpha 1 - rich file upload dialog plugin - please test and help
Hello friends, I am working on the new version of jqUploader, a plugin that allows to replace the file inputs in a form for a more user-friendly file upload dialog via the use of an invisible flash object. The new version allows for full customization via CSS and html, instead of having to tweak the flash file. I've pretty much finished a working prototype (still need to implement all the customizable options). It works well on WinXP FF2. WARNING: THIS IS ALPHA STUFF NOT TO BE USED IN PRODUCTION
[jQuery] Drag and drop problem.
I'm using interface plugin's Sortable feature. I'm able to drag the draggable divs and there is no problem with sortable also. But when I drag any draggable div for the first time after loading or refresh, it is working. But then after, I'm not able to drag and drop or even sorting also not working as dragging is not working. Please help me. Thanks in advance.
[jQuery] Body Background url Problem position
Hello there ! this is my first post here, am currently test 'slide' fonction on a website but that generate a little problem only on MSIE 7 you can take a look here: http://3c-communication.com/formation/archives/category/thematique the problem appear when i use this javascript : http://3c-communication.com/formation/wp-content/themes/twixtop/js/thematique.js i have a background image on my body like this : body (line 25) { background-image: transparent url(images/body_bg.gif) repeat y top center;
[jQuery] Overriding form submissions in a way that deals with this.form.submit()
Hi everyone, I'm using Jquery to override form submits, i.e: var tabsForms=$('#'+el.id+' form'); tabsForms.submit(function(){ ... Pressing submit works fine with this approach, but there's existing code in the form inputs, such as onclick=this.form.submit. When the form is submitted this way, it seems that the submit() event I created via JQuery is ignored, and the form submits normally. I can't change the zillion examples of this in my existing pages - so how can I make this.form.submit() submit
Next Page