jScrollPane problem
I was having the problem described here so I tried what the creator suggested by moving the jScrollPane initialization to "on load" instead of "on document ready". However, since my site is being built on Wordpress (Wordpress loads its own jQuery in no conflict mode), I've had to make a few adjustments to the code according the Wordpress codex. Now, the scrollbars don't even show up. Below is the head section for the website. If anybody can take a look and give me some tips on how I can fix this
[autocompletion] v1.4.2 mustMatch
Hi all I'm just wondering if the new autocompletion plugin in 1.4.2 has the 'mustMatch' feature as the old one? And if not, how can be done with 1.4.2? Thanks!
How to access jcarousel properties
Sorry if this is a stupid question, but I'm quite new to javascript and jQuery. Being used to Perl, Bash and the like, these javascript objects confuse me. How can I read and set the animation property of my carousel? I have tried something like this: jQuery('#ij-carousel').jcarousel({ animation: 2500, //[...] initCallback: function(jc, state) { if (state == 'init') { $('div.jcarousel-next').bind('click', function() { speed = jc.animation; //save auto-animation speed // jc.animation
[validate] how to trim input before validating the value
Hi - I'm using the validate plugin on the form and would need to trim the input value before the element gets validated. Can anyone pls let me know if there is any option in the validate plugin that to modify the input before validating or do I need to add another event handler on the element I'm trying to trim? Thanks for the help!
Validation problem
Hello all, Fairly new to all this JQuery malarky but I have been enjoying it lots. Well, I was up until trying to use the Validation plugin that is. I'm trying to validate a simple form but nothing happens when I hit the submit on an invalid form. Could some kind, knowledgable person please take look at my code below and see if you can spot any schoolboy errors before I go completely insane. Many thanks, J <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Datepicker IE bug
Hi, i have a problem with datepicker in IE8. I added a change event to the first datepicker and it has a default date. When i change the date for the second time the datepicker does not do anything and it seems like it opens the second datepicker because the options are the same as the second one. You can test this bug on www.reservainn.com (try changing first datepicker several times) Here is my code: $(function() { var min_date=0; var fecha_min = new Date(); var fecha_min_val
jCarousel problem - reloading content
I am using the jCarousel plug-in to auto-scroll through selected property listings -- i.e. HTML with image tags, associated text and links - the content is pulled from a database initially using PHP. This all works great.... The issue arises because there is a separate search form which generates new HTML content via an AJAX call - this fresh content needs to replace the original HTML being scrolled with jCarousel... I have tried various options including calling stopAuto(),reset(), reload() methods
[validate] Possible bug for corner-case usage of "remote"
Hi there, We're experiencing a problem with jquery-validate. Correct behaviour is that, when a form is submitted, the input (type=submit) on which the user clicked on a form is also submitted with the rest of the form. But in a very special case this does NOT happen when using jquery-validate: If you have an input that uses remote validation, the form is submitted without the input (type=submit). And another twitch: this only happens when running via Selenium test - not when we do it by hand. So,
jquery history plugin - infinite ajax requests in background
Hi. I am trying to configure the jquery.history plugin and i manage to get the basic function working (back button works but the transititions between pages are not smooth, It looks like he loads the page at least 2 times. Also i have checked with Firebug and the plugin keeps making infinite ajax requests. This is my code: function callback(hash) { if(hash) { ajaxLoad('l....?page='+hash,null,'#target'); } else { // start page alert("startPage");
physics engine
hi, is there a physics engine for jQuery?
Lock slider to only one direction?
Basically, I'm defining the current value of multiple sliders via a PHP script. Minimum is 1, max is 99. The values of each slider is the person's current level, I only want them to be able to slide to the right (increase level). Is there any way to lock the slider so they cannot make the value go below the initial value?
Looking to Commission Two jQuery Plugins
We are looking to commission two jQuery plugins: Newspaper Justify/ Multi-Line Character Justify Plugin - This plugin will effectively recreate the same IE-only text-justify: newspaper effect in jQuery. A similar existing plugin is the Character Justify plugin which only works for a single line. In essence, the plugin should allow justified text to automatically space characters based on the number of total characters per line. Headline Resizing Plugin - This plugin will take a heading or any text
jEditable Unexpectedly Strips Newlines from Display in IE
I'm using jEditable to allow users to edit content in a PRE block. But IE7 and IE8 are failing to honor newlines (\n) and instead smashes all the content into a single line. It works fine in FF, Safari, Chrome but fails in IE. Has anyone else seen this behavior? Why would the newline characters get stripped? Code Sample: jQuery('.edit').editable(function(value, settings) { //nl2br html_val = value.replace(/\r?\n/ig, '<br/>' ); return html_val; }, { type : 'textarea',
[urlParam plugin] (if) Else function doesn't work?
Hi guys, This is my first post, so if I did anything wrong, tell me. I have the following code: $(document).ready(function(){ $.urlParam = function(name){ //Get Parameter from URL var results = new RegExp('[\\?&]' + name + '=([^&#]*)').exec(window.location.href); return results[1] || 0; } var TabContent = $('#SubNav > div.TabContent'); TabContent.hide(); var SelectSub = ""; if($.urlParam('Sub')){ SelectSub = '.' + $.urlParam('Sub');
(validate) plugin: Custom validation for comma separated tags in input:text
Hi guys I'm using the validate plugin from bassistance.de and now I'm wondering how I could do a custom validation for a comma separated tags list. I guess this should include: - check for duplicates - check for some not valid chars, and so on Or maybe doing an ajax validation against a php file and handle validation with php code? Thanks for any ideas Enrique _____________________________________ codeIgniter developer
Problems with a jquery plugin in just IE8(probably other versions)
Hi all. I have been re-building my portfolio and using jquery for all effects. I have an effect of a slider that slides content from right to left, this works fine using all browsers except, you guessed it IE. The problem is for this content I just get the loading image. This is really bugging me and need it to be working as my contract ends soon with my current employer and need to start applying for new work. :-( the url where I am testing this is at http://www.lmarsden.co.uk/dev Any suggestions/help
Focus is lost for users tabbing through a page with the the "summarize" plugin
I'm using the "summarize" and "expander" plugins but have noticed that the tab order is reset (goes back to the top of the page) whenever I expand or collapse a section, causing a user to have to retab through the enitre page. Is there a way to have the focus go to the next link on expand and collapse?
plugins and ajax populated div tags
Hello All.. I am relatively new to jquery and javascript and I am amazed all the possibilities that it presents. I've run into a issue that I can't find a solution to even after several days of googleing and researching here on the forums. Perhaps I just don't know the keywords that relate to the solution. When I attempt to combine a plug-in or jquery itself for that matter and a div tag that is being populated by an ajax call the div is being populated but the plug-in is not working on it. Here
Accordion: removeClass('selected')
I am using the Accordion menu to filter a data table. The menu contains two filters, with multiple options under each. You can only have ONE filter selected at a time. If you click between the two options under the first filter, the style class, 'selected' is added and removed without a problem. If you click an option under the second filter though, it DOESN'T remove the 'selected' class from the first filter. Any help would be appreciated. Thank you. <script src="http://code.jquery.com/jquery-1.4.2.js"
jquery.cycle positioning in Firefox 3.6
I've been using Cycle for a few weeks. My implementation works great in all browsers except for in Firefox 3x - where the slideshow div is being positioned WAAAY out of place (like 900 pixels too far right). As best I can figure out it's a CSS issue, specifically if I disable overflow: hidden; in Firebug, it seems to position alright. I've tried all kinds of css additions to apply width, height, overflow, position, etc to parent and child divs, with no luck... since cycle is applying that overflow:
jQuery Address - update URL after form submit
Hello, I'm using jQuery Address on a website I'm developing, and I've run into a problem. The problem is that submitting forms doesn't update the URL. So if I'm on "index.html#/users/add.html" and submit the form, the returned view is "/users/index.html", but the URL remains on "index.html#/users/add.html". So if I refresh I get sent back to the form. Is there a way around this? Surely someone else must have had the same problem. :P Thanks, Stian
jquery corner not working in IE8
hello, i am using this: http://jquery.malsup.com/corner/ jquery corner. In firefox, chrome its all coming fine. But in IE8 it comes as rounded corners but as soon as the page completely loads a flash happens and it gets back to square corners. http://www.psychiccharm.co.uk/test-page.htm I am using very basic of the corner code i.e: $('#content').corner() Can anyone help me on how to fix this issue ? I have already spent so much time trying to figure out but i am not able to find the issue :( Thanks.
Treeview Problem + and -
Hello, i have got a treeview, which is expanded. <ul id="tree2" class="filetree"> <li><span class="folder"><a style="text-decoration:none">System</a></span> <ul> <li><span class="file"><a href="#" onclick="loadallgsettings()" style="text-decoration:none">Allgemeine Einstellungen</a></span> </li> <li><span class="folder"><a href="#" onclick="" style="text-decoration:none">Berechtigungen</a></span> <ul>
Resize Grid after Splitterbar movement
Hi, i have a document using jquery splitter. The right pane contains a grid which i want to resize to the full pane size. My problem is now, how to trigger the resizing of the grid, when i release (mouseup) the splitterbar. My first thought was to modify the eventhandler in splitter.js, but i had no success. Nothing seems to be working, even not sending a simple alert window). As i am not very familiar with js i need your help. Is there anybody having any experience with this?? Thanks Thorsten
Validation with AJAX?
Hi there, I am kinda new to jQuery but I love it! I am having a small problem with the validation plugin and AJAX. Below you see two blocks of code. The first is a simple ajax call, as you can see i tried adding the validation to this block of code. The result is that the AJAX call works great, but it completely skips the validation plugin. So the second block of code contains an IF statement to detect if the form is valid, and if so it is suppose to start the AJAX call. The result here is that validation
Create Slideshow with Fade Transition and Navigation
Hello! I am trying to create a slideshow like the one on this site: http://www.marthastewart.com/ However, I would like to use JavaScript and CSS instead of Flash. I would be super grateful for any suggestions on how to do this. I am currently using the InnerFade plugin, which works great for the slideshow part, but I can't figure out how to integrate the navigation; I'm not even sure where to start! I'm open to starting over from scratch and not using InnerFade. Thanks for any help!
Having problems using validate plugin
I am using this plugin on my asp.net page. This plugin obvoiusly suspends my submit button to verify the text boxes. However, it does not return to my submit button. What i mean, is that I have a C# onclick event which never gets executed. It just tells me that all text boxes are ok. (I am very new to this). I have traced it down to the following code that is getting executed. submitHandler: function () { $("div.error").hide(); alert("submit! use link below to go to the other step"); } How
Jcarousel showing in two lines
Good afternoon guys, I'm brasileiro.Por I ask those who respond to this topic answer no initials .... I am using a translator to be able to enter. The thing is I have a photo gallery with the effect carousel (jCarousel) and I have two lines images.With I do that? Thank you all.
jCarousel: Looping mixes up order
I use jQuery/jCarousel. The carousel should be looped, so that when you get to the last item, the next item should be the first item. But the order is wrong! 1,2,3,4,5,7,9,4,9, Instead of: 1,2,3,4,5,6,7,8,9 Is something wrong with my math? Please test my code and help me get this to loop correctly, thanks. Here is the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr"
[cycle] destroy command doesn't show back all images
Hi all! By default I have on my page list of images. All of them are shown to user. I'd like to run and to stop Jquery.cycle when user click one or another local link. No problem to run. User presses the link, all images except first one disappears and slideshow begins. Perfect! But there is problem to stop. Under word 'stop' I mean complete destroy of cycle.plugin effect. Right behaviour is to stop sliding and show all images in the list again. $( '.slideshow' ).cycle( 'destroy' ) sadfully just
Autocomplete - using autocomplete on dynamically added form element
Hi, I'm using the tutorial here http://www.dustindiaz.com/add-remove-elements-reprise/ To dynamically add extra elements to a form. When I do this, autocomplete only works on the original form elements. I tried calling: var data = "Core Selectors Attributes Traversing Manipulation CSS Events Effects Ajax Utilities".split(" "); $("#foo").autocomplete(data); after adding my new input with id='foo' but that still doesn't work. I notice that when I view the id's in FIrefox using
Autocomplete: How can I post the value of ui.item.id to php
How can I post the value of ui.item.id to the php-script that creating the web-page? Example: I am using Autocomplete for a input field named "bankcode". After I select the correct "bankcode" I get back as result from the source search.php the name of the bank as "ui.item.id", too. Now, I want to post the value of ui.item.id (name of the bank) to the script BankDataInput.php, that controlls the whole page. What I have to do ? Many thanks in advance.
Anybody know of a content slider that works like this?
I'm sure I've seen one somewhere but can't seem to trace one down! I need it so that you click on one of the sections and it opens up (as it is in the bottom part of the image) If anybody has any recommendations I'd be most thankful :)
idTabs 2.2 How do I select no tab to be shown at start?
Here's the page I'm working on: http://theemptyroom.org/thesis/hotc_map.html I'm using idTabs for the legend on the left. The first tab links to a div called clear which has nothing in it. It's sorta a hack to get it to work correctly in Firefox, but IE and Chrome are still showing the Center For Wooden Boats tab content in the center of the page on load. Has anyone else had this problem? I know that the idTabs homepage mentions that there is the ability to make no tab's content show as default.
Searching node in a Jquery treeview.
Hi, There is a demo of searching of nodes in a Jquery tree view in the below link http://www.jstree.com/demo/search But there is no clear explanation in the above link to implement this feature. Can anybody help me out to implement this giving a step by step explanation regards, kumar
Search functionality in HTMLtable to Grid
Hi, My question is related to Search functionality in JQ grid which is converted from Html table. i'm using tabletogtid(Tabe ID) method to convert the html table to JQ grid. I need to implement search feature in this grid, search should happen locally without calling any action method of controller. am using the below code to make search textboxes to appear on top of the columns in the grid. $("tableId").jqGrid('setColProp', '',{search:true, stype: 'text'}); $("tableId").jqGrid('setColProp','',{search:true,
Content slider doesn't hide in Chrome, Safari, IE. Firefox is OK.
http://bit.ly/1N8YLe The content slider should be hidden when you first hit the site. However, it goes down for a split second and moves back up. It's not a big deal but it gets annoying after awhile. Can anyone help me out?
Problem using two jquery plugins at once
Hi there, I am using two jquery plugins: supersized2 and accordion. They both work independently of each other but when put together they do not work. The accordion plugin is in an include file and seems to need the actual link to jquery in the include itself in order for links to work correctly on the side nav. However the accordion feature itself works fine without it. If I keep jquery in two places, it makes the supersized plugin not work. I tried playing with NoConflict code with no luck. But
Cycle - change speed
Hi, I'm using Cycle plugin and I want to change animation speed (option 'timeout') dynamicaly during slideshow. Controlled for example by some jQuery UI Slider. Is it posible? Thanks.
jquery.ui.accordion - open accordion content when linked to
What I have right now is the accordion plugin setup so it shows a few services (default one) http://jqueryui.com/demos/accordion/default.html What i'm wondering is, how can i link from another page to one of the accordion header and it opens that accordion header automatically when someone clicks that link to it thanks
Next Page