multi-directional sliding... is this possible?
Hello everyone. I just discovered this form while searching for help with a jquery question. I've working on a new design for my portfolio: http://leifmiltenberger.com/test/slider.html I used this slider for the main content section: http://jqueryfordesigners.com/coda-slider-effect (I removed the prev/ next buttons.) But there's one thing I can't figure out... I want the "blog" link to drop the page down to the blog section of the site. Also, when I'm down at the blog, when you click on the other
[jQuery] Autocomplete plugin: Modifying how the input JSON is read
Hi, I use the autocomplete plugin, but don't have a JSON that consists of an simple array with the results. I get the JSON directly from a SPARQL end point, so I don't have the option to format it at that point. I want to modify the autocomplete plugin so that it handles the following JSON: { "head": { "vars": [ "label" ] } , "results": { "bindings": [ { "label": { "type": "literal" , "xml:lang": "no" , "value": "Barnevaksinasjonsprogrammet" } } , { "label": { "type": "literal" , "xml:lang": "no"
Selector: selecting next a-tag
Hi, I was reading some selector tutorials but still don't know, how to change another a-tag in my html structure. Here is my html: ...<tr> <td class="no_border" colspan="6"> <table width="100%" cellspacing="0"> <tr> <td width="149"><a class="btn_details" href="#">Field1</a></td> <td width="118">Field2</td> <td width="170">Field3</td> <td width="187">Field4</td> <td>Field5</td> <td><a class="btn_info" href="#">info</a></td>
[jQuery] How do I do a Ajax request before form submits
Hi, I created a form which I wanted to submit using jQuery (I'm new to jq) but before the submit I wanted to run an ajax request and attach the returned result to the form for posting. However it seems the form submits before the ajax request is returned, I can see the code generated in the DB but it never gets attached to the form. If I set the return false; and hit submit the ajax process runs and is attached to the forms hidden field correctly but obviously the form does not get submitted, any
[jQuery] Replacing DOM Elements While Maintaining Child Elements
Ok, I have this code (I know it's horrific). <td class="ms-sbscopes ms-sbcell"> <select class="ms-sbscopes" title="Search Scope" id="ctl00_PlaceHolderSearchArea_ctl01_SBScopesDDL" name="ctl00$PlaceHolderSearchArea$ctl01$SBScopesDDL"> <option value="This Site">This Site: Hirsch Branding</option> </select> </td> I want to alter this so the <td class=...> becomes a <div> (I don't need to maintain the classes) and the </td> with a </div> while maintaing the select control. I figured it's done with replaceWith
[jQuery] Return False does not work in some conditions
<div dir="ltr">Hello, I got noob question. Following code used in one of my projects. Ajax and other sliding things was working well. The Problem is Recently I use zebra colors. And now when I do ajax request, response shown in opposite color. to fix issue I add some even odd checker and it does not work as expected. Later I found fix must be work after some time. so I put the jQuery.sleep(1000); after adding this line following return false does not work.. Is there any advice ? Thanks $('div.cResponseHotelVerifyCover').hide();
[jQuery] click() on submit button doesn't trigger form's jquery submit handler
I expected that calling click() on a submit button would trigger a form's submit handler, but this doesn't seem to be the case. Example: register a jQuery submit handler: $('form').submit(function() { alert('jquery submit handler'); }); Then click the corresponding submit button: $('input[type=submit]').click(); The submit handler isn't fired. Live example: http://mqlx.com/~willmoffat/learn_feature/jquery/click_submit.html Is this a bug or a feature? regards, --Will
[jQuery] dynamic height
hey list i am quite new to jquery and jscrollpane in general. i could setup everything with custom handels but i do not know how i can dynamically change the height of the scrolling div. for other elements in the website it works but for the scrolling i need to refresh the page in order to resize the div. actually the div is resized via jquery before but it does not influence jscrollpane. simplified code used: function content_resize() { $j( '#scrollregion' ).css( {height: dynheight } ); $j('#scrollregion').jScrollPane({showArrows:true});
datepicker format
I am using the JQuery datepicker control to create hotel booking functionality. The problem is if the hotel is bookedout i would like those days background colour to appear in red on the datepicker control. Additionally if a wedding is held that day i require a pink background colour for that day. Is it possible to customize the background colour of certain dates? If so how? Thanks
Change opacity of background color or html tag
I'm new to jquery and still trying to figure out the syntax. I would like to change the opacity of the background color of the h2 tag in this block of html: <div class="feature_item"> <a href="#" <img src="#" /> <h2>Heading</h2> </a> </div> Can I change the opacity of the background or the element or will it reduce the opacity of the text as well? Will I run into any problems with I.E.?[/code]
[jQuery] keyup & change together dont work for me
hi everyone, my name is Joaquín. I can't find the solution to my problem. i have two events (keyup and change) on a input:text my code is: $("#some_id") .bind('keyup', function() { $(this).val(formatContent($(this).val())); } ) .bind('change', function() { validateContent($(this).val()); } ); but the change event never works, if i change the "change" event for focus for example it works, but with "change" never works :( i try a lot of things, add a onchange="formatContent..." , call the functions
is there a way to change the headers from H6 to H1 w/Jquery?
Hi, I have been trying to improve the SEO on one of my sites, somebody has told me that there's a way to change the code without hard coding, but using a Jquery script...is this true? i'd like to make some H6 becoming H1 basically can you tell me more?? cheers!
[jQuery] Can't seem to access any Interface functions - something stupid i'm sure...
I've been using jQuery for a while, and some plugins, such as in-place editing and treeview with no problems. I'm not trying to use this drag-and-drop plugin, NestedSortable (http://plugins.jquery.com/project/NestedSortable) which uses some of the functions added by Interface. However, i can't get interface working for some reason. I have it set up as follows (in a rails app): -public -javascripts -interface +compressed +source interface.js inestedsortable-1.0.1.pack.js jquery.js jquery.scrollTo.min.js
[jQuery] Can't seem to access some/any Interface functions - something stupid i'm sure...
I've been using jQuery for a while, and some plugins, such as in-place editing and treeview with no problems. I'm not trying to use this drag-and-drop plugin, NestedSortable (http://plugins.jquery.com/project/NestedSortable) which uses some of the functions added by Interface. However, i can't get interface working for some reason. I have it set up as follows (in a rails app): -public -javascripts -interface +compressed +source interface.js inestedsortable-1.0.1.pack.js jquery.js jquery.scrollTo.min.js
[jQuery] ajax queue/stack aka fifo/lifo
Is jquery doing either of these by default? I haven't seen requests overwriting each other in my work, but I'm curious is this is manually handled or not even a problem these days with xhr.
[jQuery] How to queue up ajax requests?
Hi folks, can anyone help me with some links to queuing up ajax requests using jQuery please? I tried using the Ajax Queue plug-in (http:// plugins.jquery.com/project/ajaxqueue) but this wasn't much help (errors). is queuing now built into jQuery core? cheers! -me-
[jQuery] How can I using jQuery Form with accents (iso-8859-1)?
I´m a brazilian and I need to send form with iso-8859-1 that accept special character. The question is how can I send without received corrupt character using jQuery or jQuery Form....
[jQuery] AJAX request pending after TCP connection closed
Hi everybody! I use jQuery 1.2.6 and I encounter a little issue. I try to do some COMET (server push), here is an overview of my code (simplified) : jQuery.ajax({ type: "POST", url: "request", dataType: "json", data: myJsonData, success: function(data) { // do something }, error: function(XMLHttpRequest, textStatus, errorThrown) { // do something } }) Very simple, isn't it? So after receiving such a request the server part may hold the connection according to myJsonData. The server will release the
[jQuery] Jquery & Taconite, PHP & Mysql
Ok, first off new to jquery and taconite. What I am trying to do is a variation of the classic stock ticker display. I have a table that is database driven, I want a periodical update of that information. I was trying to use prototype to do this but then I came across taconite and thought with it's ability to update multiple divs it was right what I was after. So now that I've given a brief background this is where I am at: I have a html table poplulated. every updatable element is in it's own div
[jQuery] "Uncompressed", "Minified and Gzipped" and "Packed"
Hello, Most JQuery plugins, including JQuery itseld, offer three versions: "Uncompressed", "Minified and Gzipped" and "Packed". 1. Should I use "Minified and Gzipped" or "Packed"? 2. How can I create myself the "Minified and Gzipped" or "Packed" versions from the Uncompressed version? Is there any software for this? Thank You, Miguel
[jQuery] Form Plugin Initialize?
Hi, Ive been playing around with a jQuery Form Plugin. It all works fine, though, i was wondering, is it possible to add content to a div the moment you 'submit' the form? This is basically all i use at the moment to output "search results" in the searchContainer div. $(document).ready(function() { $('#formQuerySearch').ajaxForm(function(data) { $("#searchContainer").html(data); }); }); Now what I actually want to have is a "loader" gif animation to be shown in another div at
[jQuery] Select
Hello, I am trying to style my form inputs, textareas and selects as follows: input, select, textarea { border: solid 6px #ECF0F9; color: #252525; font: normal 0.75em Verdana, Geneva, sans-serif; padding: 0.25em; width: 520px; } I am having a few problems: Firefox 3: 1. The select is narrow than the inputs and textareas; 2. When I click the select the dropdown borders look different ... some are thinner than others. IE 7: 1. The select is narrow than the inputs and textareas; 2. The border of the
[jQuery] .stop in it's own sentence?
Hi! Is it right that I have to put .stop in it's own sentence? Like: $('#K_meny li') .stop; $('#K_meny li').animate({.. } , 1000); And not: $('#K_meny li') .stop.animate({.. } , 1000); I've got some errors with the latter.
Problem with long request
I guys, i have this problem http://groups.google.com/group/jquery-e ... 6e94c66164 You have some idea?
[jQuery] ask: jquery plugins loader (just in time loader)
Hi , I have a project and my project using many plugins from jquery (thank you everybody ... ). But it makes my page load slower than usual because i load all jquery libs before loading pake (I load it on templates) but I am not using all of it ... I just need a plugins /script that can load javascript just when i need it and it should placed before everything else (before $ (document).ready() ) for example, i want to load table sorter .. i will call $.load(' http://localhost/js/tablesorter.min.js')
[jQuery] problem installing ui.tabs
I am trying to use ui.tabs. I have included jquery and ui.tabs.css, and a png file. I get the tabs, but I'm just getting all the divs displayed below the tabs, all at the same time. I know this is rather vague, but any ideas?
[jQuery] problems in Firefox 3, Opera 9.5 with jQuery Corner plugin on images
Hi, I've been having problems in Firefox 3 and Opera 9.5 when I try to use the excellent corner plugin as per this example: http://www.malsup.com/jquery/corner/image.html I found the example via an earlier discussion show here: http://www.nabble.com/rounded-corners-on-images-with-jquery--td14375829s27240.html The problem I get is that the rounded corners do not get applied to the top of the image, only to the bottom. You can see this when looking at that example in Firefox 3 and Opera 9.5. On a sidenote
[jQuery] How can I downlod that jQuery Ipod Drilldown menu?
I'm look for that menu, but I can't download that. http://www.filamentgroup.com/lab/jquery_ipod_style_drilldown_menu/ Some one can help me please? Thz..
[jQuery] jquery cycle in a httpRequest
Hello, I'm trying to use the Jquery cycle function in a httpRequest. After having get the values in a "listeProduits" array, I'm trying to put them in a table. It appears corretly but the cycle function doesn't work. Here is the function Anyone has an idea ? function creerDiaporama (listeProduits) { var nbrProduits = listeProduits.length; var nbrDiaporama = Math.ceil(nbrProduits/5); var dureeSupp = 500; var jinitial=0; var idZone = document.getElementById("zone");
[jQuery] .animate , display:"none" not working
Hi! I have a problem on an animated hover-out. The display (#K_meny li) sticks to "block". And I want to get it to "none". What is the problem and what can I do? I also have a minor problem on not getting the z-index I want. The "#K_meny li" comes on top no matter what I do. Solutions? Thanks! <script type="text/javascript"> $(document).ready(function(){ $('#K_meny li').hide() .css({ left: "10px", top: "11px" , zIndex: "5" }) ; }); </script> <script type="text/javascript"> $(document).ready(function(){
[jQuery] Using ajaxForm with liveQuery. Problems with IE6 and 7.
Hi Guys, I am using ajaxForm to submit some forms from the one page. These forms are loaded in place via an ajax request and I am using liveQuery to reread the DOM so that the ajaxForm can get the relevant info. ( I don't think I needed to do this as it worked in FF and Opera, but it seems to be broken in IE6 and 7) Anyways you can see a demo here at http://www.adsonvidsstaging.com. If you click on either the ENQUIRE or FFEDBACK forms, it makes an ajax request to go and get the forms. The html form
[jQuery] tablesorter 2.0 with subtables
Hi, right now I'm trying to figure out what's best practice for a simple table grid with detail view on click. I know there are grid plugins available but for my first test I want to create a simple one by myself and add some other plugins to enhance it. One of them is tablesorter 2.0: http://tablesorter.com/docs/ My table with nested table looks like this: <table> <tr> <th>first col</th><th>sec. col</th><th>third col</th> </tr> <tr> <td> <table> <tr> <td>first col content</td><td>sec. col content</td><td>third
[jQuery] Change function doesn't work on IE?
Hi Everybody, Can anyone help me out with this problem? The following works perfectly on FireFox. But the "change" command is not recognized what so ever on IE. "test.cgi" just returns a string back to be posted on one of the table columns. Thanks in advanced!! Nidya M. <!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> <script> $(document).ready(function() { $('#tbod').bind('change',function()
[jQuery] what 's the matter with jqgrid's website?
Tony ,what 's the matter with jqgrid's website, Is it down?
[jQuery] Want slide over effect for forms
Hi, I'm developing a form in ASP.NET that allows users to enter a new company and its address. I want this in three steps and want a slide over effect in between steps i.e. In Screen 1, the user sees a few texbox controls to enter company's name, # of employees, EIN, etc. When the user clicks next, I want the whole screen to slide over to the leff and display screen 2 where the user enters company's address. I saw a similar effect on Photoshopuser.com website for user registration. The slide over
[jQuery] form plugin and select()
Hi first of all I wish to thank mike for his great form plugin :) letely I've been developing a sort of remote file manager using PHP, MySQL and jQuery. for seamless file uploads I've integrated Mike's form plugin in it, and it works sweet. but I noticed that there was a little problem. at some point in developing the normal jQuery select() method stopped working correctly. I used that to simulate window's behaviour on actions like 'create new folder', where you get something like an input with the
[jQuery] Mike Alsup: .phps source view not functioning at malsup.com
Hi Mike. First up, thanks for all your hard work with the jQuery team. It's an awesome project. :-) I was browsing "http://malsup.com/jquery/form/#code-samples http://malsup.com/jquery/form/#code-samples this morning and chanced upon a link thus: http://malsup.com/jquery/form/files.phps http://malsup.com/jquery/form/files.phps , from the following paragraph in the "file uploads" section: The form below provides an input element of type "file" along with a select element to specify the dataType of
[jQuery] BlockUI Plugin Doesn't Unblock in IE 6/7
Hi, I'm not the first person to post this problem: http://groups.google.com/group/jquery-en/browse_thread/thread/4c60ce58e256afb5/1538fee2d0db4d21?show_docid=1538fee2d0db4d21 http://www.nabble.com/Problem-with-blockUI-plugin-td17185345s27240.html and not sure whether this is the best forum in which to post (is there a jQuery Plugins forum?) But there seems to be a problem (bug?) in block UI which prevents it from unblocking in IE (it does unblock in FF. The Block UI's site demos do unblock in IE
[jQuery] offset() returns different values between resize and onload events
I'm checking offset() return values in both events: window resize and load. Te offset().left and position().left is 8px more in onload versus resize. I tried all options (scroll:false, etc). window.onresize = checkit(); window.onload = checkit(); function checkit(){ self.status=$('#positioned').offset().left; } <div id="positioned" style="margin:0 auto;width:100px;">hello</div>
[jQuery] Critique requested of first jQuery code
I'm new to jQuery, and have created a script that operates on a simple two-field form (as described below). I know that jQuery should make much of what I'm doing much easier than I'm actually doing it, so I'd appreciate any feedback on how to do things better. I'm trying to learn the jQuery way of doing things, so any improvements at all, no matter how small, will be gratefully received! The form has a date field (standard text input box for now), and a country dropdown list. When a date is entered,
Next Page