[jQuery] Jquery Tooltip
Hi every one, Jquery Tooltip, I have problem in showing the tooltip if i rollover on the label, i had created a structure for the tool tip using div of 200x60 length, how to do this with jquery Thanks
[jQuery] ui.draggable choking focus event
Hello :) First sorry for the long post but I think that eventually I would write all this. I have a "dynamic table" made solely out of div elements . row looks like this: cell, horizontal gutter, cell... vertical gutter, center gutter, vertical... this is the cell: <div id="geppetoCell_r1_c1" class="geppetoCell geppetoContentCell ui- draggable ui-droppable" contenteditable="" style="border-width: 2px; overflow: hidden; width: 150px; height: 60px;">text1</div> geppetoGrid is an object holding the
[jQuery] DnD slow(?) performance
Hello :) I have a "dynamic table" made solely out of div elements . row looks like this: cell, horizontal gutter, cell... vertical gutter, center gutter, vertical... I made the basic draggable functionality (like the example in api docs) and from the time of the click to the showing of the helper passes a formidable amount of time (not quite sure that i have the right word here, i mean to say that you notice the lag) it is nothing bad but it's noticeable. the table has 10x10 draggable cells but on
[jQuery] Add span and class with text used inside a href - WrapInner according to text
Hi group, How do i dinamically convert strings like <a href="#" class="view">view</a> <a href="#" class="add">view</a> <a href="#" class="edit">view</a> <a href="#" class="delete">view</a> To: <a href="#" class="view"><span class="view">view</span></a> <a href="#" class="add"><span class="add">add</span></a> <a href="#" class="edit"><span class="edit">edit</span></a> <a href="#" class="delete"><span class="delete">delete</span></a> I was reading: http://docs.jquery.com/Attributes/text http://docs.jquery.com/Manipulation/wrapInner
[jQuery] [Validate] Using Validate with jqGrid
Has anyone devised a way to have the grid use validate for the edit and add forms? Thanks Steffan --------------------------------------------------------------- T E L 6 0 2 . 7 9 3 . 0 0 1 4 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline Steffan@ExecuChoice.net Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 YAHOO : Steffan_Cline MSN : steffan@hldns.com GOOGLE: Steffan.Cline Lasso Partner Alliance Member ---------------------------------------------------------------
[jQuery] .resizable => onmousedown: enlarges my box
Hello, today I worry about jquery's API which does not do what I want :-/ I have an object (<div id...><img.../></div>) with .resizable() and .draggable(). These two features work without troubles, it is resizable and you can drag/drop it. BUT everytime I do a click on the object, it's size changes and becomes greater. Did I forget to deactivate any confusing feature which enlarges the picture/boxes when onmousedown or is it a bug..? Hope, You can help me! Thanks in advance.
[jQuery] Transition on class change
Is there a ptreferred method to animate a class change transition? Essentially the effect we are trying to achieve is as follows: <div class="50pxTall"></div> <-- When this div is clicked the class name changes to 300pxTall (and the height is adjusted accordingly) - we would like to have that animated in kind of a slide up/slide down functionality. So, the core question is: can animations be done on class name changes - or should the class height be modified? And what plugin is good for this effect?
[jQuery] json rpc module
Is anybody using this module able to provide sample code? It's not clear to me where you pass your json call in the parameters to the call to $.rpc. thanks, j
[jQuery] Adding error message in HTML with form validation
I'm trying to do some simple form validation, and I can get one response to work but not another one. I have a simple form in a sidebar block (in Drupal) that is an area calculator (user enters length, width, and height, clicks Calculate button, and area field is filled in via jQuery). That part works fine. I'm trying to add some form validation so that the user is only allowed to enter numbers in the fields using the isNaN function, and the part where I (try to) display a message isn't. If I use
[jQuery] How to retrieve jQuery.query?
Say a user called $('div.foo') I would like to get this 'div.foo' from within my plug-in context. $.fn.PlugIn = function (){ if (/table|tbody|thead|th|td|tr/.test($.query){ } }
[jQuery] How to make IF statment using jquery hover conditions???
ok I have a website that I am working on. What I have is a users image and used jquery lib to use the hover event. I want a menu to fade in and out when your mouse is over the image. I now notice I need a If not statement. I want to check that if the mouse is not on the users image or the faded in menu then the menu will fade out. Right now I can only put my house over the users image and the menu will fade in but when I go to put my mouse on the menu the menu then fades away. Any Idea how I can
"actions" undo them self immediately
I just started with jQuery and I have this problem. for example toggle or hide work but they are undone in less than a second. Is this some kind of rookie mistake, what should i check? tnx
[jQuery] BlockUI is not styled as I want
Hi. I am newbie with jquery and also I am using BlockUI along with the youtube plugin (from http://saidur.wordpress.com/2007/12/03/jquery-youtube-beta-plugin/) and I hope somebody can help me. I get the youtube plugin and is working fine. The only issue I have is the BlockUI is not using any of the css I define; instead is using the default. I am sure something is wrong with my code as follows: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" x "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
[jQuery] Romance & Relationship
__________________________________ <a href="http://www.freewebs.com/geolofy/">http://www.freewebs.com/geolofy/</a> __________________________________ Get romantic: Spice up your love life! Includes: kissing and romance tips; dating and relationship advice, free eCards, message boards and much more! A collection of love, romance and relationships resources including advice, poetry, quotes, dedications, chat, horoscopes, romantic ideas, message boards, ... LoveLetterBox.com, relationship advice discussion
[jQuery] Autocomplete not firing in IE
I'm using jQuery autocomplete and here's my code: <script type="text/javascript" src="js/jquery-1.2.6.js"></script> <script type="text/javascript" src="js/jquery.autocomplete.js"></ script> <script type="text/javascript"> <!-- $(document).ready(function(){ $("#txtSearchBox").autocomplete("Autocomplete.aspx", { maxItemsToShow: 10, minChars: 3, delay: 40, width: 270, }); }); //--> </script> ... <input type="text" ID="txtSearchBox" value="" /> ... This works fine actually
[jQuery] Plone OSS CMS has Switched to jQuery
We just got th enews today that the Plone OSS CMS has 'officially' switched out all of its javascript to jQuery as of version 3.1. http://plone.org/ :D This is awesome! Many thanks to the Plone team. :) Rey
[jQuery] ui autocomplete widget with $_post data
Hello, Let me start with that I understand javascript well, but am not experienced jquery user. So i found jquery UI autocomplete widget, but reading docs I didnt found any options to pass remote data with $_POST method, so I wonder if there is a way to accomplish such thing?
[jQuery] Help with jQuery Cycle Plugin Transitions
Hi Group, I'm having some slight difficulty with the jquery cycle plugin so I figured I'd post in this thread... For the most part, I was able to successfully get the cycle plugin to work, but only in FADE mode! That's all fine and good, but I'd love to figure out how to get the other fun transitions on board... My test page correctly showing the fade is at http://preview.tinyurl.com/652c6n Specifically, I'd love the shuffle option or scrollDown option on this page to work http://malsup.com/jquery/cycle/int.html
[jQuery] Jquery Tabs inside a Tab
Hi, I am using http://cse-mjmcl.cse.bris.ac.uk/blog/jQueryNestedMenus/nested.html for jquery nested tabs. But for my requirement i need to selected default "1st sub tab" when i click on parent tab. $('#ddetail_tabs ul').tabs({ selected: 0}); this works only for the parent tab. not for the subtab
Load a file and check its integrity...
Hi everybody, I would like to check the integrity of a distant file that I include in my webpage. To do so, I had write this script using SHA1 function: log.find('div.content').load(path, function() { var data = log.find('div.content').text(); alert(hex_sha1(data)); }); But the .text() method don't contain the HTML tags of the distant file. So I had tried .html() method like this: log.find('div.content').load(path, function() { var data = log.find('div.content').html(); alert(hex_sha1(data));
[jQuery] jquery not working in IE6
Hi, I have tried to fetch xml content using XmlHttpRequest() using jquery. It's fine in Firefox, nut the content are not loading in IE6.0. Kindly help me to resolve this issue. following is my code! $(function() { $('#update-target a').click(function() { $.ajax({ type: "GET", url: "labels.xml", dataType: "xml", success: function(xml) { $(xml).find('label').each(function(){ var id_text = $(this).attr('id') var name_text = $(this).find('name').text() $('<li></li>') .html(name_text + '
[jQuery] Suggestion for the rss about new plugins
Hi, I'm here for a little suggestion, I write here cause I think my suggestion would be lost in the flame about the rockstar banner. I am subscribed to the rss about new plugins, and when I read in thunderbird the topic about a new plugin the page displayed is the one about the release notes and there isn't a link to return to the plugin main page (where there are the others link about it, e.g. documentation, demo page etc). Hope this feedback is appreciated :-)
[jQuery] placing of dialog box
hi, i have been trying to place the dialog box at the specified coordinates on the screen.. but i am not being able to do so. also when the dialog box appears on screen it is placed automatically, i can resize it here. it is also expanding when i try to show hidden components inside the dialog box. when i close the dialog box and open it again it goes to the center of screen (changed coordinates) and i can not dynamically resize it. also it is no expanding automatically when i try to show hidden
[jQuery] Tablesorter parser problems and numbers...
I have several tables that I'm using tablesorter on and running into a problem where, on some columns, it refuses to sort the column as numbers, but insteads treats it as a string, and only sorts by the first digit in the number. The other problem is that the column includes a "NA" for certain fields throughout. Here's what the sorted table looks like: 115 2 3 31 36 41 NA NA Obviously, not what I'm looking for. I tried writing a custom parser, which is placed in my global.js file within a document.ready
[jQuery] Update cart without page refresh
Hi there, I'm a novice with jquery and would like to create a shopping cart where I can add a product without refreshing the page. I've searched extensively and can only find tutorials about drag and drop functionality. All I want to be able to do is hit the add button and the minicart gets updated nothing fancy. Right now the site is running on a custom cart that I wrote a couple of years ago so the database functionalty is already in place. The site runs on asp/ vbscript with an access database
[jQuery] PNG Opacity Fix for IE6 - Not working!, please help me by tonight before i see my client!
hey all, i need some help fast! This is my site i created ages ago that i should ahve completed about 2 months ago for a client and i have no idea why i havent got off my arse, anywho. i want it uplaoded and finished today, although i just realised the PNG Opacity Fix for ie6 using Jquery dousnt work!!!!!! I followed this tutorial; http://docs.jquery.com/Tutorials:PNG_Opacity_Fix_for_IE6 And Rendered it with this site; http://ipinfo.info/netrenderer/index.php?browser=ie6&url=http://www.mediasmoke.com/clients/mttcarpentry/
[jQuery] an ajax load selector function to replace element
I kept having to do $('#content').load(url + " #content"); but ended up having <div id="content"> <div id="content"> What i ready wanted was to completely replace the element with selected content from an ajax load, hence, $('#content).replace(url); /** * ajax load content and replace self * replaced object must have 'id' */ jQuery.fn.replace = function( url, params, callback){ var id = this.get(0).id; if (id) url += " #"+id; else {alert('replace object must have id!');} callback
[jQuery] jquery cycle pager question
i'm trying to create a "news ticker" using the cycle plugin. everything works really well, but i run into some trouble - first, i want to use the pager to show which article is on and how many there are, but i want it on the right side or at the bottom of the div containing the item. i couldn't find a simple way to go about it yet, other then styling it in a fashion i'm trying to avoid. would be much easier if there was a way to render the pager code elsewhere on the page (other then ".before" the
[jQuery] Cycle with anchors on images not working properly
I have the Cycle plug-in working on a site I am creating, and I am trying to use anchor tags on the images to navigate the user to a different page. I can get a text link to change depending on what href is wrapped around the image, but the images will not change what they are linking to. Whenever I hover over an image and click on it, it will only use the href of the first image no matter what image I am on. I am using this example as a guide. http://malsup.com/jquery/cycle/anchor.html Anybody else
[jQuery] Append Node to XmlDocument
Is anyone aware of a simple example which appends a node to an existing XmlDocument? I am successfully able to update an XmlDocument using the attr() method. So: $(xmlElement).attr("Name","new name"); I am even able to create new attributes using this method. What I would like to be able to do now is create a new child element of that same xmlElement. I have tried using the after() and insertAfter() methods: $(xmlElement).after("<item ItemId='" + newId + "'></item>"); but this does not update the
[jQuery] Newbie: JQuery to determine browser and apply CSS
Hello, is it possible to use JQuery to determine the browser type/ version at runtime and apply a custom .css specific to that browser type? If so, would appreciate some sample code so I can see how it's done. TIA G
[jQuery] [autocomplete] Basic Help please - Only returning 1 value
Hi, Clearly I'm doing something basic wrong here, please can someone point it out? I'm only getting the value that's entered into the autcomplete box returned in the drop-down list (ie If I enter '2' only get '2' back not '2', '20', '21' etc) Here's my code: $("#lotno1").autocomplete("../js/autocomplete.php?SaleNo=102", { matchContains: true, mustMatch: true, }); }); Here's the content of 'autocomplete.php': <?php require_once('../../../Connections/Oundle_DB.php');
[jQuery] jQuery selector works with FF and not on IE
Hi All I am trying to do a simple jQuery, where in the selector fetches me all the empty fields in the form page. var inputFieldsArray = $(":input:not(:hidden)"); // to get the fields that arent hidden for(var i=0; i<inputFieldsArray.size(); i++){ var trClass = $ (inputFieldsArray[i]).parents("tr:first").attr("class"); if (trClass == "wcgRequired wcgErrorRow") { // if this value then set wcgFieldtype as required if ($(inputFieldsArray[i]).attr("class") != 'wcgFieldNotRequired') { $(inputFieldsArray[i]).attr("wcgFieldType",
[jQuery] Applying jqDnR to images.
<div dir="ltr">Hello all, I'm using jqDnR (<a href="http://dev.iceburg.net/jquery/jqDnR/">http://dev.iceburg.net/jquery/jqDnR/</a>) to allow things to be draggable on the my page. Applying it to div tags is super easy and works great. Unfortunately when I try to apply it to an image I can't get it to work. This is what I use for a div: $('#container').jqDrag('.Drag').jqResize('.Resize'); I just want to make the image draggable without resizing options. Thanks </div>
[jQuery] Sleep or delay in JQuery
Hello all, I'm new to JQuery and I'm looking for a Sleep or Delay function. I have two animations and I want one to not start until the other has finished. Any Ideas? Thanks in advance
[jQuery] [autocomplete] Auto populate form input field based on another
Hi, Anyone know of a jQuery plugin similar to the Autocomplete that could do the following? I have a mysql db with two columns, 'Lot No' and 'Description'. I have a form with two input fields, 'Lot No' and 'Description' and I'd like the 'Description' input field to be auto-populated from the database based on the entry the user puts into the 'Lot No' input field. ie if they typed in '1' into the 'Lot No' field then the 'Description' input field would call up the corresponding row entry to '1' from
[jQuery] UI Tabs IE Style Problem
I'm using the latest Tabs in a project that already has an established page layout. I'm using the tab styles like the ones at http://stilbuero.de/jquery/tabs_3/. On Mozilla, Opera and Safari the tabs display fine, but on IE 6 the space below the tab label and tab bottom is missing. As a result in IE 6 the tab height is less than in the other browsers, and the font descenders touch the tab base. BTW, Is there a way to include screenshots in this forum? I'm certain that something in the page's existing
Help with siblings()
I guess I should first ask, am I trying to use this correctly? I am trying to rewrite a date validation library and chance the popup errors to be inline indicators. Everything works except the rendering of the message. [code]function checkDate(inDate) { var strDate = inDate.value; if (strDate == '') { $(inDate).parents('.datebox').css('backgroundColor','red'); $(inDate).siblings('.error').prepend("<strong><em>The date is a required field.</em></strong>"); return false; } ... [/code] The row that
[jQuery] Internet explorer:select tag manipulation does not ever work...?
why is it that in firefox you can enable and disable a select tag and also select o deselect an option but it does not work with IE?? $(":text").dblclick(function() { $("#myselect").attr('disabled', "disabled").fadeOut('slow').children().removeAttr('selected'); }); That code only works in Firefox.... not IE... help please, how do I get around this?
[jQuery] $.get ajax method callback being called before the script return...
I'm far from a specialist , but i think its a piece of cake so , here we go... I have the following function being called whenever a combobox is changed: function ajax_do(pAcao, pId , pIdt){ if (typeof pId == 'undefined' ) pId = '0'; if (typeof pIdt == 'undefined' ) pIdt = '0'; $('#messagemLoading').show(); $.get("carrinho.php", { acao: pAcao, id: pId , idt : pIdt }, function(data){ $('#messagemLoading').hide(); return data; }); } it's working , but i need tomake sure the request is finished
Next Page