I have the following jquery on mcgillidssa.com to animate the drop down menu:
$(document).ready(function() {
$("#navigation ul li").hover(function() {
$(this).addClass("over");
$(this).find("ul").slideDown('fast').show();
$(this).hover(function() {
}, function(){
$(this).removeClass("over");
$(this).find("ul").slideUp('f...
jQuery slider go back to front slider when reached end of slider?
Process:
I load an HTML on a div with Ajax when it reaches the end of slider scroll.
I want the slider to go back to front (starting point) when the process above executes.
...
I am using a plugin that uses jquery to pull an rss feed, and displays it after the content loads. I wanted to use jScrollPane so I can have custom scrollbars.
WithjScrollPane, it loads the scrollbars on pageload, but because the rssreader loads content with ajax, the scrollbars aren't applied (it takes 4 seconds to load the rss conte...
Can anyone suggest a way of rotating text by any angle without using something like Flash or Silverlight. I'd like to use a slanted image with the text following the same angle.
...
I have a jGrid with an editable column some_other_id that has a select dropdown with keys/values of 1:A,2:B,3:C. I want the selected choice in each row to display the text value of the choice (e.g. 'A', 'B', 'C'), not the ID (1, 2, or 3). It currently displays the ID.
colModel :[
{ label: 'ID', name:'id' },
{
label: 'So...
http://api.jquery.com/jQuery.unique/ lets you get only unique elements. Is there I can find out if an element is already in the list or not.
list = $('#container p a');
elem = $('#container div a:first');
Is there a way to find out if elem is already in the list or not.
...
I have...
a dynamic populated select box
several input boxes
a submit button
form fields are loaded initially using cookies
several dynamic populated divs
I want...
start loading the content of my DIVs after all FORM elements have been loaded completely (= filled with data, select boxes are populated)
Sample code:
<script type=...
I have a jQuery selector that queries elements by tag name and class. In a query that I'd expect to return three elements, Safari (v3.1.1 for Windows) returns an extra element.
The cause seems to be the numeric ID*. Changing the ID to a non-numeric eliminates the duplicate element. Strangely, changing the ID of the first element to...
Man, I just don't get it. I have four sets of paired links, where by hovering over one sets off the other. I have it working in jQuery but when I add Cufon it's no dice. Here's JQ script:
<script type="text/javascript">
jQuery(document).ready(function() {
var doubleHighlight = function(element1, element2, class) {
...
The problem:
I have set of pictures, when the user presses on one of them, it's grow to an area in the page.
The exchange of the pictures is done with the help of js.
Tthe picture is weigh about 0.5M, therefore it's take about 3 sec until the picture is showed.
I would like to present a type of animation while the picture is not displa...
What I want is:
when the page loads - the background has color red
after 10 seconds the bgColor changes to green with a fade in fade out animation...
after another 10 seconds it changes to orange....then again to red and so on..
Could someone help
...
I have added the Html element to the table with table row but,i am getting problem with adding the Html.TextBox() to the table with a table row using j Query when a button is clicked.
...
From a button in Flash I just want to call a function written in jQuery.When I place the function outside jQuery's $(document).ready it works fine:
*btw I use SWFObject to embed Flash.
AS3:
import flash.external.ExternalInterface;
function test_fnc(event:Event):void {
ExternalInterface.call("jsFunction", "hello world");
}
test_mc.a...
I have an interface that makes heavy use of the jQuery slideUp and slideDown effect to expand items in a tri-state kind of way.
onmouseover: function() {
this.find('.details', this).slideDown();
},
onmouseout: function() {
this.find('.details', this).slideUp();
}
However, when the user quickly moves the mouse over these interface ...
I would like to use Google's copy of jQuery, to spare some load on my company's local web servers:
http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js
While this is great for many sites (include stackoverflow and my personal website), I am hesitant to introduce this change to my company's public website.
Personally, I ...
hello guys.. i'm trying to make a replacement for a flash movie.
the animation is really simple, background image slide to the left for 10 seconds.. meanwhile a product is shown with his name.
i was able to recreate the animation with jquery.. it works perfec.. BUT JUST ONCE! T_T
does anybody know how can i make it to loop?
this is t...
I'm attempting to use JQuery to create a dynamic page header using an image that exists in the article. I plan to give the image a class (.thumbnail). I want to remove the image from the article once it is used for the header. Here is the logic:
Find IMG tag with .thumbnail class
Move that image to a new DIV (#dynHeader), class it ....
$("#htxtEmoney, #htxtPoint").keypress(function(e){
var evt = window.event ? window.event : e; //for compatibility
var keyCode = evt.keyCode ? evt.keyCode : e.which;
if (keyCode == 13 || keyCode == 27 || keyCode == 8) return ; // esc, enter
if (48 <= keyCode && keyCode <= 57)
return true; // number
alert("You...
EDIT
I should say I am calling the method twice that is why there are 2 messages but I'd like to be able to check if there are any esiting messages assigned and then delete them before assigning the new ones
Hi I am using the qtip plugin and I have 2 tips assigned to the one div. I would like to be able to remove the old one and then ad...
I'd like to implement my own delete functionality in jqGrid. I'm currently using the built-in UI (select row, press trashcan button in footer, confirm) but I'd prefer to have a delete button in each row and implement my own UI for confirmation.
I don't see anything in the API that allows me to fire off a delete to the server - just del...