[jQuery] menu display slowly
hoverClass : 'sfHover', pathClass : 'overideThisToUse', pathLevels : 1, delay : 800, animation : {opacity:'show'}, speed : 'normal', autoArrows : true, dropShadows : true, disableHI : false, // true disables hoverIntent detection onInit : function(){}, // callback functions onBeforeShow: function(){}, onShow : function(){}, onHide : function(){}
[jQuery] .load() and relative links
I'm using .load(url) to add som contents from another page. Problem: after being loaded, the links included from the other page does not work anymore as they are relative to the path of the page. Is there a simple way/plugin to transform the URLs in the included page? Thanks, Koen
[jQuery] how to do it?
Hi, I'm trying to make a little different code than below. I would put on the bottom new tabs(id="fragment-5", id="fragment-5"). Text from new tabs after clikc should be display in the same border as id="fragment-1" or 2, 3. It doesn't work well. U can see just copy the code? I dont need <ul> on the bottom enought is <a>. How to do it? Does anybody can help me? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script>
[jQuery] Uicalendar
Hi I'm new to this group and i use Jquery for a short time. I've used uicalendar and it run very well. I used the popup behavior in order to open the calendar when the user clic on a button. Now, i'de like to always show the calendar in a fixed div, not in a popup, in order to see it as soon as the page is open, not only on an user action. It is possible and if it, how can i do. Thanks in advance. Regards Alexandre
[jQuery] [autocomplete] event doesn't work properly in User control
Dears, i added an autoComplete plug in , and i used the ".autocomplete" method in the plugin and it works fine when i use it in a page . aspx and it doesn't work fine in usercontrols, it says " object or property doesn't exist. please reply with an answer i can use
[jQuery] Looping not working for selectors?
Dear friends, I am a newbie to jQuery and more so for javascript. Please pardon my ignorance. I am wondering why this code does not work. for(i = 0; i < 10; i++) { $('.treeview:eq(' +i+ ')').click(function() { $('.monitor:eq(' +i+ ')').trigger('click'); }); } Since this did not work I had to manually loop thro' them... I also tried the variable approach. var selector = '.treeview:eq(' +i+ ')'; $(selector).... What is going on? Many thanks in advance for the help. -Girish
[jQuery] Obama's site jquery mystery
I've gone through voteforchange.com a thousand times over the past two days and I cannot figure out where the content is coming from--I can find the content of index.php, but everything else is a mystery--links never point anywhere. Is this jQuery in action, or is it something else to blame? Any ideas would be greatly appreciated-- I think I've checked over every .js and .css and the single .php I could find--and everything just leads into loops. I'm new at this, it seems. Thanks!
[jQuery] BindO 1.0.2 Released
Hello Everyone, I've just updated the BindO plugin check it out here: http://xwisdomhtml.com/bindo
[jQuery] how change external html AFTER load using $.load
Hi everybody... this morning i started a project $.load. When i load the html using $load in the main page (default.aspx) i cant interacte with using jQuery. Simple interactives like $('#rapida ul a').click(function () { var url = $(this).attr('href'); alert(url); //$(this).parents().css('border','1px solid red'); }); dont work ONLY in the loaded content. i can manipulate this content?
[jQuery] access the selector used to retrieve an object set
I've seen - and only in one place - how to use the .selector property of the jQuery object. Should be easy, right: this.selector. There was even a screenshot (See http://www.nabble.com/Re:-How-to-retrieve-jQuery.query--td19300457s27240.html) showing that it in fact did exist, and in 1.2.6. I have 1.2.6 and cannot access this property or the 'context' property. I know that if an object is passed to jQuery, then obviously a selector will not be available. But using jQuery('a.remove-me:eq(1)', 'div#my-div);
[jQuery] Question about Shadows on the jQuery Nav Bar
Hi, I am just curious if the dropShadow plugin was used to create the shadows on the nav bar which appears on the jQuery main page at http://www.jquery.com. The nav bar I'm referring to is the one with the rounded corners and has the links for Downloads, Discussion, Documentaton, Tutorials, and the Bug Tracker. I love that effect and would like to implement something similar in a design I'm creating. Thanks! Elke
[jQuery] Clarification on the use of JSONP in $.ajax
in the docs: http://docs.jquery.com/Ajax/jQuery.ajax#options it says: ******** As of jQuery 1.2, you can load JSON data located on another domain if you specify a JSONP callback, which can be done like so: "myurl? callback=?". jQuery automatically replaces the ? with the correct method name to call, calling your specified callback. Or, if you set the dataType to "jsonp" a callback will be automatically added to your Ajax request. ********* Is there an example of this? This makes it sound like I can
[jQuery] Accessing an element's child
I'm new to jQuery and I dabbled in it a little last night. I know you can access a child element via $("parent > child") but what if you're currently accessing the parent using the $(this) operator? Would I just use $(this > child) without the quotes? That doesn't stike me as something that would work... Thanks, Adam
[jQuery] BUG: oversized overlay in IE web browsers ( demo included )
Hello. I found a minor bug that affects overlay in IE web browsers (at least in IE6). Please take a look at this very simple demo: http://74.205.76.81/blockuitest/ In IE(6), the overlay is a bit taller than the browser window, so a scrollbar appears on the right whenever the overlay is present. In other web browsers, this doesn't happen. I found a similar bug with the Boxy plug-in a couple of weeks ago, and its author was able to fix it pretty easily. I'm a jQuery/javascript novice, so I'm not sure
[jQuery] jQuery efficiency with a large DOM.
Hi, I have a web app that is hosted within a .hta wrapper (for some security uses including hosting an ActiveX control) therefore uses ie as its engine. The app rarely, if ever leaves the containing page and all interaction with the server is done using ajax and loading information into various container 'controls' - hidden at times but left in the DOM for easy re-use, rather than reloading every time they want to view. I am finding that the speed of the interface is suffering badly as more stuff
[jQuery] Polygon
Maybe it's a stupid question but I was wondering if there is a way to generate a polygon with 4 points, so that the user can himself drag each point to create it's own (mainly for selecting a portion of an image). Is it possible with a specific jQuery plugin. I can't seem to find anything after a few hours of my time. Thank you!! Sébastien Lachance
[jQuery] Finish fadeout of link before loading new page, simple question from newbie
Hi everyone, A simple question, is it possible to have an animation (in this case a fadeout) finish before loading the page in an <a href>? ie. $("a.thumb").click(function(event){ $("a.thumb").fadeOut(150); event.Default(); }); problem is that the browser loads the page as soon as it can, and cut of the animation. Regards, Erik
[jQuery] how would you initialize google excanvas on a new piece of html?
Hi. I'm trying to use google's excanvas in my CMS, but ran into a snag; excanvas initializes all canvas tags in the dom on startup. my cms loads much html dynamically, and i need to initialize excanvas on those new dom nodes. the new dom node i'm trying to init is called __self.html (of a window). can someone please tell me if its possible to get the following script to init my __self.html? // Copyright 2006 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you
[jQuery] $.each help for radio button validation
Hi Everyone, I'm new at this and can't figure out how to use the $.each properly. Let me try to explain more about my Quiz project: 1. I have a dynamic set of Radio Buttons that are grouped. 2. I want to validate that at least 1 is checked per group. 3. If a radio button is not checked in a group, i want to display a message under that radio buttons that says "please choose". So i think i'm pretty close, here's my approach please chime and help if you can: 1. get all Radio Buttons into a jQuery object
[jQuery] Autolinking Twitter @usernames with jQuery
Hi, Fairly new to this, I'd like to know if such a thing is possible with jQuery: I have a social bookmarks-like page where users can post a link and description. I'd like to have some kind of function that would automatically link @USERNAME to that persons Twitter page (http:// twitter.com/USERNAME) when, or if, they add their @USERNAME to the description field. (div class="description") Can this be done with jQuery? Could someone point me in the right direction? Thanks, BB
[jQuery] [Validate] Can I enable custom error message display?
Hi all, I am just getting started with the jQuery validation and was wondering if someone can help me out with a question I had with using it. From what I read, the validation plug-in automatically adds and removed the 'label' error tags into the page. For my requirements, I need more customisability of the error message display. I want to be able perform other things when an error is displayed like hide other info messages etc when an error occurs. So, I was wondering if it would be possible for
[jQuery] Saving Dynamic Data Through JSP
I've got a dynamic html page that has a number of static inputs, but also 2 dynamic lists of information that can be added to or deleted from. What's the best way to pass this information to a JSP to be saved to the databse? I've read about serialize and serializearray, but I'm having trouble understanding if they would work for me, or what other alternatives I might have and how I interact with the information passed to my jsp using these methods Thanks...
[jQuery] Improving a tooltip code
Hi everyone, I'm trying to build a hoverable Jquery tooltip. This tooltip should appear when I hover over some element, and stay put if I choose to hover over the tooltip itself too. The tooltip should disappear only if I hover away from the original element or from the tooltip body. Based on an example I found, I managed to create this behavior, but since I'm new to Jquery, I'd be glad to hear your comments about improving the function. The code: ---------------------------------------------------------
[jQuery] changing the style of pre-checked checkboxes
Hi, I've poked around for a solution but I can't find anything concise enough for my jquery skill level. When my page loads (asp) some checkboxes will be checked (depending on the parameters). I would like to have these checkboxes have a style on them. I know there is other ways but I would like to become more familiar with jquery :) Thanks for any help you can provide D
problem with Accordion menu
Hi, I`m trying to integrate this accordion menu that is placed in Marco's blog with simple vertical menu in CMSMS project : 1. function initMenu() { 2. $('#menu ul').hide(); 3. $('#menu ul:first').show(); 4. $('#menu li a').click( 5. function() { 6. var checkElement = $(this).next(); 7. if((checkElement.is('ul')) && (checkElement.is(':visible'))) { 8. return false; 9. } 10. if((checkElement.is('ul')) && (!checkElement.is(':visible'))) { 11. $('#menu ul:visible').slideUp('normal');
[jQuery] jQuery Cycle Pager links
Hey all - I'm using the jQuery Cycle plugin [1] and would like to use the pager function in a little bit different way than intended. I'm using pagerAnchorBuilder to use existing markup that contains thumbnails of the screenshots I'm cycling through. The images, before Cycle attaches to them, are linked directly to pages with more detail for that screenshot. I'd like to use the pager to only show what slide is active, but not to link to activate a given slide. Instead, I want the link to be unchanged,
[jQuery] Jquery load not getting updated pages.....
Hello, I spent about an hour trying to figure out why a form I was loading to a web page was not updating. In my web page I have a navigation button tool, when I click I want to load a form into the #display div. $(document).ready(function(){ ...... a bunch of code..... $('#menu li.tool').click(function() { $('#display #product').remove(); $('#menu li[device=device]').removeAttr('clicked'); $('#display').load('../forms/test_form_1.html'); }); ...... remaining code ........ }; I call up the page and
[jQuery] jCarousel
Is there a way to pass custom data to the jCarousel callbacks without creating a global? Ideally I'd like to be able to create arbitrary properties on the jCarousel object when it is initialized and then read them from the object in the callbacks. Something like this: jQuery('#mycarousel').jcarousel({ size: that.mycarousel_itemList.length, itemLoadCallback: {onBeforeAnimation: mycarousel_itemLoadCallback} arbitraryData: { some:"Data" }, otherArbitraryData: "Hello World" });
[jQuery] how to save page that contains ajax data
<span style="font-family: courier new,monospace;">Hi, I have a page that is constructed with fixed 'navigation menu' (list of <a href=""/>) and 'main content' block (<div id="#containter">welcome text</div>). Actually when user clicks on an item of the menu, the correspondent remote fragment is injected into 'main content' block and the appropriate url hash is added to the main url (means, <a href="http://mainURL#nameofitem">http://mainURL#nameofitem</a>). It's done with the help of ajaxify jquery
[jQuery] RAW PRINTING - How can I print DIRECTLY to DOT Matrix Printer from jquery?
Hi! I want to sent text with javascript directly to Dot Matrix printer like Panasonic KXP-1050 without using true type fonts. As I know, this means: RAW Printing I want to use this for printing bills or ticket on continuous-form paper. There is ActiveX sample for InternetExplorer on this link: http://www.xuebrothers.net/ax/activeprinter/interfaces.htm How can I this with jQuery? Can it be possible? Regards, Nuri AKMAN
[jQuery] validate plugin and CodeIgniter
hi i'm giving a go at codeIgniter using jquery for the js side. So i got a form which i validate with the validate plugin but in CI when i submit the form the js starts a loop and i must shut down the browser. I read somewhere that it could be because the validate plugin use the GET method by default which CI refuse to accept. Is this true? Anyone has used this two togheter? Thanks Vitto
[jQuery] issue with .css("display", "none")
Hi, When I click on a button it should hide all my 'select' input and when I click on another button, it should make them visible again. Here's how I do it : <div> <asp:DropDownList ID="ddSearchCriteria" runat="server" /> <input type="button" id="btnSearch" value="Go" /> <input id="btnNewCutting" type="button" value="New" /> <input id="btnEmail" type="button" value="Email" /> <asp:DropDownList ID="ddSortBy" runat="server" AutoPostBack="true"></asp:DropDownList> </div> <script type="text/javascript">
[jQuery] Set the positions of buttons in a Dialog
Hi, There doesn't seem to be an easy way of positioning the buttons in a Dialog. By default they show on the left, but I'd like them to show on the right. Is it easier than I think ?
[jQuery] [TUTORIAL] Create a professional interface for your web applications using jQuery
In this tut we will create a professional interface for your web applications using the killer javascript library jQuery :) I hope you can use it for your personal projects guys. Feedback is welcome! http://yensdesign.com/2008/10/create-a-professional-interface-for-your-web-applications-using-jquery/
[jQuery] Select all dropdowns
Hi, Is there a way of selecting all input of type 'select' ? The only way I found so far was to give a specific class name to all my input of type 'select' . Is there not a more straightforward way ? Thanks
[jQuery] Tooltip plugin
Is there any way to make the tooltip appear in a fixed position always, e.g. below and aligned left to a div above it, no matter what part of the div the mouse passes over? I'm sure it must be an option somewhere but I can't see where in the documentation (http://docs.jquery.com/Plugins/Tooltip/tooltip#options). The "map > area" example with 'positionLeft: true' is as close as I can find so far. Any help appreciated. Adam
[jQuery] Modal Window Page Refresh
Hi friends, Need your help: how to reload a page (which contains data from database) when the user updates and closes modal window (so that the data on the page is refreshed)? Thanks a lot.
[jQuery] Input array problem
I have an input array e.g.. email[] in my form. jQuery validatation plugin validates only first field of the array. I am using this plugin http://bassistance.de/jquery-plugins/jquery-plugin-validation/.. My requirement is that plugin should validate all the array fields. I will appreciate a suggestion or peace of code which addresses this issue. I will highly appreciate your effort. Thanks, Warm regards, Irfan Mansha.
[jQuery] jQuery variable?
Hi guys, I'm new on jQuery and I don't know where to go with what I want: I have a table with multiple prices. Lets say: (Live Points) User | Points ------------------------------------------------------------------------------ John | 10 Carl | 20 Robert | 30 Paul | 40 and I have a js call at the end of the page sending this users id to the function in order to update the points (each 5 secounds or so). So... I dont want to have 4 (at moment) but in future can be 400 requests at the same time. For
[jQuery] open link without new tab?
Hi, I'm working at a gallery which got some download buttons to download the images. 'Cause of a plugin I use it doesn't use the href of the button anymore if I click it. So i decided to try something else: $(".zoomimage").children(".zoomimage_controls").children(".download- button").each(function() { var zoomatt =$(this).parent("div").parent("div").attr("id"); var imghref = $("#"+zoomatt+"_trigger").next("a.download- button").attr("href"); $("#"+zoomatt).children(".zoomimage_controls").children(".download-
Next Page