jquery

jQuery featured content slider problem with embedded flash youtube video, overflowing div

Hello, I created an ajax jQuery featured content slider that will automatically navigate through each tab. Each tab has some basic html. The one I used is this one: http://css-tricks.com/anythingslider-jquery-plugin/ For some reason, when I embed a flash video in it, the flash video overflows the div. It looks fine in Chrome and ...

I need to use Prototype to do something I can easily do in jQuery

I know my jQuery, but sadly don't know much about Prototype. $(function() { $('#home-gallery-container').append('<a href="/images/cobra_sale.jpg" alt="" rel="lightbox-home" id="special-home" ><img src="/images/tag.png" alt="Special" /></a>'); }); How would I do this in Prototype, or Magento's library if that adds anything extra. ...

How to use JQuery to highlight text.

Suppose I have this HTML code: <div class="person"> Mike Mulky </div> <div class="person"> Jenny Sun </div> <div class="person"> Jack Kickle </div> This JQuery thingy will actually filter the matching query. For example, when a user types in a textbox. $('#userInputTextbox').keypress(function(){ $('div.person').hide().filter(':...

Jquery Block ui only show on ajaxStart of a function

I am currently using Blockui to block the page and show a loading gif when an ajax function is being performed. See here: $(document).ready(function() { //shows loading screen whilst posting via ajax $().ajaxStart(function() { $.blockUI({ message: '<h1><img src="../images/layout/busy.gif" /> Just a moment...</h...

Looking for a jQuery plugin that can blur/hide text

Hello, I'm trying to find out if there is a jQuery plugin that can has the effect of literally blurring elements on a page, so a user can't read them. It's for a flashcard application I'm building, and I want to be able to hide the answer section of a card, making it appear unfocused as if you were looking at it through a blurry window...

Change Column to Auto_Increment

Hi, I asked this question a little earlier today but am not sure as to how clear I was. I have a MySQL column filled with ordered numbers 1-56. These numbers were generated by my PHP script, not by auto_increment. What I'd like to do is make this column auto_incrementing after the PHP script sets the proper numbers. The PHP script wor...

jQuery: Tooltip Visibility

Hello, I currently have the following Javascript on my page: function tooltip(top, left, speed, easing, callback) { $(".tooltip").css({"margin-top": top, "margin-left": left}); var state; if(state!="1") { if($(".tooltip .anchor").css("display")=="none") { var state="1"; $(".tooltip .anchor")...

Jquery: is there a VERY light-weight lightbox available?

I'm looking for an extremely light-weight lightbox for jquery. i'm trying to create my own but i suck and my fist is about to go through the screen.... i'm talking like 5kb or less.. i know it can be done, and if i knew what i was doing i'd do it... but i'm just done for the day. So, does anyone know of one? something just for images, an...

Check Value of a FORM POST on submit using jquery

I have 3 buttons <input type="submit" name="submitButton" value="something">. Then i check the event with $(".form_name").submit(function(e) { and i would like to check which of the 3 buttons have been clicked and to alert the user of the action and return false if the user wishes to not go through with the action. How do i check which ...

How to change A's html site when B does something.

Say we have users A and B which visit the same URL containing a button. When A clicks on the button, I want something on B's website to change immediately while B is on it, e.g. a text to be added. I want this to happen with a delay of less than 150ms. Is this realistic? Could you give me hints as to what I should search for, or toy exa...

asp.net mvc dynamic javascript menu

is any library to allow create dynamic javascript menu from code ? ...

Jquery Cycle Div as Anchor

I'm building a page that has a few divs of content that will slide in and out - just a few lines of code with jQuery Cycle. I have a navigation on the side in which I want to append the links to. No problem with Jquery cycle - I can even specify an image or H3 tag that I want to use. However, I want to append an entire div from the sli...

jQuery slideshow loop fail

Hi, I've been trying to implement snook.ca's Simplest jQuery Slideshow, but when applied to child elements inside a <ul> instead of a straightforward stack of images. I've successfully got the slideshow rotating through the necessary child elements, but I've run out of know-how when ending the sequence and returning to the beginning. I...

Replace a link with it's text with jQuery

<a href="#">TEST</a> I want to remove the anchors and keep the Text i.e TEST ...

Display an ajaxloader inside the <div> that's being updated?

I use jquery 1.3.2 and jquery-ui tabs version 1.7.2. All of my tabs are loaded via Ajax. Within each tab, I want to display an Ajax loader whenever any Ajax call is active. The Ajax loader is inside the <div> that's being updated by the Ajax call. I've tried the following: $(function() { $("#ajaxLoader").ajaxStart(function...

jquery image map hover effect stuttering in and out

I'm putting together a map of the US which has hover states that I need to trigger somehow. The way I've built it (and have done this before on a smaller scale with no problem) is to imagemap the main image of the USA, give each area an id, then use jQuery to show/hide an absolutely positioned div overtop of the map. Each div contains an...

jquery - how to make an iframe from a script i found into an ajax injection?

I'm wondering how i would change this appended iframe: $("#GB_window").append("<iframe id='GB_frame' src='" + url + "'></iframe>"); into a div. Is there a way to change this so that i'm not appending an iframe, but instead using ajax? I need to be able to use the src='" + url + "' part of it. i'm still a novice. If you'd li...

jquery jrowl size

Hi, How to set the jgrowl size to be as auto.Because if the the contents are more i thinks it wraps up the content. can we set this something like <script> $.jGrowl.defaults.size = 'auto'; </script> Thanks. ...

loading jquery in cfdiv

im using a cfdiv to bind data from another page eg: (bind.cfm?id=123) and that other page(bind.cfm) has a jquery scrollable from flowplayer http://flowplayer.org/tools/demos/scrollable/index.html and its not working it doesnt scroll... i included all the js and css files in that file and nothing, but when i browse to that file directly (...

Jquery is not working on IE8

jQuery Tabs is not working on IE8 - Working fine on FF/Safari/Chrome/ie7 For tab control, I am using Java script: - <?php wp_enqueue_script('jquery-cycle', get_bloginfo('template_directory') .'/js/jquery.cycle.js',array('jquery','jquery-ui-core','jquery-ui-tabs')); ?> in wordpress and using this jQuery("#tabs").tabs(); to ca...