[jQuery] years in jQuery Datepicker
Hi, I'm using <b>jQuery Datepicker </b> <a href="http://keith-wood.name/datepick.html">http://keith-wood.name/datepick.html</a> but, I can't show more years before 1999. please, somebody can help me? Saludos
assign function to each matched element
Hi, I have a lot of <a> elements on my page, now i want to assign to each of them a function to hide all the elements or in my case, preventDefault(); all my a elements look like this: <a href="edit.php?edit=188" class="editB">Edit</a> what i'm trying to get: that the <a> does not go to the edit.php document but call a ajax request and display in a dialog or popup. $("a").each(function() { $("a").click(function(event) { //$("div#hidden").load($(this).attr('href')).dialog();
[jQuery] jQuery Help Please
Hi, Just wondering if the following is possible using jQuery – if so, would really appreciate your help: 1) I have a menu within a DIV that I would it to slide in when a user hovers over a hot zone in the top left hand corner. Initially this hot zone is invisible but as the user moves the mouse over that zone, a button appears as well as the menu beneathe it. If they then move away from the hotzone, both the button and menu disappears. Is this possible with jQuery – if so, how can it be done? 2)
Code not working
whats the problem with the following code;(highlighted in bold) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv=â€
[jQuery] IE6 image load event
I am trying to detect image load completion in IE6 so I can apply a PNG transparency filter at the right time (doing it earlier can result in images with the wrong size). Unfortunately when using IE6 the load event for images is fired before the image has loaded, as witnessed by the fact that this snippet: $("img[src$=.png]").bind("load", function() { if (!this.complete) { alert ("Still NOT complete!"); } }); results in a lot of alerts popping up. A simple workaround would be to create an interval
[jQuery] Galleria and imagefit plugins together
I can't find where to add the imagefit code to galleria plugin. I would really appreciate some help here. =========== begin imagefit instructions ======== In your JavaScript Where '#content' is a jQuery selector for the container (or containers) inside which you want images to resize: $(function(){ $('#content').imagefit(); }); ============ end imagefit instructions ========= ============ galleria plugin ================= $$ = $.fn.galleria = function($options) { // check for basic CSS support
[jQuery] Jquery.flash plugin causes flickering
Hello, Im using Jquery Flash plugin for embedding Flash movies into my website.(http://jquery.lukelutman.com/plugins/flash) When doing this the HTML-version shows up before it gets overwritten by the flash-version, how to get rid of this slight flickering? Way i use it: $('#headertext').each(function() { var inhoud = $(this).text(); $(this).flash( { src: root_url + '/grfx/header/swf/header.swf', width: 700, height: 30, wmode: 'transparent', menu: 0, flashvars: { koptekst: inhoud } } ); }); And in
[jQuery] media plugin & Autoplay for mp3 files
I use jquery media plugin to play MP3 files on one of my websites. Everything works fine except for the autoplay featre. Does anybody know how I get the songs to play automatically? Or does anybody have the open flash file of mediaplayer.swf that comes with the plugin? http://malsup.com/jquery/media/#players
[jQuery] Does jQuery ajax event listener listens to ajax request sent by other frameworks?
Hi all, Let's say I sent an ajax request with mootools, does jquery global ajax event listener listens to it too? Or does it only listens to ajax request that is sent by jQuery? Because I have a page that has ajax request by other framework and it seems that jQuery is listening to it too. But perhaps I am wrong. CMIIW. Thank you very much in advance. -- If you can't believe in God the chances are your God is too small. Read my blog: http://joshuajava.wordpress.com/ Follow me on twitter: http://twitter.com/jpartogi
[jQuery] media plugin & Autoplay for mp3 files
I'm using the media plugin to have audio files on my website. All works perfectly except for the autoplay feature. Does anybody know how to get them mp3 files to play automatically? Thanks!
[jQuery] jQuery IE7 Memory leak
Hi! I'm having problems with all ajax updates, $("#element").load() etc., gradually eating up IE 7's memory. Simple test case to reproduce: http://mif86.com/memtest.htm It periodically loads another page's html content (http://mif86.com/ memtest2.htm) into a Div using jQuery's $("#element").load ("memtest2.htm"). If you watch the memory usage in internet explorer, it will grow linearly with time. I've been googling all around, trying lots of tweaks and fixes, but nothing seems to work. Is there something
[jQuery] 'Syntax error, unrecognized expression: [@title^="ajax:"]'
use: ajaxtooltip.js (website: http://www.javascriptkit.com/script/script2/ajaxtooltip.shtml ) error: [Exception... "'Syntax error, unrecognized expression: [@title^="ajax:"]' when calling method: [nsIDOMEventListener::handleEvent]" with jquery 1.2.6 work, but not work with jquery 1.3.x
circular Jcarousel question
Hi, I am new to javascript and web. I want a circular image carousel for my website and so have been looking at jcarousel. I dont want to use the entire plugin so thought of writing something of my own using jquery 1.3.1. I have been trying to understand the working of circular jcarousel but i dont understand how after scrolling (from right to left) out of the viewing (jcarousel-clip), the scrolled out items are removed from the UL (jcarousel-list). I wrote code to animate (with easing plugin) the
[jQuery] jMap trouble
At this page you can see my map: http://www.nothingisclear.net/ndovado/_gmap.php In the page's source code, you can see how I set up the map. Please do not care about the input box at the bottom of the div. The map must provide a way to select location on itself. For reach this, I need to customize its behaviour by managing its event. As you can see, at the lines 61 and 64 I add a listener two listener at the map. But they doesn't work. for example, when i click on the map the event click doesn't
[jQuery] [autocomplete] hasFocus is bugged in certain cases in IE
Hello, I've observed this behaviour in IE7. Using Jörn Zaefferer autocomplete plugin. If you reload/refresh the page and the focus is automagically (a function of the browser) given to the autocomplete field the focus event doesn't fire. Hence hasFocus is zero and if you start typing the results are never displayed. A workaround I have made (this might be a bit too simplistic?) is in the event handler for the onkeypress/down event I've just added this one line at the top: hasFocus=1; (expanded sample):
Need Help with changing css on an object
Hi, I am having some issues with my site. I have a main Nav with four links that load in 4 different sections. You can see the page I am working on here: http://idea-palette.com/official/newofficialsite4.html What I am trying to do is, when a user clicks on another Main Nav button, such as 'Web Projects', the background-image changes to another image that shows the lightbulb being on. I also want it to change back the background-image for any link that currently has the light on, so that it seems
Hide/Show Glossary page required for website using jQuery
Hi There I need to create a ‘Glossary’ page for a website using jQuery. Basically a user will click a letter i.e A,B,C,D, etc. etc and once clicked the corresponding glossarys will be displayed, while all other glossary terms will be hidden. I have implemented a very simple version before that works, however I believe I can achieve the same result by using a loop or something like that i.e for each letter give it an ID then only show the corresponding glossary terms if clicked. I am quite new
[jQuery] Modify hash in Tabs plugin
I'm learning about JQuery and I'm absolute begginer. I've looking for help about one issue that imagine is easy but I can't find the answer till now. I supose Klaus Hartl has the solution for this: How I modify the hash of the tabs plugin? I'm using the version 2 with the remote option:true. By default appears numbers when I need show the title. With the remote option and I don't know how make to appear the title of the link in the hash instead the number. At last, but no at least: of course sorry
[jQuery] search nodes in XML
Hi All, I have a employees.xml, which contains employee nodes. No in my HTML I should have a text box and a seach button. Input value is sth like G% or Go%. I need to display all the matching values like Google, google etc., in a table. Is it possible to get this kind of output? Please help. Thanks | Kranthi
[jQuery] Ajax get is not working in IE
Hi All, I am new to JQuery. I tried this example from http://www.webmonkey.com/tutorial/Easy_XML_Consumption_using_jQuery This works fine in Firefox but in IE I am not able to see the data. Also, if namespaces are used in XML, how should I handle? Thanks | Kranthi
[jQuery] circular Jcarousel question
Hi, I am new to javascript and web. I want a circular image carousel for my website and so have been looking at jcarousel. I dont want to use the entire plugin so thought of writing something of my own using jquery 1.3.1. I have been trying to understand the working of circular jcarousel but i dont understand how after scrolling (from right to left) out of the viewing (jcarousel-clip), the scrolled out items are removed from the UL (jcarousel-list). I wrote code to animate (with easing plugin) the
[jQuery] Jquery ajax doesn't work in firefox on my site, once it used to be.
Hello everyone, Recently I have just created a site using CodeIgniter with JQuery. And in the past, it worked just fine. But recently I don't know why I got error message in FireFox(3.0.6) through firebug and there is no result displayed in my site. However, it works just fine in IE and other browsers. Are there any suggestions or solutions? The site is http://guessword.dictionary2gether.com/ Sorry, this is the duplicate post, cos I couldn't find the solution yet. Hope someone can help. Thanks, Makara
[jQuery] Need Help with changing css on an object
Hi, I am having some issues with my site. I have a main Nav with four links that load in 4 different sections. You can see the page I am working on here: http://idea-palette.com/official/newofficialsite4.html http://idea-palette.com/official/newofficialsite4.html What I am trying to do is, when a user clicks on another Main Nav button, such as 'Web Projects', the background-image changes to another image that shows the lightbulb being on. I also want it to change back the background-image for any
[jQuery] A part of .ajax I don't understand
Hi out there. I'm having a little trouble with my .ajax. Here's the function: var name = $('#username').val(); var pass = $('#pass').val(); $.ajax({ url: 'signin.php', type: 'GET', data: 'username=' + name + '&pass=' + pass, success: function(submitreturn){ alert(submitreturn); } }); Here's signin.php: <?php require_once("classes/Login.php"); $user = $_GET['username']; $pass = $_GET['pass']; $login = new Login(); if($login->login_user($user,
[jQuery] Stripping last html tag within an area.
is it possible to use jQuery to strip a tag from a 'div' ? example: <article> hello world last paragraph </article> I would like strip the tags from 'last paragraph'.
[jQuery] getJSON url variable broken
hello, I have a file data.inc.json with the variable { 'video_url':'http://www.youtube.com/v/idididid&hl=de&fs=1' } which I open from my javascript by $.getJSON(" data.inc.json", function(j){ var youtubeurl = j ["video_url"]; }); The value of the variable youtubeurl looks correct (http:// www.youtube.com/v/idididid&hl=de&fs=1), but when I want to use the url for another request, nothing happens. If I want to load the youtube video like this so = new SWFObject(youtubeurl, "TEST", "498", "278", "9.0.28",
[jQuery] Superfish menu, IE7 bug - menu expands in a flash when changing page
Hey all ! I have created a superfish menu for my modx website, based on the exsisting menu: wayfinder.jmultilevel. Note: the problem i'm having is related to internet explorer 7, the menu works flawless in firefox. When you click on an menu item and get directed to the new page, the menu suddenly appears fully expanded for a split second, and then returns to normal. I'am not sure if the problem appears the first time you click a link, you might have to try again before the bug springs. Also, you
[jQuery] [autocomplete] function instead of list
Hi folks, Is there a way to call function instead of taking data from the list when doing local field completion ? In the example I am trying to form a list of artists locally in JS function : // make artist input auto completing $('#artist').autocomplete(function() { return artists; }), { matchContains: true }); however it does not work, any other way to achieve this ? thanks
[jQuery] jQuery breaks LastPass extension
I'm currently developing a firefox extension, and I use jQuery. I've noticed that LastPass, anohter extension, doesnt seem to work properly if I include jQuery in my XUL file. I've tried using jQuery instead of $ and calling noConflict without any change. Any ideas?
[jQuery] Combining results of two getJSON calls
I'm working on a Twitter webapp, and I want to display both the friends_timeline and replies streams, mixed together in chronological (or reverse chronological) order. (FYI: the replies stream collects tweets from people you *don't* follow as well as people you do. That's why I want both.) I can do $.getJSON(friendURL, function(data){ $.each(data, function(item){ // Put the item on the page. }); }); $.getJSON(replyURL, function(data){ $.each(data, function(item){ // Put the item on the page. });
[jQuery] Show/hide multiple TDs with one function?
Hi. I have a table with multiple TDs (with different classes) that I want to toggle (show/hide) with one function, from checking different checkboxes that relate to the different TDs. I'm thinking I should pass a variable to the function (from each checkbox) which then show/hides the different TDs using their class names, based on the variable passed. But I'm new to jQuery, so does anyone have a tip for how this could be done?
[jQuery] thickbox 3.1 and new jquery 1.3.1 - please help
I upgraded from jquery 1.2.2 to 1.31 but thickbox 3.1 does not work. Any help is appreciated
[jQuery] How does Facebook do to edit profile picture thumbnails?
I just can't figure that out! On FB, you get to change the thumnail for your profile picture. You have a containing div with dimensions of about 50x50 and you can move the image (which is actually bigger) inside that containing div until it displays what you want. Ideas?
[jQuery] Drop down menu disappears when you hover over Cycle slideshow area
I've tried getting this to work properly in IE with a variety of different methods, and none are working. The page in question is here: http://elixir.biz/coders/marlins/incoming/photos.php If you hover over the "blue team" text it will display a drop-down menu. However, in IE6 and IE7 once you've moused over the area where the drop down menu overlaps the thumbnails, it disappears. Initially I thought it may be a z-index issue between it and the Cycle slideshow in the thumbnails area, but no combination
[jQuery] mousedown event doesn't happen until mouseup on iPhone
Is anyone else trying to use jQuery on the iPhone? I'm doing a game using PhoneGap for iPhone and iPod Touch (with the hope of moving on to other phones). Everything was going swimmingly until I tried a mousedown event. Works correctly in PC and Mac versions of Safari, but no event occurs until the user pulls a finger up when using the iPhone's Safari. Current solution is to move from jQuery's "mousedown" to XUI library's "touchstart" event. Another concern with jQuery is that it's large compared
Get the form value in Boxy Plugin
Halo, I use jQuery 1.3.2 with plugin Boxy 0.1.4. http://onehackoranother.com/projects/jquery/boxy/index.html In my site I use jQuery Boxy to open a "window" where I can edit rows. I call per Boxy a ajax site: function edit_row( id ){ Boxy.load("http://lcoalhost/procekt1/ajax/edit_row.php?d="+id, {title:'My Test', cache:false}); } In the site edit_row.php code: <?php include_once('../CFgetdata.class.php'); function edit_rows() { global $_GET; $cf = new CFgetdata(); $arr = $cf->get_daten_zu_editieren(
[jQuery] selector ":contains" different behaviour in firefox and msie 7
hi, i have a strange behaviour when parsing the xml below: $.get('/test/Internetschuhe.XML', function(data) { $(data).find('item').each(function() { var $entry = $(this); var $sizenotnull = $entry.find("stock:contains('0')"); alert($sizenotnull.length); in firefox it works... the alert is 1 and thats right... i have one size with the stock 0 in msie7 the alert is 0... why... is it a bug? best regards m cologne <?xml version="1.0" encoding="iso-8859-1" standalone="no"?> <itemdata> <item> <number>131001051</number>
[jQuery] Posting XML to an asp.net page (MVC) with jquery?
Hey folks, I have code such as: $.post('/Controller/Process', { messageXml: escape(xml) }, function(txt) { //debugger; ...dosomething }); The xml gets sent, but its encoded. Anyone know how to unencode this? Or is there a better way to submit xml to a page?
[jQuery] IE image load fix
http://blog.blazed-designs.com/2009/03/01/jcarousel-loading-fix-for-ie/ That link tells you all you need to know about what i did to fix and could be done to fix the issue. Thanks
[jQuery] Re-distribute jQuery
Hello, I want to include jQuery as part of my jQuery plugin so user can include only one file and can use immediately. I want to release under MIT liecnese, so is it just include the original liecnse senstence is okay? Thanks.
Next Page