Prototype and jQuery together?
I noticed that a certain script I use relies on prototype. (Lightbox 2) Will it work together on the same page as jQuery? Is there way to make sure that they don;t conflict? ...
I noticed that a certain script I use relies on prototype. (Lightbox 2) Will it work together on the same page as jQuery? Is there way to make sure that they don;t conflict? ...
I have two jquery.ui draggables. I am constraining their movement to the y-axis. If one is dragged to a certain y-position, I want the other to automatically move to the same y-position and vice versa. Has anyone ever linked two of these together before? ...
Hi All, Is there a way to fix the aspect ratio of images given a smaller width using css? Maybe by using jQuery / javascript? Thanks! ...
For some reason my background color shoots back to the leftmost link no matter what link I click on. Anyone know how to get it to stay on the clicked link? css #lamp { float:left; margin:25px 0px 0px 90px; clear: both; } .lavaLamp { position: relative; height: 29px; width: 400px; background: #000000 no-repeat top; background-image:url...
From firebug: >>> $("form#commentform").serialize(); "username=&email=&comment=&verify=" >>> $("#commentform").serialize(); "" >>> $("form#commentform") [form#commentform] >>> $("#commentform") [div#commentform] >>> $("#commentform").length 1 This is really weird,form#commentform works,but #commentform doesn't,why? ...
I've got a list of items and according to a criteria it gets a class via jQuery on document.ready that triggers CSS3 columns. If the list is displayed in columns it would have a smaller height. Is there any way to get the new height in jQuery immediately after the class change? $items.each(function(i){ var theItem = this; console.l...
<img src="test.php" /> where test.php generates an image with a random number. Itried : $('#verifyimage').click(function() { $(this).attr('src',$(this).attr('src')); }); But it doesn't work. ...
in my code i am creating a ul li for the jcarousel ie its a list of data(ex. list of photo) when the photo count is more than say 4 , the jcarousel enables horizontal scrolling so as to see next 4 photos . PROBLEM: is when i run the code in chrome the horizontal scrolls remain disabled even if number of photos is more than 4, in other...
Here's what Google Analytics has: http://farm5.static.flickr.com/4017/4243418983_354139fd06_o.png I haven't been able to find one in jQuery anywhere. Anyone seen it? Would be hot right. ...
Hi, I have an ajax script executed using jquery when an input text field is changed using keyup. This part works fine. However, I also want to trigger this same keyup event when the form autoloads with some text in this input text field. I'm auto-loading the form text field by using php to populate the form from the url (get request). ...
when i use jquery .html or .append to add elements in the DOM the page jumps to that location. how can i make it not jumping, cause i want my users to be able to click on "save thread to favourites" and it wont jump to "my saved threads" cause then the user has to navigate down in the list with threads again. EDIT: i have used this: ...
Hi, If you view this in IE7 or 8 you will see that the background, when fading in is black, then it rapidly disappoears. Is there a fix for this? http://nettuts.s3.cdn.plus.org/234_tooltip/Demo/index.html Many thanks in advance! C ...
Hi everyone, In an asp.net project I am currently working on, I need to create a modal popup that will act like the confirm() javascript function. However, the native confirm() function doesn't help out, since a custom design is required. An earlier attempt for this using the SimpleModal jQuery plugin I split the confirmation and the a...
I've been looking at ASP.NET AJAX Client Templates. My position is that I prefer to use Jquery rather than ASP.NET AJAX as I feel this will win the day in the long term. Are there Jquery plugins/functionaility that provide the same kind of help for rendering that client templates do in ASP.NET AJAX? ...
I have this very basic tabbed block: $('.tabbed-section .panel').hide(); $('.tabbed-section .panel:first').show(); $('.tabbed-section .tabs li:first').addClass('active'); $('.tabbed-section .tabs li a').click(function () { $('.tabbed-section .tabs li').removeClass('active'); $(this).parent().addClass('active'); var currentTa...
i want to click on a link that will cause another area to become editable (not the link that i click). is this possible with jeditable? ...
Simply doing something along the lines of $("tr.myclass").hide(); will hide the relevant rows. However, if I have a border against the td's contained within that tr, then they still show after the tr has been hidden. Therefore, the original table has a 1px border on the bottom of the td elements. The place where the sets of rows ar...
I need to apply this to images that are selected by jQuery selector for example $("img"), should apply this to all images in page. ...
The length of that bar depends on a number. And the number become smaller,the length become shorter,and vice versa. ...
hi, i want to position a banner while scrolling the code is $(window).scroll(function(){ offset = $(window).scrollTop()+80; var h = $(window).height(); if(offset < 80 && offset < (h-800)) { offset = 80; } $('#sidebar1').animate({top:offset}, 450); }); the problem is the offset is dynamic and it c...