I have to make something like an accordion, but I want it to fade while I click on a "li" of the menu.
http://scripts.den-style.net/
Click on "Prodotti" and then on "Chi Siamo" ;D
Can you help me?
How can I fade each "pannel"?
...
I have a schedule table I'm using jQuiry Sortable for editing.
Each day is a UL, and each event is an LI.
My jQuery is:
$("#colSun, #colMon, #colTue, #colWed, #colThu").sortable({
connectWith: '.timePieces',
items: 'li:not(.lith)'
}).disableSelection();
To make all LI's sortable except those with class "lit...
Does anybody know how/when/why/who/where of if the JQuery intellisense files live for JQuery 1.4.2. On the Google Code pages the most up to date version that I can find is 1.3.2.
...
Hi,
Is there a way to track users of my site (based on Session ID's) using JQuery? I would like to know what pages and how long they spent on each page for example. Or any other suggestions are welcome. I had tried this with Google Analytics but I cannot seem to track individual users based on an ID.
GF
...
Hi,
I am loading my tinyMCE inside my jquery document ready function. It is loaded in advanced mode, and I am also setting my toolbar to appear aligned 'left'. However this is still not appearing the way I imagine it should. What could be the problem?
tinyMCE.init({
mode : "exact",
elements : "txtinput",...
Hi I am trying to scrape other people web pages (for the forces of good not evil). I am currently trying to do this with javascript/jquery from with in a browser. I am finding that the no data is returned from the jquery.get() success call back function.
My code.
$.get('http://www.google.co.uk/',
function (data, textStatus, XMLHtt...
I used a code:
jQuery.fn.MyFunction = function(){
return this.each(function() {
attributes = "test";
return attributes;
});}
But when I call
var1 = $(this).MyFunction();alert(var1);
I got an [object], but not the "test".
How to allow jquery plugin return a some value?
...
Hi all,
I have a variable that's being changed all the time in the course of my application. Can I make an element change (contents, colour, whatever), when the variable changes?
Or do I have to change the element each time I change the variable. Ideally, the result would almost be like binding a change event to the variable...
Thanks...
I was looking at this answer and some other answers http://stackoverflow.com/questions/199099/how-to-manage-a-redirect-request-after-a-jquery-ajax-call/199156#199156
I can not get this to work. i check the XMLHttpRequest object in both success and complete. In both cases when there is a redirect instead of getting a 302 i get a 200 and ...
I am looking for a jQuery plugin which can serve me the floating share box functionality just like Mashable implement in their new design: http://mashable.com/2010/03/12/flickr-co-founders-startup-hunch-raises-10-million/.
In the left side on the page above Mashable has sharing options which stays on the screen when you scroll the page....
I'm getting syntax error in firebug here is the code :
$('#moderator-attention').live('toogle', function(){
function () {
$(".moderator-tex").show();
},
function () {
$(".moderator-tex").hide();
}
});
I want to create...
i have this code
$(function() { $('#ans_vote a span').click(function(){alert('working');return false;});});
and this html
<div id="ans_vote">
<a href='#'><span>one</span></a>
</div>
<div id="ans_vote">
<a href='#'><span>two</span></a>
</div>
when click one and two in mozilla its working
but when click one in ie its working b...
I am working on a simple news module. There is a form where user adds multiple image IDs to one textbox then submits it. To improve the usability, I listed all the images they can add (ID numbers displayed next to it) on one side. However, this still is little bit confusing. I want image IDs added/deleted to the textbox when user clicks ...
I'm currently developing a website which stores bookmarks in a MySQL database using PHP and jQuery.
The MySQL for bookmarks looks like this (CSV format):
id,userid,link_count,url,title,description,tags,shareid,fav,date
"1";"1";"0";"img/test/google.png";"Google";"Best. Search Engine. Ever.";"google, search, engine";"7nbsp";"0";"12675789...
What are some good tutorials on how to add form fields with jquery?
...
While trying to GET a JSON, my callback function is NOT firing.
$.ajax({ type:"GET",
dataType:'json',
url: myLocalURL,
data: myData,
success:
function(returned_data){alert('success');}
});
The strangest part of this is that
my JSON(s) validates on JSONlint
this ONLY fails on IE7....
Hi,
Is there a way to not affect children that are inside a parent when the parent is being changed?
<p>old text <a class="mylink">old link text</a></p>
$("a.mylink").click(function() {
$(this).parent().text("new text for p");
$(this).text("new link text for a");
});
});
The above seems to get rid of the link tex...
After creating a div on the fly with this markup:
$('.circuit').prepend("<div class='component' draggable='true'>TRANSISTOR</div>");
It is NOT draggable itself :(
Is jQuery prepend() the correct way to create "live" tags in the DOM?
Do I need to somehow bless it a different way to make draggable=true really work?
How to I wire it u...
Hello,
I was wondering if jQuery can handle following action:
I would like to display url links when readers starts to scroll down Blogspot blog page. These links will stay 100% visible all the time until readers scroll the page to the top position (0% visible).
I have found one jQuary, it is here.
But this one works like scroll to ...
I am attempting to stop a backspace keydown event from being handled by browsers, I'm using the jquery library, so I need to get the original event, but on some browsers (firefox at least) I get an error when trying to set the original events keyCode = 0, it gives and error saying that only a getter exists for that property.
function bl...