[jQuery] get next item of sibling relationship unknown (was: first child of type form control)
Richard, Thanks for your fantastic advice on my "next" problem. I realise that the way I initially asked the question I didn't explain the requirement in enough detail. Here's my challenge: - I have a valid xhtml document that contains a <a name="ScrollTo" class="scrollTo" /> tag. I don't know where this tag will appear, it may be in a form, it may not. - There will be instances (I don't control the doc gen) where multiple <a name="ScrollTo" class="scrollTo" /> tags appear - in some cases, the page
[jQuery] [getPlugin] New Plugin to help optimise usage of jQuery plugins - contributions welcome
Hey all, I've just released getPlugin, a plugin that aims to minimise loading/ rendering times by keeping unnecessary scripts and styles out of the DOM. What it does is basically check whether or not a specific plugin/ script/style should be imported, and then imports it. The concept is similar to $.getScript, but it's much more flexible (and it also allows browsers to cache the external files, so that download times are even shorter). Basic syntax is : $.getPlugin(plugin,[check],[data],[callback]);
[jQuery] change in the slide panel movement
Dear all, I am working on slide panel as in http://www.webdesignerwall.com/demo/jquery/simple-slide-panel.html what i need to do is a reversed movement, instead of on clicking the div is pulled down, on clicking the div is pulled up Please advice me what do i need to do. Thanks in advance.
[jQuery] Cycle plugin on menu - rendering problems
This is murdering me and I hope someone else can see what I'm doing wrong! http://homeholistics.com/PROPOSAL/vanilla_treatments.php There are supposed to be 7 images in the top menu bar - the middle 5 are Cycle slideshows. I can't get them to show up. Either ALL the images show, or nothing does! I've tried so many different forms of layout & CSS, I've lost track ... PLEASE will someone be kind enough to give it the once-over and put me back on track??
[jQuery] jqueryUI droppable -> reset position of draggable in over()
I'm using the jqueryUI to create functionality basically very similar to the iGoogle drag and drop. I've got a number of boxes that i'm dragging around. Basically, I've got it working so that I can drag one and drop it on another element. Then, it will reposition itself after that element in DOM order, and all the elements are floated. Very simple to accomplish, and it works great. However, when I've dropped it, i need to reset its relative positioning back to 0. I've also accomplished this. The
[jQuery] Problems with Migration from 1.1.3 to 1.2.3
Hello all, Since the morning I'm trying to complete this supposedly easy migration but for some reason it gives me a migraine %-|. The first problem I've encounter was "$ is not a function" when trying to call (previously worked with jQuery 1.1.3) function (sample call: $ ('#element_id').slideUp('fast');). I didn't change nothing but the jQuery source to 1.2.3. Did some online search and could not find anything concrete, just this: "This error is almost always due to an incorrect file name/path for
[jQuery] Func outside of doc.ready cannot access function inside doc.ready? Why not?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=015501221-02042008><FONT face=Arial size=2>As a follow up to my post on "Flex Ajax Bridge & jQuery"...</FONT></SPAN></DIV> <DIV><SPAN class=015501221-02042008><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=015501221-02042008><FONT face=Arial size=2>I found
Text of a Selected Item in a dropdown list [Solved]
I am stuck on this code, and don't know what to do. I have a drop down list with 1400 items. When the user selects a checkbox, I want to populate two fields on the page. 1 will have the text label of the item, and one the value of the item. I know how to do the populating of the fields. What I need help with getting the text label of the field. FYI: The class on the dropdown list is called ddl. I am using that to reference the drop down list. If I do this: var id = $('.ddl').val(); I get the value
[jQuery] jQuery height() and width() methods
On a particular project I'm working on, I noticed that when I use the height() method on an element with padding, the element kind of twitches, and the value returned is only the height of the element WITHOUT padding. Looking into the code, the jQuery.css() function sets all padding and border values to 0 before firing the swap function to determine computed pixel height/width. This in effect sets the css for the element momentarily to have no padding or border before returning it to its original
[jQuery] Element level blockUI kills IE6
Hi, I'm relatively new to jQuery and therefore the blockUI plugin. But, I've tested this to the point I'm confident the problem is element level blockUI. Result of using it on a table argument is my entire IE 6 process is killed, to the point I get the "Send Error To Microsoft" dialog. There is no problem in IE 7 with which I developed the app, QA picked it up. Works fine when I replace $('#newTargetsTable').block(); with $.blockUI(); The unblock command is not a problem at the element level. I block,
[jQuery] jqModal - Define a max-height and still allow resizing and dragging?
I've taken a look at a number of different plugins for a popup that I'm going to be using. jqModal and the ones listed on this page ( http://dev.jquery.com/view/trunk/ui/demos/ui.dialog.html ) look like they may work. However, each one has a problem. I would like to retain the functionality as in the demos. Specifically, having the corners of the popup box be the area where you can resize the window. However, the content in the popup may be extremely large, in which case I would need the window to
[jQuery] window resize event causes IE6 & IE7 to hang
Hi all, I'm using $(window).resize() to adjust a div height on the fly. I've found that rapidly changing the window size causes IE6 & IE7 to hang - I guess because too many events are being fired for IE to cope? Here's my code : function content_resize() { var w = $( window ); var H = w.height(); $( '#content' ).css( {height: H-270} ); } $(document).ready(function() { $( window ).resize( content_resize ); content_resize(); }); I'm using jquery 1.2.2 and the dimensions plugin. I've also tried the
[jQuery] How to pack the farbtastic plugin?
I ha ve already tried to pack the farbtastic plugin with the packer utility (http://dean.edwards.name/packer/) but there are some errors when trying to use it. Any suggestion? Thanks in advance.
Code structure using PHP and jQuery
Hi everyone, First off all let me say that I'm new jQuery and relatively new in PHP. I'm developing a website with jQuery and PHP and I have a question about code structure. I've organized the PHP code in different functions like: file_api.php user_api.php content_api.php etc... Each file as a set of functions: (example for file_api.php) create_folder(); get_folder_content(); move_file(); etc... These functions are usually called by jQuery with the $.ajax function with POST method. Since I have several
[jQuery] document ready function through ajax call
hi there i have a question i make an ajax call with ui.tabs to an php page in this page loaded through ajax i make a document ready funktion adwise for the dom is that possible, in ie7 ff opera safari... it works but not in ie6. even if i let the document ready function clean no adwise in it i get an error in ie6. is there a known issue about that please help greet jens
[jQuery] Selecting part of table structure
Assuming I have <table> <tbody> <tr id="first"> <td>1</td> </tr> <tr> <td>2</td> </tr> </tbody> </table> is there a way with jQuery to select (and then clone) the following (i.e. the table structure, but with just the first <tr> <table> <tbody> <tr id="first"> <td>1</td> </tr> </tbody> </table> Thanks for your help. Pete.
[jQuery] Autogrow textarea for Jeditable
I made a new custom input for Jeditable. It uses Chrys Baders excellent Autogrow plugin. Even custom input is only few lines of code I wrote a small tutorial to show how it was built. http://www.appelsiini.net/2008/4/autogrow-textarea-for-jeditable Also separate demo here: http://www.appelsiini.net/projects/jeditable/custom.html Tested with main browsers, but I would appreciate all testing and feedback :) Thanks! -- Mika Tuupola http://www.appelsiini.net/
[jQuery] Internet Explorer Caching Form Values on Page Refresh
I am the author of a plugin which places example text in form inputs that disappears on user focus (http://plugins.jquery.com/project/ example). I recently received a bug report describing the fact that refreshing a form in Internet Explorer 6 and 7 will reload input values without re-applying any CSS classes (which my plugin relies upon). This behaviour exists in other browsers such as Firefox and Safari but is avoided by clearing such values on page unload: this method does not work with IE, however.
[jQuery] new to jquery
Hello, i've been writing javascript for a while now. So, as you can imagine I am struggling just a bit. I browsed a few of the beginner tutorials and didn't see what I was looking for. I understand that methods like .is or .hide are special to the jquery library and you can't access these using regular DOM elements. But I don't want to type $(this.parentNode.parentNode) every time I want to do something to it. Assigning var target = $(this.parentNode.parentNode); still doesn't let me use jquery methods
[jQuery] interface elements odd behavio in IE
I am trying to implement the sortables demo (http:// interface.eyecon.ro/demos/sort.html) in an accordion. Problem is it works fine in FF and Safari, but IE is all wigged out. IE draws the sortables on top of everything else, instead of inside like the other browsers do. Anyone have any insight on this kind of thing? Both the accordion and the sortables are from Eyecon. They are, so far, the only elements on the page.
[jQuery] Tablesorter 2.0 : Problem with Sort Direction
Hi, I'm finding this plugin very useful, however i have one major problem with it (i dont know if its just me). When i click to sort on a column it sorts it ascending, which is correct. Then i sort on another column ascendng, fine. If i click to sort the first column again it sorts it descending, even though i moved columns. I would expect all columns to sort ascending unless i was already sorting on that column. Is this a bug in the plugin and is there a way around this? Thanks
[jQuery] Call to clone() not working in tabs loaded with Ajax
I have a page which jQuery.UI.Tabs to load content from other pages. (See http://demos.zatechcorp.com/tcedashboard/) On the 'Daily Budget Tracker' and 'Assets' tabs, I use clone() to add a new table row to the form. The problem is, when I click the 'Add New Row' button in either tab initially, nothing happens -- I don't even get a javascript error. If I switch to a different tab and back, for some reason it works. Here's the button code: <input name="button" id="button" value="Add New Row" onclick="addRow('table1');"
[jQuery] Had to add a few lines to 1.2.3 core file (fix IE7 and "invalid argument" for .attr method)
I can't seem to find any talk/reference on this exact error, but in the jQuery core file at line 1298 (inside the "attr" function) the line ==================================== elem[ name ] = value; ==================================== was throwing an error in IE7, preventing some other script-related things from working Using both Visual Studio 2008 (to debug IE) and Firebug (to follow along what was happening in FF) turns out "NaN" and "NaNpx" were respectively being passed into this function from
[jQuery] Changing action of form with jquery
Hello everyone First post, please be gentle I need to have a search form that sends the variable to search to one of two places based on whether or not someone clicks a radio button. It's like tick here to only search for courses button in a search from on a website. The two searches are in different places, different technologies, so I need to change form variables based on the radio button being selected or not. Can anyone point me in the right direction of how to do this with jquery? I have no
Jitterry Slide Animation - Please help [Solved]
Gday, I'm only new to using JQuery. I have a div that I want to slide in from the left hand side of the page when a link on it is clicked. BUt it doesn't look very good at all. It's jitterry and doesn't show properly when its finished until unless you scroll down and back up. You can see it here:http://a1.richard.frih.net/?a=content&id=4# Am I doing something wrong?
[jQuery] ToolTip Plug Crashes (bassistance)
Hi, I have a page with about 30 instances of the tool tip object on them. These are dynamically updated divs. In order to change the text inside the tooltip, you need to re-initialize them by calling $ ("#object").tooltip(). This works perfectly. However, when I do that too many times (the number changes), the tool completely kills javascript in my browser. The number of "refreshes" changes (I can't say it's 5 or 10), but it keeps happening. Any thoughts? Thanks, K-
[jQuery] has anybody used flexigrid plugin ?
Hello Folks, I am having numerous problems in implementing the basic flexigrid, Example 3 on http://webplicity.net/flexigrid/ I somehow managed to make the ASP page write the required xml back. The problem now I am facing is with the display, the navigation buttons on the toolbar at the bottom is not functioning. Can someone please advice. Regards Mick
[jQuery] File Uploads with Form Plugin
Hi, I have jQuery 1.2.3 and the Form plugin 2.07. I don't know if I'm doing some wrong here, my PHP code seems fine but here's the problem. If you just upload an image (don't fill OR fill in the text fields) it seems to skip all my PHP validation and just reload the page into the output DIV on success. Now this isn't right and I don't know why. <script src="/_j/jquery/jquery-1.2.3.min.js" type="text/javascript"></ script> <script src="/_j/jquery/jquery.form.js" type="text/javascript"></ script> <script
[jQuery] [jCarousel] Automatically scroll circular items
I've been using jCarousel from sorgalla.com [1] to display a selection of products [2] however when it gets to the last item when auto scroll is set it doesn't "loop". Does anyone have a suggestion on how to sort this? I've uploaded a demo to http://www.agsalons.com/test.html. Ideally I would like to avoid having to create the items in an array but that's the only way I can think of having a never ending loop otherwise. Thanks, Tim [1] http://sorgalla.com/jcarousel/ [2] http://www.agsalons.com/test.html
radio and ajax [Solved]
Hi, this is my first post. I have multiple generated radio from PHP each with their own group. example: Group A has 3 radios, Group B has 2 radios, etc... For each radios, if clicked, loads a generated form via PHP with a get call. The problem is, first I clicked the radio number 1 in group A, and a form is displayed below it. The I clicked radio number 2 in group A, and a form is displayed, also below it. BUT the FORM from radio number 1 group Ais not gone. Any helps? Thanks
[jQuery] storing jquery object in array
Please pardon my poor understanding of javascript basics: I've been using the following method to create an object array of variables: $.searchfunction = { searchbox: $('#searchinput'), url: 'http://localhost', targetdiv: $('#results'), specifierobj: {}, keyboardid: '#keyboard' }; I'm having trouble with getting the value of $.searchfunction.searchbox. I'm calling it in the following manner: var curval = $.searchfunction.searchbox.val(); This isn't
[jQuery] Post Form target into iframe, are there any events triggered?
More of a general JS questions for all the JS gurus who listen to this forum! I am posting a form into a hidden iframe: <form method="post" action="..." target="postFrame"> ... <input type="submit" value="Submit" /> </form> <iframe name="postFrame" style="..."></iframe> Is there an easy way to tell that the iframe has been loaded (e.g. some event that gets fired) ? I am able to poll the frame, catch the cross domain permission exception, etc.... but it seems a bit messy. Any suggestions appreciated!
[jQuery] jCarousel - previouse and next arrow problem
<div>Hi,</div> <div> </div> <div>I've posted 3 times to the group but got no answers at all.</div> <div> </div> <div>Please i really need help with this.</div> <div> </div> <div>Basically in IE7 i got it to work perfectly but in FireFox Mozilla the arrows don't show. I've tried a million and one things including changing the arrow images to gif but it still doesn't work.</div> <div> </div> <div>I'm attaching just the modified CSS files, the HTML page and the two new images, i assume you have the
[jQuery] undeclared properties reporting values (attempting a toggleClass function)
I'm trying to do the following: <SCRIPT> $(document).ready(function(){ $.fn.toggleCSS = function(property,value) { return this.each(function(){ var p = $(this).css(property); if(p) { $(this).css(property,""); } else { $ (this).css(property,value); } }); } $("#testme").click(function() { //let's test out our function... $(this).toggleCSS("font-weight","bold"); }); }); </SCRIPT> <input type="button" ID="testme" value="click me!"> in this
[jQuery] Jquery plugin for topology diagrams
Hi All, I'm looking for a jQuery plugin for interactive topology diagrams. Topology diagrams provide an easy to use interface and simple navigation tools by providing a drill down approach to individual objects from higher level objects. I looked in jQuery plugins website and googled but couldn't find any. Please let me know if you know of anything opensource/commercial related to this. Let me know if you know of any javascript library with these features even if outside jQuery. Thanks in advance,
[jQuery] Jquery plugin for topology diagrams
Hi All, I'm looking for a jQuery plugin for interactive topology diagrams. Topology diagrams provide an easy to use interface and simple navigation tools by providing a drill down approach to individual objects from higher level objects. I looked in jQuery plugins website and googled but couldn't find any. Please let me know if you know of anything opensource/commercial related to this. Let me know if you know of any javascript library with these features even if outside jQuery. Thanks in advance,
[jQuery] malsup cycle plugin renders vertically on page load.
Hi all, Check out http://pricebeep.co.uk. I'm pulling the content for the cycle plugin dynamically. Frequently it will be rendered vertically, before constructing the actual horizontal carousel. I think I've worn my brain out over the last month or so getting the site up and running, so can anyone help with stopping the vertical render issue? (A similar thing happens with the tabs, but I've fixed that in the next update). Cheers, Matt
[jQuery] changing names of input in IE - advanced
Hello, when creating simple script to add inputs dynamic i have found bug in IE. Inserted name of input is not visible when using html() function. Of course in FF is working perfect. very simple example: http://eduteka.pl/testJQ/
[jQuery] Logic issue - can jQuery help?
I apologize if this is semi OT... I have an odd performance problem that I can't see any clear logic around. I was wondering if jQuery might be able to help me with this. Situation. 1. I have a table of employees. Employees in the left column (one per row), and days in the remaining columns. Some employees are team leaders, some are team members. Teams can change at any time, and employees may change their role from leader to member, or vice versa. But an employee can only be on one team at a time.
[jQuery] Superfish first two tiers horizontal, third vertical - with current, problem
Hi All, I am using the awesome: Superfish v1.4.1 - jQuery menu widget and working on getting the default 2tier horizontal, 3rd vertical from: http://users.tpg.com.au/j_birch/plugins/superfish/richard-willis-example/ Which is awesome, and I have implemented the "show path to your current page" addition from here: http://users.tpg.com.au/j_birch/plugins/superfish/all-horizontal-example/ Now, the problem is, if you have the second tier as current, it will always show your third tier, which is an issue.
Next Page