[jQuery] Is this list too busy? jQuery list for your time zone
The time when I at least skimmed every message on this list in long gone. As jQuery becomes more and more popular, making your voice heard here gets increasingly difficult. Could time zone or locality be a useful way to divide the flow more effectively? Like local(ish) jQuery groups. What strategies do you use to make the most of the amazing resource this list is? I’m in Adelaide, South Australia GMT +9.5
[jQuery] Click Links in the Nnavigation Bar
Hi Folks , I have some links in my Navigation bar such as below , I Used FIND in my code , does anyone has any better solution for me , I also used Event Delegation in the system . <ul> <li><a href="#" class="active>a</a></li> <li><a href="#">b</a></li> <li><a href="#">c</a></li> <li><a href="#">d</a></li> </ul> $("ul").bind("click",function(e){ var clicked=$(e.target); $(this).find("a.active").removeClass("active"); clicked.addClass("active"); });
[jQuery] toggle checkbox when clicking <td>
Hi! I would like to write a js script using jQuery which could help me to toggle checkbox. I have one checkbox for each row of table and i would like to simplify the checking and unchecking the boxes by letting user just to click anywhere on the row to do this. I was trying something with children and parent function but it seems to doesn't work. table: <table class="myTable"> <tr> <td>first</td><td>row</td> <td><input type="checkbox" name="1" value="1"></td> </tr> ... </table> my jQ code: $(document).ready(function(){
[jQuery] How to use validator in my existing HTML pages
Hi, I have to apply jQuery validation on my existing HTML page using From Validator Plug-in. But it is not working. Can any one help me with some sample How I can apply jQuery validation on my existing HTML pages without changing much in existing tags. Thanks, Himanshu
[jQuery] Jquery cycle plugin - YouTube videos
Hi, Im trying to create a rotating promo area using the cycle plug-in. I have to to embed YouTube videos (example here http://www.grouptools.com/adrian/sbc-new/promo/) The main issue is FF works fine in that if a video is playing and you go to another 'slide' the video/sound stops. Where as IE7 continues to play the video and sound behind the scenes even when looking at other 'slides' Does anyone have any ideas how to fix this? Adi
[jQuery] ajaxSubmit using validate and form plugin (succes option)
Hi there! When I do an ajaxSubmit using the form plugin I don't get a response by using the succes option. I make an ajaxSubmit in the submitHandler option from the validate plugin. Part of my code: submitHandler: function(form) { $(form).ajaxSubmit({ type: "POST", clearForm: true, url: "sendmail.php", succes: function(data) { alert(data); } }); return false; } I've tried a lot but without succes. I already tried this: - replacing $(form) with $("#idForm") - before the ajaxSubmit function a $(form).submit(function()
[jQuery] animations; browser problem or bad code?
so, the animations on my site http://www.omnex.at/modx/ work perfectly in IE7 but not in FF2, FF3 and opera9. the main menu (the big letters) should smoothly open and close when you navigate the site, which it does only in IE7 - in FF and opera, the 'closing' animation almost never works, the 'open' animation only most of the time. I've read a couple of posts about IE performing better since it has more (or lower-level) resources available. So, does this happen because IE performs better or because
[jQuery] $.css() onload
Hi Guys, I was trying to fire an $.css() during the onload event. For some reason, it does not work. It works fine if I attach it to another event such as a resize event, but not onload. This is what I have done: Code: [code] function myFunc() { $("#example").css({'width' : 10px;}); } $(document).ready(function() { $(window).load(function() { myFunc(); }); }); [/code] I need this element to be sized immediately after loading. This works if the event was anything else, but dosen't work with 'load'
[jQuery] jQuery image rotating
Recently I just finished mine project of rotating images using jQuery and CANVAS. This small plugin, when called on img element, replaces it with <canvas> supported by all modern browsers and IE (by excanvas), then using built functionality - rotate, and animate it. Any suggestions are welcome:) http://wilq32.googlepages.com/wilq32.rollimage222
[jQuery] After update to jQuery 1.3.1, jQuery UI dialog relatived event handle options don't work
After update jQuery from 1.2.6 to jQuery 1.3.1. The jQuery UI dialog relatived event handle options don't work ex. drag dragStop resize resizeStop etc. and i tried 1.3.0, it seems the same problem. btw, i'm not sure if the other widgets have the same issue. only 1.2.6 work fine. Does anybody has the same problem with it?
How can I use getjson to parse a php output?
I am totally lost when it come to json/ajax stuff (I guess I am just too old). I have a php file (preload.php) which reads: <?php /* Read all files from directory */ $ImageDirectory = ($_GET['directory']); $ImageDirectory = dir($ImageDirectory); $ImageArray = array(); /* Store imagefiles in an array */ while($ImageLoop = $ImageDirectory->read()) { if (isImage($ImageLoop)) { $ImageArray[] = $ImageLoop; } } /* Is the file an image? */ function isImage($FileLoop) { return preg_match('/^.+\.(gif|png|jpe?g|bmp|tif)$/i',
[jQuery] Using jQuery with Wordpress
I am having problems using jquery with wordpress. I would like to use the simple gallery plugin but it will not fade in/out my images. Help?
jQuery Ajax - Permission Denied?
I am trying to write a simple script that uses two input fields and a login button to perform a user authentication/login. For some reason though, every time I try to run it, I get a permission denied error. It only does this in IE6/7, Firefox just doesnt do anything. Wierd because I have done this before.. Even tried taking the working code from before and pasting it in and just changing the script name, and it still isnt working. I dont know what else to do.. $("#navigation #login").click(function()
[jQuery] Not work opacity in jQuery 1.3.1 and opera 9.2
Can anyone help me? In jQ 1.3.1 and opera 9.23 i can't change opacity of element with $ ("id").css({opacity: 1}); In jQ 1.2.6 all works fine. Is there bug of jQ? Example http://new.globalres.ru/index.html
Please help noob with hover &/or click.
Hi all, I'm trying to change the background color of a specific div when the mouse hovers over several seperately colored divs (like previews), and I want the specific div's color to return to white if the mouse moves away from the colored divs unless one of the colored divs are clicked. In the case that one of the colored divs have been clicked, then I want the specific div's background color to return to the clicked color instead of white. This needs to be a constant behavior, meaning that I should
web-based mp3 upload + bitrate converter?
Anyone ever heard of something like this? I'm looking at expanding an in-game jukebox system for source-based games (CS:S, TF2, L4D, etc) and i have all of selecting and playing bits put together. but at the moment, if i want to add a song, i have to manually change the bitrate to soemthing a little less bandwidth heavy, and then upload via ftp I know putting together an upload system wouldnt take much, but i was curious if any of you have heard of a javascript or other web script that will convert
[jQuery] click event
I want to do a onclick event for anywhere in a table row except for a specific cell. In that cell I want to be able to click a checkbox. I have any # of rows and 12 columns in the table. I usually use a something like this <tr onclick="window.location='<%=site_location%>?noCache=<%=randomnum() %>&itemID=<%=itemID%>';" onmouseover="this.style.backgroundColor='white'; this.style.cursor='pointer';" onmouseout="this.style.backgroundColor='<%=strColor%>'; this.style.cursor='default';" style="background-color:<%=strColor%>;">
[jQuery] Long List, no particular order of IDs
I have a long list of items for example + item 1 -- sub item 1 -- sub item 23 + item 45 -- sub item 142 +item 995 -- sub item 198 -- sub item 244 As you can see the ids are in no particular order. I'm looking for the most efficient way of expanding the top level ones. Also I would like all the items to be editable by their respective owners. <b> It's essentially a threaded comment system that is collapsed by default.</ b> Right now I have them in a foreach loop that is generated when the page is
[jQuery] JQuery Collapsing Lists
Hi I'm a newbie to JQuery. I have a collapsible list made from an unordered html list usin the following code I found at http://homework.nwsnet.de/news/ea21_turn-nested-lists-into-a-collapsible-tree-with-jquery which works fine. I've even managed to workout how it works :-) $(document).ready(function() { // Find list items representing folders and // style them accordingly. Also, turn them // into links that can expand/collapse the // tree leaf. $('li > ul').each(function(i) { // Find this list's
[jQuery] After update to jQuery 1.3.1, jQuery UI dialog relatived event handle options don't work
After update jQuery from 1.2.6 to jQuery 1.3.1. The jQuery UI dialog relatived event handle options don't work ex. drag dragStop resize resizeStop etc. and i tried 1.3.0, it seems the same problem. btw, i'm not sure if the other widgets have the same issue. only 1.2.6 work fine. Does anybody has the same problem with it?
[jQuery] After update to jQuery 1.3.1, jQuery UI dialog relatived event handle options don't work
After update jQuery from 1.2.6 to jQuery 1.3.1. The jQuery UI dialog relatived event handle options don't work ex. drag dragStop resize resizeStop etc. and i tried 1.3.0, it seems the same problem. btw, i'm not sure if the other widgets have the same issue. only 1.2.6 work fine. Does anybody has the same problem with it?
[jQuery] [tooltip] Upgraded to jquery 1.3.1 Tooltips doesn't show up
Upgraded to jquery 1.3.1 Tooltips doesn't show up
getJSON problem with IE6 / IE7 but works fine with IE8 / FF
Hi, I am having problem with IE6 / IE7 but IE8 works fine. Here's my ajax call *********************************************************** function getJSonDate() { var Usex =""; var Uminage = ""; var Umaxage =""; var Ucountry =""; var Uplace = ""; var Uzip =""; Usex = $("#gender :selected").val(); Uminage = $("#minage :selected").val(); Umaxage = $("#maxage :selected").val(); Ucountry = $("#country :selected").val(); Uplace = $("#place :selected").val(); Uzip
Total beginner question - showing / hiding all bar one DIVs
Hi all. I'm a total noob to jQuery, just getting a feel of it at the moment. Anyway, I have the following page: http://www.edludlow.co.uk/jqueryDivs.htm which will show / hide a series of DIVs. The jQuery being used is: $(document).ready(function() { $("a#redAnchor").click(function () { if ($("div#red").is(":hidden")) { $("div#red").slideDown(2000); } else { $("div#red").slideUp(400); } }); $("a#blueAnchor").click(function () { if ($("div#blue").is(":hidden"))
[SOLVED] $.ajax fails only on IE6
Update: the problem turned out to be in the JSON outputted by the ajax page: [ {Address: 'address', City: 'city', Province: 'province', PostalCode: 'postalcode', }] IE was choking on the trailing comma after the PostalCode key-value pair. I'm used to writing dictionaries in Python where a traililng comma isn't a problem, so I didn't even notice it for awhile. ------------ Hi All, I've written the following function to update input fields in a form based on the option selected, and it's throwing an
[jQuery] How to Call ASP.Net 3.5 WebService which returns JSON Data From ASP.Net 2.0 WebPage having AutoComplete
Hi Friends, I am facing a problem while calling a webservice written in ASP.Net 3.5 which returns a JSON Data and then passing this data to a page that has jQuery's AutoComplete Plugin. I am able to call this webservice but It doesn't return the data. Regards, Ketan
[jQuery] autocomplete-comma delimeter string from servlet
Hi, all. i just started to use Jquery. i m using remote data to pass into jQuery widget, autocomplete. but the data from the servlet is generated in this format a, b,c,.... how can i break the data from the servlet to populate the autocomplete ? Please advice.i m using java for the servlet and the jsp page to for the form.
[jQuery] How to enlarge size proportionally
animate function can change object's size by control css, such as width and height, if if we want to increase the width, the width increased to right -> how to do it like below <- ->
[jQuery] Live Event Firing Multiple Times Instead of Just Once?
I have the following code: $("#element_id").live("mousedown", function(event){ ChangeView(); return false; }); When $("#element_id") is clicked, the ChangeView() function is called not once, but multiple times. I see the following listing in the Firebug Stack pane: ChangeView() complete() (?)() dequeue() dequeue() each() each() dequeue() complete() (?)() dequeue() dequeue() each() each() dequeue() complete() step() t (?)() dequeue() is a jQuery function. I thought
jQuery scrollbar bugs
Hello everyone. I am working on a website and my colleague suggested I use jQuery for use of a scrollbar and dropdown menu. The dropdown menu was pretty easy and I got the hang of the scrollbar aswell. However, I noticed a bug. It it probably wrong coding on my side, but on a couple of pages, the scrollbar doesn't show and on another page, the scrollbar does show, but it isnt nessicairy. It does work correct on about two pages. Here are the pages: Working correct: http://project.dvbs.microdesign.nl/missie
jquery Autocomplete in IE6: scrollbar overlap
Hi, I habe an Autocompleter in a form and below the Autocompleter-Fields there are two html-select fields with 18 lines height. In Firefox there's no problem, but in IE6 the scrollbar of the Autocompleter field appears is behind the selects below (overlapped). I read, this is because IE ignores z-index for formfields. Is there any chance to have a fix on that? Scriptaculous is using iframes for the Autocompleter in IE, but there IE triggers onClick on the scrollbar and the Completion-Field just disappears,
location.replace
I have a page with a table. When I click on a row, I display the <div> that's associated with the row and I change the URL hash part so it's bookmarkable. This part works fine. I don't want that clicking on rows generates a huge useless browser history so I'm using document.location.replace to change the hash. The hash is changed successfully but the no-history part only works in Firefox: all other browsers (IE6, IE7, Opera, Chrome...) add a new history entry on every click. What's driving me crazy
[jQuery] jquery accordion customization
So I'm looking to use the jquery accordion code to expand and collapse content on a page. I was wondering how I would set it up so that when I click on a link in the page like more details, it would expand the div below it. Sorry I am really new to jquery and javascript so any help would be appreciated.
[jQuery] js cross browser compatibility functions
Hi i am very new to jquery and have heard that it contains functions that hide and handle the cross browser issues behind the scenes? could any provide link where i could find out more about this please? thanks richard
[jQuery] Export a part of html table to excel
<?php header("Content-type: application/vnd.ms-excel; name='excel'"); header("Content-Disposition: filename=export.xls"); header("Pragma: no-cache"); header("Expires: 0"); ?> I am trying to save a part of html table into an excel. I want to save partially inorder to omit images in the same html table. Ia m using the above code to save the table. Is there any way out to accomplish this? Thanking in advance for any tips or suggestions
[jQuery] Manipulating form field attributes
Hi everyone, I'm trying to use the following code to change <input type="text" /> to <input type="hidden" /> where the element has the classname "navtitle". $(".navtitle").each(function() { this.type = "hidden"; }); This code works fine in Firefox but has no effect at all in IE. Can anyone help me please? Sam Hastings
jQuery and Rails - Problem with tablesorter plugin
I'm trying to use the tablesorter plugin with a rails application. I have a table that's generated from a model with the required <thead> and <tbody> tags, and relies on a partial to generate the rows. I've bound it to the plugin the way it's supposed to in application.js : jQuery.noConflict(); jQuery( function() { jQuery("#my_table").tablesorter(); }); And the sorting kinda works. I have two problems: 1) The sort only works when holding down Shift key while clicking on the column header. 2)
[jQuery] Equivalent in jQuery to Dojo's dojox.layout.ContentPane
I am looking for an equivalent in jQuery, if there is one, to Dojo's dojox.layout.ContentPane, which in essence provides a way to replace the content of a div with the a web page loaded from the client. Some of the difficulty comes from supporting JavaScript and CSS used by the page which is included. That JavaScript and CSS needs to be included in the "parent" page as appropriate. Any suggestion? Alex ----- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/
[jQuery] background position
Hi, I was messing around with jonathna snook;s article http://snook.ca/archives/javascript/jquery-bg-image-animations/ I'm trying to set an active state once user clicks on link this is what I have now works, i tried getting the selected state by adding a click function. $(document).ready(function() { $('ul#nav li a') .css( {backgroundPosition: "0 0"} ) .mouseover(function(){ $(this).stop().animate({backgroundPosition:"(0 -120px)"}, {duration: 500}) }) .mouseout(function(){
[jQuery] Ajax Call in Dialog UI
Dear folk , I'm using the Dialog from the UI ,I want to add page with Ajax Call in it . I checked the Documentation , But I couldn't find it , has anyone done that before
Next Page