JCarousel and Accordian issue
Hi everyone, I'm having some issues with JCarousel and accordian working together. I'm using it to provide a list of new members to a site, which are displaying using <UL> and <LI> tags. User can mouseover a container to view the full photo of the member (that's the accordian part). The member photos are displayed from left to right. The problem though, is that if I start from the left member, and move my mouse over to the next member in the line (to the right) then the accordian skips a member.
Slider Steps
Hi guys I am using jQuery 1.3 and theming. I am trying to implment a vertical slider with ranges between 0 and 200, with steps of 50. My problem is that I need the first step to start at 25 and the last step to end at 175. Any help is greatly appreciated. $('#slider').slider({ animate:true, width:"50px", orientation:"vertical", range: "min", values: [25], min:0, max:200, step:50, slide: function(event, ui) { $("#value").html(ui.value); } });
Simple toggle but without IE6 fuzziness
Ok I've got what's probably the world's simplest jQuery script: jQuery(document).ready(function(){ $(".question").click(function() { $(this).next().toggle("slow"); }).next().hide(); }); But cruddy IE6 makes the text in the expanding box go all black and bitmappy when the animation is happening, so I was wondering if there were any easy fixes for this? Alternatively how hard would it be to hide the text, expand the div to the required height and then fade in the text once that's done?
[jQuery] Expander and Dynamic DIV content
Hello to Fellow Coders! I am calling a JQuery $.post function from Javascript to a PHP script which grabs database query results and displays them in a DIV (with JQuery $('some_obj').html) . I would like to have the EXPANDER truncate the results (formatted in an unordered list) but it doesn't work. I add the EXPANDER class reference to the UL tags with the PHP script. Is it because the DIV is loaded dynamically? and there is no content for JQuery (javascript) to render EXPANDED at time of load? I
[jQuery] do function when focus brought to div with attribute of contentEditable
Hi, i have a div element with the attribute of "contentEditable" and insite this elements could be any amount of html, i need to call a function when focus is brought anywhere inside this element, i have tried: $("div").attr("contentEditable").focus(function(){ alert("i have focus"); }); i have also tried to find all the children of the div with the attr of contentEdiable but i just cant seem to get the query right. could anyone help me on this one please?? Regards Robin.
[jQuery] tooltips on top of a modal window
Hello all, Does anyone have an example of jTip or clueTip being used on top of a modal window? I have done it, but it only works in ie7. In firefox, the tooltip is behind the modal (and thus doesn't show up). Any help appreciated!
passing parameters to click function
I updated my test page (http://mckinley.no-ip.org:8080) to better illustrate my problem. I'm trying to run through a loop and assign click events that require parameters from the outer function, but I can't figure out how to do that. If you look at the log messages to the right, the text I write out shows what should be going into the stars' click events. But, if you click on the star, you'll see that, actually, they are all the same. They all perform "doStars(2,6) " The 2 and 6 are the maximum values
[jQuery] Cycle Plugin now supports multiple transition effects
I've received many email requests for this feature and I'm happy to say that it has finally been released. A demo is available here: http://www.malsup.com/jquery/cycle/multi.html
jQuery: comparing two selectors
I have two selectors selecting single elements, and would like to determine if they select the same element. I'm doing this for the drop() method of a droppable, and have tried passing one selector to the other's is() method to no avail. How do I do this?
[jQuery] Localization in JQuery using .Net resource files
I've put together a post detailing how you can use .Net resource files as JSON objects in JQuery, http://bloggingdotnet.blogspot.com/2009/02/javascript-localization-using-net.html
[jQuery] case insensitive :contains()
Hey all, I tried various solutions to have a case insensitive :contains() on google but couldn't find one that works with jquery 1.3: http://dev.jquery.com/ticket/278 http://mkhairul.com/2008/11/26/making-jquery-selectorcontains-case-insensitive/ any suggestion? also it would be good to include this selector in the official jquery =) Thanks in advance, Pat
[jQuery] pagerAnchorBuilder and slide.src
Hello, I've search everywhere so if this has been asked before please point me to the right direction. I have the cycle plugin working on a wordpress theme I'm developing. It slides images with text this is my html code: <ul id="portfolio"> <li> <a href="...some link..."> <img src="...some source..." /> </a> <div class="post"> some text </div> <li> </ul> this is my jquery: $('#portfolio').after('<ul id="portfolio-nav" class="clearfix">').cycle ({ timeout: 3000, pager: '#portfolio-nav', pagerAnchorBuilder:
[jQuery] anyone tried alternatives to setting wmode on objects (lightbox on top issue)?
I'm working for an alt-weekly paper, and we have some animated flash ads that come from various sources, which aren't setting the WMode of their flash ads. further complicating things, our ad server backend is a shared platform, so I can't go modifying the script that generates the object tags. even /further/ complicating things, the ads display in an iframe on a different domain, so I can't modify the object tag after the fact (which adobe's stated doesn't work anyway, although I've seen otherwise?)
[jQuery] tabs, ajax mode, spinner not removed
jquery 1.3.1, UI.Tabs 1.6rc6, FF3.0.6 Whenever any tabs load the spinner img will remain visible. I'm using the following for the spinner option for tabs (I've removed everything else with the same result) spinner: '<img src="/css/images/misc/spinner.gif" />' The default "loading ..." does change back to the label text. I see that the img should be removed in cleanup(). I can't see any reason for it to be failing. var cleanup = function() { self.$tabs.filter('.ui-tabs-loading').removeClass('ui-tabs-loading')
[jQuery] strange loop with livequery click
I've got a page that I'm loading via ajax, and the first time I load the page, the click function works great. If I make a second ajax request and load new data, the clicks are triggering the function twice. Even though I empty the div before loading the new data, and then call livequery on the click. Any idea why livequery would do this, and what the solution would be? [code] function loadForecast(lat, long){ $('div#holdForecast').empty(); var i=1; $.ajax({ type: "GET", url: "widgets.php", data:
[jQuery] jqGrid 3.4
Hello All, Happy to introduce the new version of jqGrid. All the new features and bug fixes can be found here http://www.secondpersonplural.ca/jqgriddocs/index.htm Be a sure to visit the demo page for the new features. http://trirand.com/jqgrid/jqgrid.html The jqGrid home page is here http://trirand.com/blog/ Enjoy Tony
[jQuery] JSON and jQuery
Hi, i didn't find anything on jQuery and JSON. is there any decoder ? thanks a lot.<br clear="all"> -- Alain ----------------------------------------------------------- Windows XP x64 SP2 / Fedora 10 KDE 4.2 PostgreSQL 8.3.5 / MS SQL server 2005 Apache 2.2.10 PHP 5.2.6 C# 2005-2008
[jQuery] optimizing
hello, Im trying to figure out a better way to do this. it works but its very sluggish, so i think theyre might be a better way to iterate? i have an input field = .searchbox and then i have a YUI datatable that contains about 65 rows. when i start to type in the search field, it iterates over all the tr's looks at 2 cell text values and then uses the indexOf method to determine whether or not to display the <tr> is there a way that i can iterate once and put those values into cache or something?
[jQuery] Can't Get Data Back from $.ajax() Call in IE7?
I've been testing this past few weeks in IE7, and I've got one specific case where $.getJSON() seems to call the server intermittently, and usually not at all. I use $.getJSON() a lot. In FF and Safari it always works, and even in IE7 it usually seems to work, but not in this case for some reason. I've tried setting cache to false: $.ajaxSetup({ cache: false }); ...but that doesn't seem to have fixed it yet. So now I'm trying plain $.ajax() instead of $.getJSON: $.ajax({ url:
Select Two Children per Parent??
Hi, Consider this: <div class="eachcolumn"> <a href="#" class="mystyle">1</a> <a href="#" class="mystyle">2</a> <a href="#" class="mystyle">3</a> <a href="#" class="mystyle">4</a> <a href="#" class="mystyle">5</a> </div> <div class="eachcolumn"> <a href="#" class="mystyle">1</a> <a href="#" class="mystyle">2</a> <a href="#" class="mystyle">3</a> <a href="#" class="mystyle greyit">4</a> <-- Selected <a href="#" class="mystyle greyit">5</a> <-- Selected </div> <div class="eachcolumn"> <a href="#" class="mystyle">1</a>
[jQuery] "undefinedjquery.block.js"
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face
[jQuery] show/hide content
Hi, I once saw a jquery script where you can display content based on count 5 | 10 | 20 It defaults on 5 items. When you click on 10 it displays 10 items and so on Can someone please point me to a link? Thank you -- View this message in context: http://www.nabble.com/show-hide-content-tp22025581s27240p22025581.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] How to open pop-up window after success result of Validation of form?
I used jQuery Validation plugin. Validation works fine. Could you tell me, how to change form attributes, that new pop-up window raised after validation (I don’t need alert message – only new window) Here code of validation: Html form : form id='f1' name='f1' method='post' action='result.htm' JavaScript validation code: $(document).ready(function() { var validator = $("#f1").validate({ rules: { filed0: {required: true, minlength: 2}, filed1: { required: true, minlength: 2 }, filed2:
[jQuery] Small Glitch with Open/Shut Function
I put examples of my problem online at http://www.geobop.org/Test.php and http://www.geobop.org/Test2.php. It was working fine until recently. I don't know if the problem was caused up upgrading to jQuery 1.3.1 or if I just messed up my files somehow. The scripts on the first page don't work at all. But if you mouseover the Microsoft banner in the top right corner, you'll see that something is happening internally. As I recall, I originally added the following CSS styles in the head section to fix
Text Slide
Hi, I would like to know which plug in I need to use in order to do that slide effect similar to:http://www.rescyou.co.il
[jQuery] Accordion
Firstly, the demo here http://docs.jquery.com/UI/Accordion does not work for me on any browser I test. I think it is broken. Secondly, I am using this widget on a <ul> tag where each <li> has another <ul>. It works well BUT if the bottom one is open and you put the mouse on that <ul> tag and then slide it up to the <li> so that it begins to close and then continue sliding up to the next <li> up before it finishes closing, then the next one doesn't open. Seems to me that the 'open' event never happens
[jQuery] show/hide (toggle) dynamic table row
Hello - thank you in advance for your help! I would like to use the toggle function to show hide a table row BELOW a dynamic row, so the table would look like this row from database with data row I want to show hide (defaults to hide) I know how to do this when the table is static but how do I do it when the rows are being built based on the numbers of rows from the database? THANKS!
[jQuery] [validate] Form cache manipulation?
Hi, I use the jquery.validation plugin very handy. All works fine, but I have one little Problem. I have a form which adds new Customers. If you fill out these form more than one time, the Browser will show filled in values from the past if they match with the given characters in one field. My validation Messages appears under each textfield or whatever, so if I type in a character which is at the beginning like one value from the past, the browser pops up a list under the textfield in which i can
help with basic jquery
Hi Im trying to learn using jquery with only a very minimal experience with js, so this might be a trvivial question: I have a menu where, when a menu item is hovered, i want to show a specific box that displays some info about the menu item, etc when "menuitem1" is clicked, it should display the div containing "heres some info about menuitem1". My html looks like this: <body><ul class="menu"> <li> <a href="#">menuitem1</a> </li> <li> <a href="#">menuitem2</a> </li> <li> <a href="#">menuitem3</a>
[jQuery] cross frame menu
Hi<div> </div><div>I know this is not directly related to jQuery, but I really need some help.</div><div>I have found many menu plugin for jQuery. However, none are supporting cross frame.</div><div>I am thinking of doing one myself, but I dont really know the concept or the main idea of how to do it.</div> <div>Can anyone point me to the right direction? or is there a good tutorial somewhere?</div><div> </div><div>Thanks</div>
[jQuery] Superfish Vertical
The hover flyouts are cut-off in FireFox and IE 8. You can only see part of the link and it cuts off the rest. It works fine in IE 7. View with FF or IE 8: www.royalmbc.org/joomla
[jQuery] [TreeView] Dynamic tree and location persistence problem
I am using TreeView to generate a tree of the content on my website which is dynamic. If content is added the tree grows. The way I manage the dynamic tree is by creating a new tree whenever content is added and loading the newest tree to be displayed in the webpage. My idea is to use loaction based persistence in order to allow all users to be aware of their location within the content tree. When navigating content by clicking on the tree, the tree always highlights the location. When navigating
[jQuery] flotr graphing with jquery and json
Hi I am a beginner in JQuery. As part of my project, I have to plot a graph using flotr. For this I have to pass the JSON data to the flotr library. I have the java servlet which generates the JSON object. Someone please explain how I can use $.getJSON and use the same to plot graph. Thanks in advance Kuttan
[jQuery] AutoComplete script + mysql database
Hello there, I downloaded auto complete script from <a href="http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/">http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/</a>, it seems really great. but I'm wondering if there's a way to fetch results from a mySQL database table rather than using a single file with keywords in it. Looking forward to hearing from you soon. Thanks in advance. <font color="#333333" size="2" face="arial">Best Regards ~ </font><blockquote style="margin:
Thickbox Issue
I am trying to implement a thick but some reason the picture is not showing. For some reason the url is wrong for the large image. For example, the href="images/the.jpg but when the image is pulled it is something like http://www.thesite.com/js/http://www.th ... eimage.jpg Example http://www.looking4ambiance.com/beta/events.php Any ideas? BTW I am pulling my info from a database.
[jQuery] Lightbox working local not live?
Hello, I'm currently working on my own website and I got everything to work perfect locally, but when I upload live, lightbox fails to work. My jFlow still works, it's just lightbox. As far as I can see it should be working, but I'm not "super" familiar with javascript, so I could have something wrong. Any help is much appreciated, thanks in advance, Gavin. http://gedesignz.com/photog.html
[jQuery] getting border with without em or px
Hi, i know how to get border width with jQuery but every time it retrieves also the format (px or em). is there an easy way to get the border width without the px or em ? or should i do a substring ? thx.<br clear="all"> -- Alain ----------------------------------------------------------- Windows XP x64 SP2 / Fedora 10 KDE 4.2 PostgreSQL 8.3.5 / MS SQL server 2005 Apache 2.2.10 PHP 5.2.6 C# 2005-2008
[jQuery] why my ajax call is not working in IE?
Following code works in firefox, but doesn't work in IE. why? sendRequest:function(mode, request, argument) { if(mode=="prototype") return $.ajax({ url: "xml/"+request+".xml", error: function(){ alert('Error loading xml'); }, async: false,}); else { var queryStr=''; if(request=="summary") queryStr='opcode=get_data&type=8'; else if(request=="connectivity") queryStr='opcode=get_data&type=4';
[jQuery] making a sortable react on a droppable
Hi guys, I'm sorry, this question is most likely only due to my total ignorance of javascript design patterns. I have the following scenario on my website: On top there is a table which lists all users that exist. I have made the <td> that contains the username be draggabe so that I can move it over into another droppable which in this case is a div- container representing a user group. Now that droppable is actually a list so I have decided to make it a sortable, allowing me to drag users from one
[jQuery] connect a MySQL database to jQuery Autocomplete plugin by bassistance.de
Hello there, Can anyone please advise me on how to connect a mysql database with the jQuery Autocomplete plugin by bassistance.de ?I do not wish to have a js/php file with pre-defined tags. Thanks in advance.
Next Page