Hi there,
If someone could help with a jscript issue I'd be very grateful! I have two scripts for different sections of the page which I'm placing in the head, but are in conflict on the same page and just can't seem to get them to work together. Both are as follows:
<script type="text/javascript">
jQuery.noConflict();
function update...
Hi I am trying to write a script in Jquery that auto selects the current page link in the main nav. The nav is just a simple UL like this:
<ul id="primaryNav">
<li>
<a href="retail.html">Home</a>
</li>
<li>
<a href="vision.html">Our Vision</a>
</li>
<li>
<a href="context.html">Town in context<...
Hope someone can help. I have the code below which when the user hovers over the name the image and text in the div on the right changes.
How can I delay the hover so that when the user swipes across the page it doesnt change the content quickly... if that makes sense
<head>
<script type='text/javascript' src='http://code.jquery.com/...
Why $('a.current').removeClass('current'); is not working for this jquery tabs?
http://jsfiddle.net/laukstein/ytnw9/8/
//full JS in http://jsfiddle.net/laukstein/ytnw9/8/
$(function(){
var list=$('#list'),
elementsPerRow=-1,
loop=true,
// find first image y-offset to find the number of images per row
topOffset=lis...
Hello:
I have a "main" window with a table containing a series of form text fields with ids that increment (e.g., field_1, field_2 ... field_n). I need to populate the value of these fields from selections a user makes from a child window that has a list of about 1400 choices. This is done via an "Add" button with an onclick that passe...
I have a DIV defined with a fixed height. Like this:
.w {
height: 100px;
overflow: hidden;
}
if I put text in this it will hide everything that goes beyond the 100px. I have a button that shows all text, basically it does this:
$('.w').height('auto');
this will make all text visible, but I would like to animate this. And that won...
I want to update a current ASP.NET webforms e-commerce site with a nice one-page checkout and I'm looking for some "best practice" on how to update the data. The page will consist of several parts: the cart, user identification, payment options, delivery options etc.
If the user changes the payment option this might result in changes in...
I can currently using:
$results.find('a[href$=".doc"]')
to find anything ending with .doc for editing reasons. However, this seems to be case sensitive, i.e. if a document ends with .DOC or .Doc, it will not find those. Is it possible to make this non case sensitive?
...
How to write a jquery selector to match an element has attribute a or attribute b. It must match three elements below
<a a="123" b="345"></a>
<a a="123"></a>
<a b="345"></a>
...
I want to pre-cache next web page into a thumbnail. Is it possible to pre-render a html page (with css) into an image on-the-fly with javascript/jQuery? And how to persist that temporary image on the client?
...
I have div with id=”content”
The div may contain a lot of
<input id="chkboxtag1" type="checkbox" value="1"/>
Div may contain ul tag. This ul may also contain check boxes. The div may contain divs or ul, it may also contain checkboxes.
Is there any chance that I get values of all checked check boxes inside the div (not necessarily i...
I have the following iframe control (intended to be a facebook like button):
<iframe id="likeButton"
src="http://www.facebook.com/plugins/like.php?href="
scrolling="no"
frameborder="0"
style="border:none; overflow:hidden;
width:450px; height:80px;"
onprerender="setupLink()"
</iframe>
I have the java...
We have events that span single day on fullcalendar.
How many single day events can be show without causing performance problem on typical user browser -- Is it 100 / 150 / 200 - more ?
Related events are grouped together, and are shown/hidden using a list of checkboxes one for each group. Each group typically contains 10-15 events.
...
How to validate a email address field with three rules with three customized messages in the div container.
ie.
rules: {
email: {
validationRule: true,
email: true,
remote: '/ajax/emailDuplicationCheck.php'
}
}
if first one false message should be "validation rule failed"
if second one false(...
How can I gram the nested element "4"?
I tried
var nights = $("div.nights h5 div.num").val();
and
var nights = $("div.nights > h5 > div.num").val();
example
<div class="nights">
<h5 class="biguns">
<div class="num">4</div>
Nights
</h5>
</div>
...
How would I make the following case insensitive?
if ($(this).attr("href").match(/\.exe$/))
{
// do something
}
...
Forcing focus() on an element is easy, but after having debug issues, I realize trying to determine where is my focus gone is a lot harder.
thing is I'm generating a modal window using jq.UI, and from time to time, while focus is supposed to be set on first input of the form inckuded in the modal, cursor just disappears, to never show ag...
Hello,
I am trying to get my menu system to read a cookie to it can remember the menu state. once remembered the menu would stayopen/close depending on the cookie.
using alert in the javascript ive been able to read the cookie before and after clicks but sadly I cannot get the if statement correct in order to keep open/close the hidden...
I use jquerylive plugin to add additional css classes to .field-validation-error class like this:
$(".field-validation-error").livequery(function () {
$(this).addClass('ui-state-error ui-corner-all');
});
when I get some spans with this class generated by jquery.validate the above code works, but at 2nd validation it doesn't.
h...
So I got JWplayer 5.3 up and running with this HTML:
<!-- START OF THE PLAYER EMBEDDING TO COPY-PASTE -->
<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="720" height="480">
<param name="movie" value="player.swf" />
<param name="allowfullscreen" value="true" />
<param name="all...