jquery

Can you explain this layout weirdness?

On this page: http://www.ntelos.com/wireline/main In both IE7 and FF, but not Chrome or IE6, the layout of this page is very odd. Everything is fine except that the page width is way off. It doesn't occur anywhere else in the site. The page uses XHTML Strict, CSS, and jQuery to get the parts to work. Any clues? Thanks very much fo...

What is the jQuery ajax equivalent to this html-form submit?

If have a html form like <form method="POST" action="http://.../file.php"&gt; <input type="text" name="data" id="data" /> <input type="submit" /> </form> I want to make a ajax-request with jQuery, but I don't want to use an invisible form to submit this. But somehow I don't get it to work. My try was $.ajax({ type: "POST"...

Transparent shadow with jQuery

I have page with fixed 1000px. I want to set shadow on left and right sides of main page. I can't use static .png with y-repeat, because my background is not a fixed color, it is image. So I can't use image. Any jQuery plugin which can do shadow? Or other solutions, not only jQuery plugins... ...

Pass data to a jQuery function on server-side

Hey ho, this is probably a simple question, but I did not find an answer so far. Given I have: $("a.clickable").livequery('click', (function (e) { var values = $(this).attr('id').split('_'); $('#' + values[3]).load($(this).attr('href')); e.preventDefault(); })); You see, I want all links with the clas...

Why does my jQuery "complete" callback break in Chrome & Safari but work fine in FF?

I have some problem with this jQuery code. I'm new at this but it works in FF and yet breaks in Chrome and Safari. Grateful for suggestions in any way. $('#level1nav ul li a:last').click(function () { $(lastBlock).animate({height:"400px"}, {queue:false, duration:500, complete: function() $(line).animate({width:"0px"}, ...

Using jQuery to disable multiple selects.

Hey folks. I have 7 select menus. I want to have the user make three choices, leaving 4 select menus disabled. Here is the link: http://www.missionsolano.org/support_volunteer_form.php (under Areas of Interest). I open to using jQuery form validator plugins as well. Anyone have any tips? ...

jquery.simplemodal-1.3.3.js : absolute positioning (vs. fixed)

I'm using Eric Martin's sweet 'simplemodal' jQuery plugin. It works wonderfully and would recommend it to anyone looking for a lightweight jQuery-based modal dialogue solution. That said, I have some particularly long content that "needs" to be displayed as a modal. By default, the container element uses 'overflow:auto' to handle conten...

Can someone take a look at my short javascript code and see why Facebook Connect is not working?

<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.1.min.js"&gt;&lt;/script&gt; <script type="text/javascript"> function isLoggedIn(){ $('#fb_dash_anon').hide(); $('#fb_dash_loggedin').show(); } function isNotLoggedIn(){ $('#fb_dash_loggedin').hide(); $('#fb_dash_an...

Javascripts run properly only after the first time the page loads in Google Chrome 4

If you use chrome 4 going to this page: http://web.cara-jo.net/ You will find that the slideshow does not run for the first time. Then if you reload the page, you will magically find that the slideshow runs properly. The slideshow is a jquery plugin called Pikachoose: http://pikachoose.com/ What makes such an interesting behaviour in...

Seamless jQuery Marquee?

Is it possible to create a 100% seamless marquee in jQuery (or just javascript but jQuery prefered)? I've made a simple marquee that moves left until it is off the screen then simply jumps (when out of view) to the right and starts again. However I would love it to not have the wait. The only way I could think of doing this would be to ...

How to show grouped products thumbnails within Magento product detail view?

Hi, Using modern theme based Magento configuration the detail view displays a table with the list of associated products along with the individual price and quantity input field. After the table definition, a single 'Add to Cart' button is provided. I am trying to make the following modifications to this grouped product detail view dis...

Trouble with converting 5 star rating script to work with jQuery v1.3.2.

Hi, I'm having trouble converting this 5 star rating script that works perfect with jquery revision put out on Date: 2006-09-07 10:12:12 +0200 (Do, 07 Sep 2006) $* $Rev: 276 $ It's the addclass, removeclass, .extend functions that I think are the problem but I can't seem to successfully convert it to work with jquery v1.3.2? Really ne...

Jquery callbacks with masonry pluggin

I have a basic toggle switch that shows the clicked on div while closing all other similar divs. This works just fine, the toggle is not the issue. See below: $(document).ready(function(){ $('.threadWrapper > .littleme').click(function() { $(this).next().toggle('slow'); $(this).toggle('slow'); $('.littleme').not(this).next().hide...

CheckBoxList select all options in jQuery

I have a CheckBoxList and one of the options is 'All'. I want to select all the options including All if the user checked 'All' and if the user unchecked 'All', I want to clear selections. If they select any other option except 'All', do nothing. Can anyone help me with jQuery to do this? I am using jQuery 1.2.6 <table border="0" oncli...

How to enable Jquery form validation function to be executed/fired before other functions?

I use Jquery form validation to validate form input data. There is a confirm check on submit of this form. . The code is: <script type="text/javascript"> function Confirmation(){ var answer = confirm("Do you really want to withdraw this amount of money from your account?") if (answer){ return true; ...

Javascript passing function into parameter?

Hi, I use the JQuery dialog and from the PHP I can build some add-in to the button. To be able to add code from the server side I pass a method by parameter. The problem is that FireBug tell me that the method is not defined : okHandler is the parameter of this method call to raise the dialog and it contain a simple alert message for...

Fill DIV with image when a LI tag is clicked (jQuery)

Hi All, Forgive me as this is probably an easy question for your jQuery guys out there, but I have the following: Unordered list with images as list items Empty div box with dotted border to show that it's empty I want the user to be able to click on a list item and have the empty div fill with it's image. Thanks in advance ...

jQuery and IE, not behaving at all.

Solution var options = { opacity: opacity }; //Many thanks to David Higgins for his help var direction; if(id == "chat") { direction = {right: dir + amt, top: dir + amt }; } else if(id == "rplayed") { direction = {left: dir + amt, top: dir + amt }; } else if(id == "info") { direction = {right: dir + amt, bottom: dir + amt...

Tags created dynamically with jQuery disappear after my form is posted

My page creates rows dynamically using jQuery but when I refresh the form, the rows are gone. How can I preserve the jquery dynamically created controls in MVC? It's a master detail page, I am creating a billing detail page. The details has a button which when you click it will show a dialog box asking detail info. After clicking ok on...

submitHandler is an invalid label

Below is the code, I get an error which says that submitHandler is an invalid label $(document).ready(function() { $("#withdraw").validate({ rules: { amount: { required: true, number:true, min:0, max:<?php echo $balance; ?> }...