jquery

jquery slideDown menu

Hi, I have a link which once hovered over a box below slides down, once hover is removed it slides back up. I have it working almost to how I want, although in IE8 (Havent tested in other IE yet) the text in the box which slides down is not centerd. In firefox, when it slides down the corners are not smooth, but they are in IE. Live tes...

Callback jquery.scrollview.js

Hello I'm using the jquery Scrollview plugin (http://code.google.com/p/jquery-scrollview/) to scroll drag a div with overflow hidden. My question is how I go about to get a callback function on this? Anyone? ...

JQuery hover problem

Hello, Im using jquery hover method to call a function as follows $(<some_element>).hover(function(){animate("next",true);},function(){}); But,the animate function is called only when the mouse enters the element. I want it to keep getting called as long as the mouse is over the element also. Any way to achieve this ? Thank You. ...

Why jquery have problem with onbeforeprint event?

Hi all, I have the following function. $(function() { $(".sectionHeader:gt(0)").click(function() { $(this).next(".fieldset").slideToggle("fast"); }); $("img[alt='minimize']").click(function(e) { $(this).closest("table").next(".fieldset").slideUp("fast"); e.stopPropagation(); return false; ...

jQuery UI Dialog - modal window temporarily covers dialog during effect

My modal window covers the dialog for the duration of the effect that brings it in - as if the z-index bringing it to the top only kicks in once the effect has ended. Anyone any ideas?! The code is below... Of course if I don't use a show effect then it comes straight to the fore and isn't a problem. $(function(){ var dialogOp...

mouse tracking on IE

Consider the following snippet: $(document).bind('mousemove', function(e) { $('#someDiv').css({left: e.pageX+'px', top: e.pageY+'px'}); }); This should make #someDiv follow the mouse (tooltip), when the css value for "position" is set to absolute. Works as expected, except when yo...

Jquery: Display element relative to another

Hi I am trying to display a drop down list using jquery everytime a user clicks on a particular formfield... At the moment the HTML is as stands // Form field to enter the time an event starts <div> <label for="eventTime"> Event Time </label> <input type = "text" name="eventTime" id="eventTime" class="time"> </label> </div> ...

Fancybox for .flv

Is there a way to manipulate jquery Fancybox plugin to display flash video files (.flv)? I mean making it behave like Malsup's Media plugin that can handle both .swf and .flv Putting my question in context: I have a php file that works dynamically to read the videos: if($ext=="flv"){ $fileSize = filesize($file); header("Expires...

Why does jQuery do this in its constructor function implementation?

If we look at the latest jQuery source at http://code.jquery.com/jquery-latest.js we see the following: var jQuery = function( selector, context ) { // The jQuery object is actually just the init constructor 'enhanced' return new jQuery.fn.init( selector, context ); } My understanding of the new keyword in Javascript is essent...

Redrawing rounded corners when using curvycorners-plugin for jQuery.

I'm using the curvycorners jQuery plugin (http://www.curvycorners.net/instructions/) to force IE to render rounded corners on divs. It works really well, apart from one thing: I have a validation error-message that pops up inside the div, using jQuery's "show" method. Curvycorners adds an extra div that is absolute positioned and has...

drag and drop working funny when using variable draggables and droppables

Hi, i have some containers that contain some divs like: <div id="container1"> <div id="task1" onMouseOver="DragDrop("+1+");">&nbsp;</div> <div id="task2" onMouseOver="DragDrop("+2+");">&nbsp;</div> <div id="task3" onMouseOver="DragDrop("+3+");">&nbsp;</div> <div id="task4" onMouseOver="DragDrop("+4+");">&nbsp;</div> </di...

jQuery Draggable to Sortable list

Hello Guys, Good day! I right now have a function the drags an element from a list to a sortable list. But what I want to achieve is to insert my own created html elements when i drag it to the sortable list and not to insert the elements selected from the draggable list. Appreciate you help in advance! Thanks, steamboy ...

persist value between two pages using javascript

i have a one html page in which i am storing few user selected values now and want to use these values on another html page. i am using jquery in my module and i have already tried window.name and window.localStorage but they don't persist values between two pages. so please help me to solve this problem. ...

jQuery password generator

I have the following JS code that checks a password strength and also creates a random password as well. What I want to do is edit the code so that instead of putting the generated password inside the password field it will put it inside a span tag with say an id of randompassword. In addition that I would like it so that by default ther...

jQuery click event on td row not firing.

i have a simple bit of jQuery which displays the row below the current one if selected. What I want if for all the <td> elements but one to fire this method. Works on whole <tr> row $(document).ready(function(){ $("#report > tbody > tr.odd").click(function(){ $(this).next("#report tr").fadeToggle(600); ...

jQuery MegaMenu hover setTime out/hoverIntent problem.

I am trying to put a jQ MegaMenu on a my web page. I used Geek Tantra's plugin (http://www.geektantra.com/2009/09/jquery-mega-menu/) and did some minor changes from there. Problems - the menu is in the middle of the screen - so I need to users to be able to pass the mouse thru the nav menu wihtout activating the menus. I tried to use...

jQuery - Need help stopping animation on click command.

With a few of your help I was able to get the jquery I wanted to work flawlessly, except for one thing.. the animation doesn't stop when i click on the buttons. Scenario: I have an Image, and 3 buttons underneath labeled "1","2", and "3". The jquery will automate the click function every 4500ms and switch from 1 to 2, then 2 to 3 and co...

RadGrid Ajax PopAlert

I have a situation where I need to, based on user selection and some server-side processing, display a message to allow user to choose to continue processing or cancel. I have a RadGrid populated with data from the database. When User adds a new item to the grid,I want to do some processing in the back end and then inform the user of wh...

Targeting an iFrame once with jQuery

Hi, I have a series of frames (4) which are used in a page to create loading of dynamic content through Ajax calls. In each of these frames I target parent level elements and update them with there respective content e.g. $("#loadingGrid1",top.document).show(); $("#frameSkills",top.document).hide(); In jQuery is there a way to inste...

How do i make a background image right click able?

I gave up on trying to center an image vertically and horizontally. I seen solutions that require you to know the size of the image. I do know background-image will center it properly. However i cannot right click the image and hit save as. Is there a trick i can use to allow this? ...