Problematic Pufferfish
I did a search for this, but I couldn't find the answer I was looking for. I am using the DragonLabs-Style Pufferfish Nav Menu for a website I'm designing and I'm having some problems with the CSS Rollovers when I include the javascript to enable the pufferfish - they get all wonky and off kilter in browsers other than Safari 4. The site: http://joseph.behnkefolk.com/GBSD/new/index.html Any suggestions?
[jQuery] jquery scripts only work linking to another site - looking for these downloads
Hello I saw an example of an image slider I would like to use ( or am using). THe code requires javascript and css and my problem being is that even though I downloaded the javascript and css files - jquery. lavalamp stuff - it is not working unless I link to the site of which I originally saw the example I have tried everything .inc files - absolute links but it only works giving the other site credit in a way - I am sorry to do this and dont want to.. I have the files.. I can see them .. I can
[jQuery] Find the height of a div, apply the height to other divs, redo the heights on click
I am working on a UI that, when you click on a menu option, a div opens and show three divs inside. These divs all have different heights. The heights are based on the divs content. The problem I'm having is... how do I measure what the divs height should be? IE, how do I grab the height for a div BEFORE it has had any style applied to it. Any ideas? Lemme know. Dave
[jQuery] Working with cross-domain iframe
I'm using http://valums.com/ajax-upload/ plugin to upload a file to another domain It works fine, but i cannot parse domain's response. Plugin makes a hidden iframe with entered data, and submit it. I get response from site, but cannot parse it due to 'security reasons' All i want is to get link to uploaded file. Its stored on iframe, i see it, but dont know how can i get it.
[jQuery] Using Zend IDE with jquery
Hi, Has anyone ever tried using the zend ide with jquery? Any comments on this would be appreciated. Arun
[jQuery] Event Load() ??
Hello, I'm with a doubt in jquery, I am using the function load () to call another page, but after I loaded this page, I can not use the id of another page. because the function $('#btnCadastrarCliente').click does not work? [index.php] <script> $(document).ready(function(){ $('#btnCadastrarCliente').click(function() { alert("ok"); }); $('#novoCliente').click(function() { mostrarCarregando(); $('#conteudo').load("cadastroCliente.php"); }); }); </script> <li><span class="cliente">Cliente</span>
[jQuery] Validation callback for a single DIV validation
Hi all I have to perform validation on a single DIV without a submit. Also I need to catch the validation success or failure to handle them. In all validation plugin examples I've found code like: submitHandler: function(form) { alert('valid'); }, invalidHandler: function(form, validator) { alert('invalid'); } this is not working for me, since i'm not performing a submit, I'm just binding to the click event of a button. Someone can help me out? Thanks
[jQuery] Plugin API the jQuery way
Hei there, since <a href="http://marcgrabanski.com/article/jquery-tools-vs-jquery-ui">http://marcgrabanski.com/article/jquery-tools-vs-jquery-ui</a> it isn't nice to make your own plugin api. Now i am trying to build a plugin api for a pagination in the jquery ui way - llike that <pre class="javascript">$myDiv.pagination<span class="br0">(</span><span class="st0"></span><span class="st0">'click'</span><span class="sy0">,</span> <span class="kw2">function</span><span class="br0">(</span><span class="br0">)</span><span
[jQuery] jquery.animate with className only
I'm new to Jquery and I was wondering if this feature exists anywhere. the animate() function where instead of parameters you pass in a classname and it reads the parameters from available css definitions. I am trying to keep my css specifics out of my javascript files.
[jQuery] Replace content with title attribute value
Hi, I have this: <span class="date" title="May 14, 2009">14 May 2009</span> .. and I'd like JQuery script to output it as this: <span class="date" title="">May 14, 2009</span> Basically, I'm checking the browser language and I want to display all dates in US date format to all users with EN-CA and EN-US browser language (and UK format to all other users). Please let me know if there is a better way of doing it, I couldn't find anything. Thanks.
[jQuery] tables and chairs app
Hi All, I'm thinking out how to put together a web app that allows a user to have a "room" and in that room, place tables and chairs, which will then be used for a scheduling app. The scheduling part I'm on top of. The graphical part for positioning tables and chairs is what I'm looking for a good solution to. At minimum the user has to be able to drag/drop and rotate the tables and chairs, to position them in a way that resembles the "real" room. Ideally, they should be able to either resize the
[jQuery] ajax Menu help
<div dir="ltr"><div>hello dears , </div> <div>how can i make same as this top menu : </div> <div>see this website :</div> <div><a href="http://www.gettyimages.com/">http://www.gettyimages.com/</a></div> <div> </div> <div>plz help me sooooon </div> <div>regards<br clear="all"></div> <div></div> -- Eng. Nader Dasuqi Project Manager +9665339217533 </div>
[jQuery] textarea chars counter
Hi, I need to count characters in textarea so I wrote sth like this: $input.keyup(function() { var new_length = $(this).val().length; $word_counter.text(new_length); if(new_length >= min && new_length <= max) { $word_counter.addClass('git'); } else { $word_counter.removeClass('git'); } }); But id doesn't work when I click the right mouse button on it and choose "Paste". Counter is not updated. Can anyone help? Thanks, Adam
[jQuery] calling functions within a jQuery plugin from another script
Hi all and thanks in advance for your help, I am creating a plugin (named - autoFormat) using the classic plugin style (see below). Can I call the sub function stripFormat from another script? If not how can I modify the plugin that will allow me to call this from another script? Bob (function($){ var p = $.extend({ aNum: '0123456789', cPos: 0 }); $.fn.extend({ autoFormat : function() { // plugin name return this.each(function() { $(this).keypress(function
jQuery generated HTML not accessible by other jQuery calls
Hi, I am having difficulty to figure out how to make jQuery generated html code accessible to jQuery. example $('#test_clickable').click(function(){ $('#test_load').html("<div id='test_load1'>Some Text </><br>Some other text"); }); Now I would like to trigger jQuery action when the code that has bean loaded in the "test_load" div is clicked i.e $('#test_load1').click(function(){ $('#test_load2').html("Some Text Again"); }); However the jQuery
[jQuery] Show/hide divs depending on form parameters
Hi all, I am pretty new to jQuery, and I'm looking for a way to kind of 'filter' divs depending on the parameters supplied by a form. I have three select boxes that set 'area', 'level', and 'time' parameters (for courses). I have given corresponding classes to some example divs, and I want the ones that match the parameters to be visible, and the rest to be hidden. Here is what I have got, but it doesn't work (they all stay no matter what parameters are supplied). Any help would be greatly appreciated!
Submit Form and Do a Bunch of Tasks in Order Sequentially
I am somewhat new to jquery so this may be a really simple question for some of you experts. I have a form that I process with jquery. In the script, I do a bunch of tasks in order as seen below. Most of it works except for updating a div with an incremented counter value that I get from a database table. I don't see the value on the screen, but it's there when I do a page source. Is there a way to do a wait after each of these tasks to finish before the next is done? Should I be enclosing each of
[jQuery] superfish NAVBAR menu - click on lowest menu and highlight that path
Hi, The superfish NAVBAR menu is exactly what I am looking for. The only addition I need is that when I click on a different bottom level node the path that is highlighted changes to the path of the item I have clicked on. Does anyone know how to do that thanks Touran
bind DOM change
Hey, Is there a way to bind a event listener to a change (or specific types of changes) in the DOM structure? It seems that using jquery to dynamically style (append and prepend shadow graphics for example) elements works great until you start mixing it with ajax dom manipulation. At which point you have to call the styling function by hand. Is there a way of saying something along the lines of on dom change -> take the new content and send it to style()... thanks
Smooth scrolling webpage
I want to make a webpage were you can click a button and the webpage will scroll to the next div. Not just vertically but also horizontal & diagonal. Here are some examples of what I'm trying to achieve: http://www.melissahie.com/ http://www.teamviget.com/ http://www.nofrks.com/ Does anybody know how to do this? Or can someone point me in the diection of a good tut? tia
Fading Images
I dont know of this has been done it would be excellent to see some in action. is there such thing as an image rotation/fade like http://www.mrandmrssmith.com/ ??
Clicking Select Box
You know when you click on a select box (size=1) and then the options show up? I'm looking to simulate that with jQuery. What I would like to happen is I have an image I am using as my "down arrow". It would be a custom image laid over the select box. If you click the select, it will drop down the options, but if you click the image, nothing happens. I want those options to drop down. I got as far as $('select').click(function(){ $(this).focus(); }); but it's not a focus I want, and .click() doesn't
[jQuery] Superfish menu issue - flyouts expand beyond window boundaries
Hi, I'm using Superfish to generate a horizontal menu for a project and the problem I'm having is that the flyout menus close to the right- hand side of the page run off the right-edge of the browser window instead of wrapping around like other menu systems I've used (this project was started before I got involved, hence my unfamiliarity with Superfish). Is there a way to fix this to get the desired behaviour? I notice that the examples on the Superfish website suffer from the same problem. Thanks,
[jQuery] Event Load() ??
Hello, I'm with a doubt in jquery, I am using the function load () to call another page, but after I loaded this page, I can not use the id of another page. because the function $('#btnCadastrarCliente').click does not work? [index.php] <script> $(document).ready(function(){ $('#btnCadastrarCliente').click(function() { alert("ok"); }); $('#novoCliente').click(function() { mostrarCarregando(); $('#conteudo').load("cadastroCliente.php"); }); }); </script> <li><span class="cliente">Cliente</span>
[jQuery] replace text on hover
Hey there, I'm redesigning my website at the moment and am looking to do things a little more efficiently this time around. Currently, I have something that looks like this like this: HEADING NUMBER ONE image one image two image three HEADING NUMBER TWO image four image five image six When someone hovers over image one, the actual text of "HEADING NUMBER ONE" changes to "IMAGE ONE IS COOL," and reverts when their cursor passes out of the image. When someone hovers over image five, the actual text
Multiple galleries using slideviewer 1.1?
Hi all. I'm trying to use slideviewer on my site (http://www.gcmingati.net/wordpress/wp-c ... lugin.html) I'm not having any trouble running one instance of the gallery but cannot seem to get two to work! It just says "loading..." (the alt for the loading.gif that I don't have/like), as you'll see. I'd like to eventually have 4 or 5 on this page but would be content right now with figuring out two. I've tried a bunch of different things but can't seem to get anything to work. I don't know much about
[jQuery] ajax start stop of multiple animations
Hi jQuery,<div> </div><div>I have successfully got my ajax working.</div><div>I'm now in the processing of put an animation gif on the site to show it's sending/retrieving date via. ajax.</div><div> </div><div> my problem is that I have multiple ajax calls on the same page.. and I want each call to be represented by</div><div>a unique gif animation.</div><div> </div><div>I tried to use the ajaxStart and ajaxStop which works fine but seems to only work on a global scope which</div> <div>means all
[jQuery] Datepicker ui Altering Button Panel
On the UI website under the datepicker "display button bar" option it says "Each button is enabled by default when the bar is displayed, but can be turned off with additional options. Button text is customizable." I can't find anywhere that states how to turn off buttons or customize the text. Anybody know how to accomplish this? More importantly, is it possible to add buttons to this panel? Ideally there would be a way I could pass buttons to it just like I do for dialogs.
[jQuery] AIR plugin for jQuery?
Does anyone know of a plugin for jQuery that encapsulates some, or all, of the AIR API? andy
Class won't be added for a specific id
I'm a novice here, and I've got such a piece of code: $(document).ready(function() { $.each(includes, function(index, value) { $('ul#menu-list').append('<li id="' + index + '"><a href="#">' + value + '</a></li>'); } ); $('ul#menu-list li').click(function() { var id = $(this).attr('id'); $('ul#menu-list li').removeClass('active'); $(this).addClass('active'); $('#content').load('include/' + id + '.html', null, function() { $('span.inline-link').click(function()
[jQuery] jQuery's :nth-child selector doesn't work inside GreaseMonkey 0.8
Hi, This is my first post here and I did try searching for this in the archives. Please be gentle. I believe jQuery's :nth-child selector doesn't work inside GreaseMonkey 0.8. (At the bottom is a quick GM script to test this.) Why is this? Is this a known limitation from working inside GreaseMonkey? Can anyone recommend a way around this? Also, why is it that _some_ (definitely not all) jQuery queries run *much* slower inside GreaseMonkey, I don't have a quick benchmark test right now, but I've noticed
[jQuery] json question.
This the html file I want to catch the object property inside obj and make them a json string like '{"div": [{"name": "div1", "w": "100", "h": "100"}, {"name": "div2", "w": "200", "h": "200" }], "img": [{"name:", "img1", "w": "50", "h": "50"}]}'; any suggestion to accomplish it? <!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"> <head> <meta http-equiv="Content-Type" content="text/html;
[jQuery] [autocomplete] Can I validate and update the entered value before doing the search?
Hi When typing data into the autocomplete-field the list of matches is updated at every key pressed. Is it possible in any way to check and correct the data before doing the match. Or could you alter the way the match is done. The perfect example is when you have lots of users entering decimal values into a filed. Some people uses comma and some decimal-point. So you would like to permit both "2.23" and 2,23" to be matched against 2.23 in the list. I have some other usecases aswell so I would really
tableSorter - functions but has not style. I'm stumped.
My tablesorter works, it sorts data as expected. This is a great thing! However it doesn't look like any of the examples, its just a completely plain table. I'm using the blue theme. I'm using the full address when I link to the file in my <link type="text/css" ....... > I can copy this link to my browsers and it opens the style sheet from my website. Why does sorted table not have any style on it, yet it functions?
[jQuery] jQuery UI 1.7.2 released
Download: http://blog.jqueryui.com/2009/06/jquery-ui-172/ Changelog Summary This is a maintenance release for jQuery UI 1.7. It changes only the plugins listed below. In addition to the plugin fixes below, 7 new themes were added: Sunny, Overcast, Le Frog, Flick, Pepper Grinder, Eggplant and Dark Hive. Widgets Accordion * Fixed: changestart event not documented (4471) Datepicker * Fixed: Datepicker: Datepicker: destroy, disable, and enable methods affect sibling datepickers (4240) * Fixed: Datepicker:
[jQuery] loading data from a file, then appending it to DIV section
Hi, I am a newbie to jQuery, and I'm trying to do something that I think can be done, just not familiar enough with jQuery to figure it out. I'm using Uploadify to upload multiple files. I want to load data from a file (using Perl), then append the results to a DIV section in my HTML. I can get the load to work, and the append to work independantly, but can't figure out how to get the both to act together to achieve my desired results. Here is my load function that works: 'onComplete' : function(event,
Jquery Carousel on Drupal Site Display error IE7
Hi all, http://76.12.83.65/ I'm currently having difficulty to debug this issue in ie7. When the page is loading, all carousel lists are exposed and content displays for a couple of seconds. Could someone please advise?
[jQuery] append() does not properly resize div when adding content
Hello, I'm creating a page that lists the available songs that I have for karaoke, and I'm having some difficulties with formatting. I'm using jquery to retrieve an XML created by php, and outputting it to the html page using jquery's append() function. However, when I do this, the DIV that contains the data (the one I'm appending) simply does not re-size with the data - so I have a div that's a few pixels high, and a data list that just floods out of it in the emptiness of my body background (white).
load spinner not working
Hi all, Need a little help from you guys here. I tried to show load spinner will ajax doing its work on a complex page item load. In my case I am trying to load a large image and at the same time load large amount of data onto a table. But it only works in FireFox 3 but it doesn't works on FireFox2, IE6, and IE7. I have done a sample to simulate what I am trying to do. Please download the sample zipped file from the link below, take a look and run the file on those browsers. You will see what I mean.
[jQuery] load spinner not working
Hi all, Need a little help from you guys here. I tried to show load spinner will ajax doing its work on a complex page item load. In my case I am trying to load a large image and at the same time load large amount of data onto a table. But it only works in FireFox 3 but it doesn't works on FireFox2, IE6, and IE7. I have done a sample to simulate what I am trying to do. Please download the sample zipped file from the link below, take a look and run the file on those browsers. You will see what I mean.
Next Page