jquery

Problem with my JavaScript AJAX request in IE8

I have a products range on this site http://vanquish.websitewelcome.com/~hawko/hawko-lighting/led/ using jQuery In Firefox / Safari, clicking view will allow you to see more details on the product on the right. This includes a gallery (if > 1 images), a download specs sheet if one is available and view more details. The JavaScript wor...

A tricky javascript thing I'm wanting to do...pulling elements from a list and hiding the rest

As usual, I want to do more than I know how to do yet :-D Here's what I'm working on...I'm writing up a Bio. But within the bio, I want a "long bio" and a "short bio" button. The long bio will obviously display the whole bio, but the short bio would grab elements in the list and make them bold and contract the div to now only contai...

Selecting specific cells

$('table.listings td:contains("You")').each(function(){ $(this).children('td:nth-child(2)').addClass('highlighted'); }); I have multiple table.listings on the page but the one that contains "You" is selected and I want to addClass highlighted to the 2nd cell in each row, but the above code isn't working as I expected. Thanks ...

Looking for Following JavaScript Library That Provide Navigation Menu Similar to FogBugz HomePage

Hello, I was looking for JavaScript library, which is able to provide navigation menu similar to http://www.fogcreek.com/FogBugz/learnmore.html (left most navigation menu) Any recommandation? Thanks. ...

a special kind of jquery slider plugin

i want to have a special kind of slider that contains elements like this one: http://jqueryfordesigners.com/coda-popup-bubbles/ the differences are: you can scroll with your KEYBOARD right pile and left pile. the slider jumps to the next element and NOT the next set of elements. the element in the center will be LARGER than the other...

jQuery - remove class from element when :hover

I have a nested list. The nav-ul is hidden unless you are on that page, in which case jQ adds the class selected. I have written a jQuery script to handle the highlighting of the current location but what I am having trouble with is hiding the nav-ul when you hover over a top level li. Item 1 | Item 2 | Item 3 | Item 1.1 | Item 1.2 | I...

Idiomatic jQuery delayed event (only after a short pause in typing)?

Here is some jQuery for a search box that I expect is actually an antipattern, and am sure there is a much better solution for that I would love to be pointed towards: I will describe it in comments then just give the code, since the comments may be more clear and simple than the code: // set up a function call on keypress. // functio...

filling a jQuery autocompleate list with webservice data?

This is my Webservice responsible to fill the autocompleate: [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.ComponentModel.ToolboxItem(false)] [System.Web.Script.Services.ScriptService] public class WebService : System.Web.Services.WebService { [WebMethod] public Li...

jQuery Limitation the scope of <script>

here is the Manual and the Code of my again trying to make a fixed rows for a Grid : <script src="Scripts/jquery-1.4.1.min.js" type="text/javascript"></script> <script src="Scripts/webtoolkit.jscrollable.js" type="text/javascript"></script> <script src="Scripts/webtoolkit.scrollabletable.js" type="text/javascript"></script> <scrip...

Problem with nested jQuery sortables

Here's the basic HTML structure for my page: <div id="selectedItemsTop"> <ul> <li> Root element <ul> <li>Level One a</li> <li>Level One b</li> <li> Level One parent <ul> <li>Level Two a</li>...

Positioning the fancybox box?

How do I modify the positioning of the fancybox box? I want it to be positioned so that it floats right within my container div... Thanks for all your time and help! ...

jQuery FixedHeaderRow script - dynamic scroll width (how to control)

<asp:Panel ID="Panel2" style="width:720px; border-style: outset; border-width: 4px; " runat="server" ScrollBars="Horizontal"> <script src="Scripts/jquery-1.2.6.js" type="text/javascript"></script> <script src="Scripts/webtoolkit.jscrollable.js" type="text/javascript"></script> <script src="Scripts/webtoolkit.scrollabletable.js" type="tex...

How to decode character pressed from jQuery's keydown()'s event handler

I need to figure out which character was typed into a text field from within the handler that is called by jQuery's keydown function. key.which gives me only the keycode, but I need to figure out which ASCII character key represents. How do I do this? ...

How can I enhance the functionality of a page whose source I shouldn't modify?

A friend of mine uses a web-app for work related purposes. The app's built using PHP/MySQL , and while it has some JavaScript to make it easier to work with, it's not user friendly enough, and with a bit of extra JS, a lot of stuff could be automated. I would like to enhance that app, but I'd like to not have to modify the original ser...

Apply jump menu functionality on select box styled with jquery

Hi all, I am using this script to apply style on a select box. It works fine as a standalone version. But I also need to apply a jump menu functionality on this select box. I tried adding a function but it seems that there is some conflict between the two scripts. The jquery styling and the jump menu function can't work together at the...

Function doesn't work at second call

i have this function function notify() { alert('oo'); $("#SuccessNotification").dialog({ bgiframe: true, modal: true, title: 'success', buttons: { Ok: function() { $(this).dialog('close'); } } }); } the ale...

Ajax with multiple form inputs

Hi Guys, I am working on a new system and am stuck at a point with jquery + ajax and getting it work work correctly with the other things happening on the page. Basically the page is to submit a quote and on the page you can add as many quote items as you want. When someone clicks on new item it runs the below code wich gets the value...

How to create effecient stack implementation in javascript?

I need a good stack implementation in JS. Pref jquery Please help ...

jQuery functions performance

Hi, I was building a large web script with jquery. It does various things and one of them is interacting with the DOM elements. I used a simple JavaScript function function mymainclass() { // declared variables here this.var1 = new String // Some functions this.fn1 = function () { ... } } After that, I added other functions using th...

Galleria Javascript Gallery in IE7 & IE8

Hi there I have implemented the Galleria & SmoothDivScroll plug-ins together but in IE7 & IE8 the image gets distorted [ratio is not kept in scaling] slightly when its orientation is portrait (i.e. when the image gets loaded into #main_image, the image container). In Safari and Firefox, everything is fine. Does anyone else encounter th...