Hi,
I need help of getting this piece of code to work
1) I want to automatically start a media player when a pop-up is open, by changing is URL params, that the pop-up has
2) When the user clicks on on the link I want to replace the old URL with the one the new one clicked. Try using location.replace just ends up being a constant loop...
I am using jQuery 1.4.1 .
a = $('#hello')
.animate({height: '100px'});
a.hide();
Above code does not hide the element. I know the solution. The solution is
a.animate({height: 'hide'});
However I am interested in finding out what does animate do to the elements which makes them not respond to hide. I looked into the sourc...
I am trying to use jQuery Fancybox to popup a youtube video from a website. I have followed the instructions from the fancybox.net site, but no joy, the video simply appears inline.
I have all the .js files in place, the .css file in place, but as you can see here: http://www.rouviere.com/~idp2/ideaPeople.html clicking on the image only...
I'm using QueryLoader (jquery) to preload images for my site and that works great! Is there a way to check if the images were already loaded before or cached so I can skip the animation? It seems like overkill.
Something like
setTimeout(function () { if image loaded else trigger animation }, 1000);
link to page
http://www.gayades...
Is order of elements returned from query supposed to match order of elements in document in 1.3.2 version of jQuery. I am doing following select from unordered list.
$el.parents('li')
and it is returning it in reversed order, from bottom up.
$el is three levels deep "li".
I understand that it walks the tree up, but this http://docs....
Hi guys, trying to set up a nice drag and drop save to database page.
It also should be able to delete the lines, I've used a list (ul/li). And all works fine, but as soon as the load action has done it's job, the "$("#menuList > li > .remove").click" won't work anymore. The rest of the actions work, drag & drop, serialize for oder, writ...
Hi. I am working on a website that requires a btn that removes the entire middle section when clicked to reveal a nice 100% background image. I have set up a standard HTML btn with an id of show-background and I also a div with an id of content-area. My jQuery code looks like this:
$("a#show-background").click(function () {
$("div#c...
I've looked at the documentation but I've been unable to find an answer. Is there a way to prevent a row from being highlighted when selected? That or even a way to stop the row being selected at all. I like the "hoverrows: true" option, but ideally I would like to stop a row from being selected on-click.
Thanks,
Update:
I've been...
So let's say I have a red square image that turns green when the mouse goes over it, and it turns back to red when the mouse leaves the square. I then made a menu sort of thing with it so that when I hover on the square, it turns green and a rectangle appears below it.
What I want to happen is this: After the rectangle appears and I mo...
I have recently been running into alot of my clients coming to me in the last month asking me to update their Copyright on their sites to reflect 2010.
Is it possible to write a small snippet with jQuery that automatically populated the year? When Jan 1st 2011 rolls around, the text would automatically change from 2010 to 2011?
Thanks....
There's a similar question on stackoverflow, but I wanted to ask it again because ColdFusion is different than PHP.
I have two select lists, the second one is populated from the first.
<cfparam name="form.MajorID" default="0">
<cfform name="myForm" preservedata="yes">
<cfselect name="MajorID" query="qryMajor" display="MajorDisplay" valu...
Found this great article on using jquery for image swapping:
http://jquery-howto.blogspot.com/2009/05/replacing-images-at-time-intervals.html
How do you suggest I hyperlink the images?
...
Hi,
I'm looking for a way to submit information captured in a JQuery Dialog to the server in ASP.Net. I originally thought it would work with a 'hidden' asp button, but the click doesn't seem to be submitting the form. Here's the code I have so far:
<script type="text/javascript">
jQuery(document).ready(function() {
var dlg = jQ...
I am trying to figure out the most efficient way to find my element. Following i smy structure:
<div class="a" customattrib="2">
in order to find this element can I do something like :
$("div.a [customattrib='2']")
This does not seem to work, is there another way to do this?
Without the class I am able to get the value but I do no...
I am currently implementing a registration form and doing the username availability checking using jquery and php.
In this case where the user_availability.php is in same folder as the registration from, it is easy to specify like the following to retrieve the function in the page.
$.post("user_availability.php",{ user_name:$(this).val...
Is the same as installing any other wordpress plugins?
...
I'm working on a modal comment system using jQuery and jQuery UI, but I'm having some issues with focus. I have a series of divs inside the modal to switch between Login and Add comment, as below:
<div id="modal" title="Loading">
<div id="modalContent"></div>
<div id="modalLogin">
<div class="loginBox"></div>
<div class="addComm...
Hello all,
I am about to start a task where I will have a grid of checkboxes which will allow users to select all of the checkboxes, some of them or none of them. I will also add a few conditionals where you can select a checkbox if you have selected the one above it directly and deselect them if the checkbox above has been selected.
B...
So the problem im having is changing my #scroll top:value with the pixel (px) extension.
#container {
height:100px;
overflow:hidden;
}
#scroll {
position:relative;
top:0px;
}
<div id="container">
<p>
<a id="up">Up</a>
</p>
<div id="scroll">up down blah</div>
</div>
$(function(){
$("#up").hover(function(){
var topVal = $(...
Hi, i've got a galleria gallery set up.
Galleria
How do you set the initial image, the one that is displayed when you load the page.
I tried setting a li.active, and running $.gallleria.next() but no avail.
any ideas ?
Thanks in advance.
...