[jQuery] docs.jquery.com - display issues in Opera
There are some display issues in the jQuery documentation with Opera. On http://docs.jquery.com/Selectors for example, below each heading there is a huge gap to the list of functions/selectors.
[jQuery] Coming to jQuery from Prototype
Hi, I've recently posted a set of slides describing a process by process comparison between jQuery and Prototype to help developers move from one library to the other - and visa versa. I thought this would be helpful to developers so that's why I've posted here. The slides can be found here: http://remysharp.com/2007/10/25/prototype-and-jquery-going-from-one-to-the-other/ and here: http://www.slideshare.net/remy.sharp/prototype-jquery-going-from-one-to-the-other I would very much appreciate any feedback,
[jQuery] Delaying the Hide Effect
Hi, I have hidden text that appears whenever someone hovers over an image in my table. And I want it to disappear 5 seconds after they stop hovering over the image. Right now I have: $(document).ready(function(){ $('div.hidden').hide(); $('img.hidden').mouseover(function() { $(this).next('div.hidden').show(); }); $('img.hidden').mouseout(function() { $(this).next('div.hidden').hide(); }); });
[jQuery] Help: Jquery Interface "Drag" => Graphic Bug
Hello all, I'm working on Drag & Drop with Interface and I have a graphic bug. When I click on a Draggable object I can make it move, but only the text which is contained "move" all the (Css-made) graphic disappear as soon as I make a movement with the mouse. Here is a little bit of code: In the JS file: The Html in generated by the line with Easy Dom: $("#vsmenu").append($.LI({"class":"gps"}, $.DIV({"class":"sensorName","id":"menu-gps1"},"gps1"))); $("#vsmenu").append($.LI({"class":"gps"}, $.DIV({"class":"sensorName","id":"menu-gps2"},"gps2")));
[jQuery] [NEWS:] Learning jQuery on Slashdot!
Get ready for the onslaught... There's a quality (especially for /.) Learning jQuery book review on Slashdot. http://books.slashdot.org/article.pl?sid=07/10/24/1324211 Mod jQuery up! This is a good sign, getting approved by the firehose, and looks like good support in the comments as well. Let's rep the framework (but please, no bashing other frameworks, jQuery has no need for that.), and support a good book! Also, I noticed today a nice jQuery introduction/review at Dev.Opera: http://dev.opera.com/articles/view/jquery-write-less-do-more/
[jQuery] Cycle Plugin Pager Bug Fix
Hi Mike, While experimenting with the pager functionality of the cycle plugin, I noticed that the first anchor wasn't getting the "activeSlide" class on initial load. I did some testing and fixed it by modifying the function to this: function buildPager(els, opts) { var $p = $(opts.pager); $.each(els, function(i,o) { var $a = (typeof opts.pagerAnchorBuilder == 'function') ? $(opts.pagerAnchorBuilder(i,o)) : $('<a href="#">'+(i+1)+'</a>'); $a.appendTo($p).bind('click',function() { opts.nextSlide =
[jQuery] Validation triggering based on radio button value
I have a set of radio buttions to select different fields in a form, how can I trigger the validation of these text fields based on the value of the radio buttons? thanks
[jQuery] Looking for code snippet to "premark" input fields
Hey guys, I'm on the search for an small code snippet, that does change the value of an input field to lets say "put username here" and clears the field, as soon as the user clicks into the field and writes to it. Does somebody have this lieing arround? so long, Samy
[jQuery] newbie php .get question
Newbie here. Thanks for any help. Serving php 4.4.7 locally from Apache / mac 10.3.9 jQuery1.2.1 - php's running so I don't *think* it's an Apache/php issue. I'm trying to load dynamic variables from php but so far I get the whole script: $(document).ready(function(){ $("a").click(function() { $.get('print.php', { name: this.name, id: this.id }, function(data){ alert("Data Loaded: " + data); }); return false; }); }); Alerts: <?php print ("hello
[jQuery] [bug] Slight "jump" of elements when using height() in FF
Example page: http://brandonaaron.net/docs/dimensions/#sample-2 To recreate: 1. Use Firefox 2.0.0.8 2. Go to above link 3. Under "Element Height" subheading, click "Run" button. Current behavior: When invoking height() method to retrieve an element's height, elements on the page "jump" visibly. Expected behavior: When invoking height() method to retrieve an element's height, there is no visible movement.
[jQuery] Multiple reply fields
Hi there, I am trying to add a comment functionality to my webapp that includes a reply possibility on each comment. Like on digg for example. I am new to AJAX, but would like to take this oportunity and to jump into cold water with that task now. My goal is to use JQuery to show and hide a dialog box which contains the form to reply on the comments. Basicaly I managed to do this, but now I have a general understanding problem. Let's say there are 100 comments there and I want to have reply possiblity
[jQuery] jCarousel - does this work with jQuery 1.2.1
hi, does it? of course the <a href="http://sorgalla.com/ jcarousel/">jCarousel</a> mentions nothing about which jQuery version it is compatible with.
[jQuery] Checkbox hide/show
I have and "Show All Fields" checkbox that I want to show all the divs within an <div id=content> - ('#content div'). The input has a class of showAll. How do i write the code so that it displays all the divs when check and hides them all again when unchecked. Thanks for your help. <input type="checkbox" title="Show All Fields" id="showAll" name="showAll" value="showAllFields" class="showAll" /> <label for="showAll">Show All Fields</label> <div id="content"> <div> <h2>What’s New/Press Release
[jQuery] Assign a confirmation box when clicking inside of a bound event
When i do a search it comes up with the results with this method $(function() { var options = { target: '#searchresults' // target element(s) to be updated with server response }; // bind form using 'ajaxForm' $('#form1').ajaxForm(options); after this call, i want the option to delete products from the database, but i'm only able to do this at this stage without any sort of confirmation which can be quite dangerous as I could lose important information. this is my current code, to allow me to
[jQuery] Filter doubles from selection
The problem I have is (I think) quite simple but I find myself unable to find a solution to it. In the system I made you can select options from a select box and then click a button to add them to a different select box with your selected options. There's also a button to remove items from your selection. This works fine and you can see it below. What I need is something added to the first selector that will make sure of the following: If an option has already been added to #selection it should not
[jQuery] Datepicker bug in latest Opera
Hi, I just came across a hard to find bug in Opera 9.23 (Win), that made the datepicker not work properly. In short, Opera failed on number- only keys in objects, even if you convert the number to a string*. Thus I made some changes to use the date as a string itself, which worked properly with Firefox 2, Opera 9.23, Safari 2 & 3, IE 6 & 7... Changes were made in the selected date getter and setter and is methods: *** setSelected: this.selectedDates[d.getTime()] = v; => this.selectedDates[d.toString()]
[jQuery] Displaying Additional Information
I am pretty new to jQuery so I'm trying to learn. I have a bunch of information in a table. One of the columns has an image in every cell, I want additional information to show up when a user clicks on the image. I have been able to get it to where additional information shows up for every image no matter which image I click. Problem is that I want only additional information for the images I clicked on. The hard part is that this is a dynamic table, so it wont always have the same number of rows,
[jQuery] XHTML snippets in responseXML
Hi, I'm returning XML from an ajax call which contains, among other things, a snippet of XHTML that I would like to inject into the DOM. This works except that the injected dom nodes don't behave as usual. They aren't rendered correctly and they appear greyed out in firebug. See http://zenology.co.uk/jdemo/ for an example. What am I doing wrong? I'm guessing it's something to do with mixed content-types and the fact that they are actually xml nodes rather than html nodes?
[jQuery] Lolitas, Preteen Lolita, Preteen Nude, Preteen Girls!
Just few links on some movies ;) http://adultsexkey.com/indescribable-real-kiddy-porno.avi http://adultsexkey.com/amateur-lolitas-getting-fucked.avi http://adultsexkey.com/original-pedo-content.avi http://adultsexkey.com/only-very-hq-and-exclusive-cp.avi http://adultsexkey.com/big-gallery-kds-sites-and-lol/Boy-photos.avi questions-acrobatic-adult-album-extreme-aliens-amber-masturbation-service-be-kiddy-chat-art-gun-blog-sun-porno hc-guestbook-world-guide-super-land-big-online-young-immigration-ukranian-where-very-relocation-book-zeps-boys
[jQuery] Execute jcarousel in thickbox
How can I use jcarousel inside a thickbox. I've seen it done the other way around. I've tried to do it and the thickbox does work but the jcarousel doesn't. Is there any way to make this work? Thanks
[jQuery] jquery plugin + problem with return for "this" element
Hi I'm trying to create plugin for jquery... I have almost everything, but when Im using my plugin on more then one elements then I have problem... To show my problem I created this code: (function($) { $.fn.extend({ test2: function(color) { var b=$(this); return b.each(function() { callback = function(data) { b.css('color',color); } ttt= function() { callback(); }
[jQuery] bbcode editor
Hi, Can anybody recommend a good BBCode editor for jQuery? Thanks, A.C.
[jQuery] draggable clones are not draggable
Hi there, I've tried to achieve a simple thing with draggables. Put little pictures (wrapped in divs) on top of a bigger one using the drag-and- drop technique. This is what I've come up with: function makeDraggable(expr) { /** * Makes the selection (by expr) draggable */ $(expr).draggable( { start: function() { // only clone if clone is not yet present if ( $(".draggedClone").length == 0 ) { if ($(this).next().is("#addons .draggable")) { $(this).next().before($(this).clone().css("position",
[jQuery] Livequery + jQuery.YAV
jQuery.YAV is a input validation plugin based on the popular YAV. Normally, a call like this: $(document).ready(function(){ $("#form1").yav(); }); will be enough to call Yav to do input validation when the form is submitted. However, on our software, the forms are being added dynamically via AJAX, so livequery would be required. We've tried every possible way of doing this with livequery, but we can't achieve the desired result. If we put them form on the main document, not through an AJAX
[jQuery] problem with jquery
Hi All, I am a new person to the world of jQuery. I am having a problem in my first program only. Please tell me what is wrong over here. My code is : <html><head> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function() { $("a").click(function() { alert("Hello world!"); }); }); </script></head> <body> <a href="http://google.com">google</a> </body> </html> Output which I am getting is : {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss
[jQuery] Refactoring with JQuery
Hey everyone, thanks for all the help so far. I'm slimming my code down with JQuery, and wondered how I would handle the below situation. I generate a dynamic set of <divs> each containing a set of <input text>, <input button>, <input button>, like so: ------------------ var newDiv = $("<div>"); $('<input type="text">').keyup( function() { return updateRockButton(this);}).appendTo(newDiv); $('<input type="button">').attr("value", "Search For Rock").click(function() {getRockList(this);}).appendTo(newDiv);
[jQuery] help - compare 3 lists, get the largest number of items...
I'm still learning the most basic javascript :-( I have 3 lists. I want to know how many items are in the longest list (ie. most <li>). Then, I want to multiply that number by 275 assuming <ul id="myList1" class="myList"> etc. I know I can get the length of a list using $('#myList').length(); How do I compare 3 numbers and take the largest? thanks for any help! Rolf -- View this message in context: http://www.nabble.com/help---compare-3-lists%2C-get-the-largest-number-of-items...-tf4685230s27240.html#a13388830
[jQuery] Cycle Plugin Next and Prev
Hello, I am experimenting with the cycle plug-in. Excellent plug-in Mike. I was wondering if there was an easy way to set an individual transition based on the next and prev options? Thanks, Marshall
jQuery UI Sortable was released unfinished..
Bummer. I just started to set this up on an upcoming website release, but the Sortables aren't complete. The function callbacks (so you can call a function when sorting is done) do not work... essentially making Sortables useless I hope they fix/finish it in due time!
[jQuery] UI - Droppables - Avoid "revert" when the tolerance is matched
Hello everybody ! I'm asking myself for a while before asking my question on the group. I'm trying to make a nice DnD tool but I have one problem : I declare to my draggable the option "revert:true" and I would like to "delete" it if the draggable matches the droppable box, if not, the revert is "run" as excepted. So I tried a lot of tricks such as : $('.droppable').droppable({ drop: function(ev, ui) { $(ui.draggable.revert) = false; }}) or even : $('.droppable').droppable({ drop: function(ev,
[jQuery] function in thickbox.js that is called when user clicks outside of thickbox and it closes
what line numbers is this on?
[jQuery] Jquery and safari
I am running safari 2.0.4 and jquery 1.2.1. None, and I mean none of my javascript works in safari. All of it works fine in firefox and most of it works in ie. Is this just a problem with jquery or am I missing something?
True Beginner - Trying to get started
Hi everyone. I'm a Web Designer, but not a programmer. I really don't know how to write JS or any other type of script. I came across jQuery looking for an Ajax floating window solution one of my clients wants to use. I downloaded everything from jQuery and I've gone to countless sites as well as reading all documentation available -- looking for something that will show me how to start using jQuery, but so far everything I've found is miles over my head. Does anyone have a suggestion, can you point
Translating an actual js node pointer to jQuery
Hey, Any of you guys know how to, for instance, make ev.target into a jQuery object? I'm trying to run functions on the node I get from the ev.target pointer. Thanks!
[jQuery] JS/jQury Drop line
Does anyone know of a JS solution (preferably in jquery) for http://www.cssplay.co.uk/menus/doors_drop_line.html? Thanks
[jQuery] Cycle plugin help
I’ve just begun to work with jQuery. My first widget is a simple scrolling div of images (logos in my case). I’d like for each of the images to scroll in, pause and scroll out. The Cycle plugin does that out of the box but I have one other request. The container div of the images is wider than the images. When the images scroll in, they always stop at the left edge (I’m using scrollLeft). I would like for them to pause in the center of the container div and proceed on. I see I have several parameters
[jQuery] Sliding Image Puzzle Plugin
<span style="font-family: trebuchet ms;">From the creator of the jQuery vibrator plugin. Ben Nadel brings you a new child-safe toy plugin.</span><br style="font-family: trebuchet ms;"><span style="font-family: trebuchet ms;"> <a href="http://www.bennadel.com/blog/1009-jQuery-Demo-Creating-A-Sliding-Image-Puzzle-Plug-In.htm">http://www.bennadel.com/blog/1009-jQuery-Demo-Creating-A-Sliding-Image-Puzzle-Plug-In.htm</a></span><br style="font-family: trebuchet ms;"> <br style="font-family: trebuchet
[jQuery] Ajax load() function + document.getElementById.value solved
Hi all, this may not be a good codes but maybe a quick and dirty solution for those who met with the same problem like me. I am developing a photo section in my web app using jquery BUT I have a problem when trying to use the Ajax load() function to pass the new Photo Title to a my php file for processing. For example, when I use the document.getElementById('photo_title').value which is actually to get the wordings "Photo Title", BUT the load() function only pass the "Photo" and those after empty
[jQuery] Prevent comment SPAM with jQuery
Hey people, I came up with an idea to help fight comment spam, the stuff most of us hate. It's just an idea, maybe it won't even work. But take a look and tell me what you think, or tell me why this won't work. It's basically a captcha that requires user action with draggables/ droppables. http://www.strezlab.com/dropcomment.html I'd love to hear what you guys think! Gavin PS: Yeah, this should be in the UI-section, which it is, but I thought here might be a good place too.
[jQuery] CSS image replacement problem
I am wanting to do a simple CSS image replacement. Each page <body> tag has an ID (Ex: ID="#sec-adv"). So, if the script finds that particular <body> ID, then it will replace background-image for #page-photo DIV. I cannot get this to work. I'm sure that I am missing something very small. Can someone please help? $("#sec-adv").each(function(){ $("#page-photo").css('background-image','url(../images/pagepic.jpg)'); }); -- View this message in context: http://www.nabble.com/CSS-image-replacement-problem-tf4684287s27240.html#a13385461
Next Page