My dropdownlist width is smaller than the longest text in the SelectList. When I click the dropdown, it resizes to fit properly. If I remove the .accordion from the div, the dropdowns all size correctly when the page loads. How can I get it to size properly? This is how I set the accordion.
$("#acc").accordion({
...
hello ,
i use this jquery tabs plugin :
http://css-tricks.com/slot-machine-tabs/
it's work very good .. but i have problem with the columns contents .. the problem is that the a urls don't work in firefox .. firefox see urls inside it as normal text . not as urls , it's be not clickable .. so i don't know what is the cause of this pro...
Thats what i have so far i want to set a timeout for function spid()
<script type="text/javascript">
$(document).ready(function() {
$("#spid").animate({top: '-110px' }, 600, 'easeOutBounce',
function spid() {
$(this).animate({top:"-=20px"},1000).animate({top:"+=20px"},1000);
setTimeout("spid()",2000);
});
});
...
Hi All,
I am naive jQuery programmer, so somebody please help me out with this problem. The first example shows what i am doing and its working. But my dilemma is that the list is created by parsing a XML. If so how would i parse the xml, find the 'title' attribute and then load the corresponding url into a Div. Thanks in advance...
jQu...
I have the following HTML:
<div class="result-row odd">
<div class="domain-name">first-domain.com</div>
<div class="domain-functions">
<a onclick="deleteDomain(1)" href="javascript:void(0);">
<img height="24" width="24" alt="48x_delete" src="images/48x_delete.png">
</a>
<a onclick="editDomain(1)" href="javascript:void(0);">
...
<ul class="list">
<li class="class1">text</li>
<li class="class2">text</li>
<li class="class3">text</li>
<li class="class4">text</li>
<li class="class5">text</li>
</ul>
How do I search for some class inside .list?
Like:
search for .class1 inside .list () {
// do something if true
} else {
// do something...
We are on page 'http://site.com/movies/moviename/'
How can we know, is there /movies/ in current url (directly after site's root)?
Code should give:
True for 'http://site.com/movies/moviename/'
And false for 'http://site.com/person/brad-pitt/movies/'
Thanks.
...
Hi. I've a page on html. When i click on a submit button i call a Javascript function. I need (for example) go at the top of the page (or on another specified place, like in the middle where i have some div). I think there's a method for do it. How is called? Thanks
CODE :
<form onSubmit="return checkTL();" method='POST' action='./inde...
Hello all,
I have two pages, The parent and from this page I am using:
window.open('OrderDetailsFull.aspx?ObjectID=' + ObjectID[1] , "TableDetails","status=0 , toolbar=0 , location=no , menubar=0 , scrollbars=yes , height=600px , width=800px");
to open a new window and manipulate data over there.
When i finish what i am doing i nee...
I have the following code.
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
</head>
<div id="hello">Hello <div>Child-Of-Hello</div></div>
<br />
<div id="goodbye">Goodbye <div>Child-Of-Goodbye</div></div>
<script type="text/javascript">
<!--
funct...
I'm working on a calendar and want to disable a link after a form is submitted.
The calendar consists of links (with rel="box") which open a lightbox with a reservation form. Once the form is filled in, i want to disable the according link by setting the rel to rel="noshow".
The script first should check the rel attribute of the link...
Hi,
i know, this is a realy popular error.
But my problem is that my script is over 1.500 lines big.
What can i do? .... or ... what are you going to do?
Thanks in advance!
Peter
EDIT:
jQuery.extend({
style: function( elem, name, value ) {
// don't set styles on text and comment nodes
if ( !elem || elem.nodeType =...
Hi! I'm new to jQuery, so I think this will be trivial for many. I'm making a navigation bar with sub menus that appear when the main menu are hovered on. I want to change the background image of the main menu and, in the same time, show the sub menu. Here is my code:
$('#nav-list li.products').hover(
function() {
...
Within vs.net I need to set references to both js and vsdoc.js files for jQuery. Things work great if the script files are within the project HOWEVER I really want to reference a standard folder on our server i.e. http://www.domain.com/script/jQuery for the location of these files. On our local workstation we have these files located i...
Hello Friends,
I have a button something like this what should I do?
<input type="button" value="Exit" onclick="JavaScript:window.location.href='../index'"/>
On Exit I am going to Other view..
On click on Exit I need to display popup window saying Are you sure you want to Exit? with Ok and Cancel buttons
anybody tell me out to do ...
I have a nested set of unordered lists that I'm using for a dropdown menu structure:
UL > LI > DIV > UL > LI * n > A
I'm using jQuery to animate the dropdown/display of the div and child ul:
jQuery('ul.top-ul li.top-li').hover(function() {
jQuery(this).animate({height:"150px"},200);
jQuery(this).find('div').animate...
im trying to load more data(like pagintaion) using jquery. my ajax is working, but jquery is not displaying the data the way i want it, this is my code,
jquery file:
$(function () {
//More Button
$('.more').live("click", function () {
var ID = $(this).attr("id");
if (ID) {
$("#more" + ID).html('<img ...
Looking for the best and most simple way to embed and style the data returned from a JSON call, on another web page. Ideally I would like to do this with some sort of simple embed code that someone can place on there page. If not I would like to provide some php code (perhaps along with some css and jquiry) that would allow the user to s...
What is the meaning of this selector: $("#someID > * *")
I know that > means child nodes and * means all nodes, but I'm confused by the two asterisks. Any ideas?
...
Given:
jQuery.extend({
fooBar: function(){ return 'baz'; }
});
does it modify the base jQuery object?
so afterwards you can call jQuery.fooBar(); // 'baz'
There's nothing in the documentation, but that's what the source does as far as I can tell.
...