I have an animated rating bar which changes width when you mouse over it.
I tried to write a explanation of the problem, but I think it is far easier to have a look at the link.
Essentially I am having trouble centering a div as the children div's change size when the mouse is hovered over them. I have tried animating the width of the ...
I have a div which could potentially have a hyperlink with an id of reply. How can I check if that a[id=reply] exists? I thought it might be something like this but it alerts the message even if that hyperlink does not exist. Thanks in advance for any help
if($('div[chunk_id='+reply_chunk_id+']').children('a[id=reply]')){ ...
$('area').qtip({
content: $('#whatever-this-area-tags-alt-is'),
position: {
my: 'top left',
at: 'middle'
},
show: { delay: 0 },
hide: { delay: 200 }
});
I'd like to set content ID to whatever the current area's alt is.
Thanks!
...
Hi!
I have a page, with a navigationbar that loads content, from another page, into a content-div, when a navigation item is clicked.
The content from the other page contains a variety of different divs. One of these divs has the style display: none. This div is on top of another div. When I .mouseenter() on the div that is below the h...
$('<span class="pictos">j</span>').prependTo('li');
...
I'm building an ASP.NET MVC site where I need a tag editor, similar to the one used on Stack Overflow. I've already looked up how to accomplish the necessary autocompletion with jQuery UI, but I've run into a problem: when I place the script in an external .js file, it doesn't execute.
Here is my test.html:
<html>
<head>
<meta ch...
We need to capture user input for searching within a certain distance:-
a) find hotels within a 10 km radius
b) find pizza restaurants within a 5 km radius
Looking for suggestions on a suitable UI widget / control to capture distance information
...
How can I match all elements that have a specific attribute that is added at run time?
For example, the code:
$('[onkeydown]')
will successfully match:
<div onkeydown="foo();">
but won't match the following div:
<div id="mydiv">
// ....
<script type="text/javascript">
var element = document.getElementById('mydiv');
element.onkeyd...
I'm trying to parse the following json line in jquery:
[{
"pk": 19,
"model": "films.movies",
"fields": {
"length": "92",
"name": "Beetle Juice",
"actor": "Keaton",
"img_set": [{
"pk": 42,
"model": "films.img",
"fields": {
"uploaded": "2010-10-0...
Is it possible to make a table row expand and collapse? Can anyone refer me to a script or an example? I prefer jquery if possible. I have a drawing concept I would like to achieve:
...
Hi,
I have a page with multiple forms and was wondering if there was any examples showing how to submit the current form you filled in when hitting enter?
Thanks
...
Hi, I am trying to make a Ajax form Submission in Jquery. The form itself is loaded via an Ajax Event
The Form Element looks like this
<form id="create_user form" action="http://127.0.0.1/create_user" method="post">
<p>Name
<input type="text" name="name" value="" id="name"></p>
<p>Employee Number:<br>
<input type="text" name="...
Hi
I'm having a problem with creating a dynamic gallery with php and jQuery.
In simple words, I have got a hundred pictures I want displayed in a nice form (for a photographer's website). Pictures have been optimized, so the whole gallery weights about 10mb.
I am using the galleryView plugin. php is used to take all filenames from the ...
I am slowly learning how to modify and write jQuery from scratch and have been trying to modify some pre-written code, which simply makes an image opacity: 1 and all other images in the same HTML element opacity: 0.2.
When I use fadeTo and I move across the images fast it will stop doing the animation and hang for a while until it fixes...
in my aspx file , i use jquery tabs and i need to change these tabs by pressing ctrl +tab, but as u know this combined key has been used for changing browser tab and i need to make that disable and instead of that, change these jqury tabs
...
I am trying to figure out how to pass my form var's to anothe page..
var login = $('#login').val();
var pass = $('#pass').val();
var data = {
login: login,
pass: pass
};
$.ajax({
type: "POST",
data: data,
url: "page_2.php",
success: function(data)
{
document.location.href = url;
}
});
It do...
I am trying to make an super easy audio player with jQuery.
How would you convert this
<a href="song.mp3">Song</a>
to this?
<object type="application/x-shockwave-flash" data="dewplayer.swf" >
<param name="flashvars" value="mp3=blank.mp3" />
</object>
<a href="song.mp3">Download</a>
So what needs to happen as ...
I'm trying to check if the '#text' (id for a textarea) is empty when I change '#my_selection' (id for a drop-down select) option. And if NOT EMPTY (ie, there's some text in the textarea), I would like the confirmation to pop up, else don't want to change the
'#my_selection'.
Many thanks in advance.
var selected=$('#my_selection').val()...
Hopefully I can be clear on my issue. If you need more clarification on what I mean, please let me know and I'll try to clear up anything I can.
I am currently working on a simple Ruby on Rails project and I want to add some interactivity to my login form. Currently, the login form works fine if you click the Login link which then take...
Note: For marketting analyze, this url is in many other websites (ex: http://mysite.com/marketting ). So user clicks it and comes to my site.
Problem:
But how can i check from where he came from? Did he came from facebook/ or google.com/ stackoverflow.com or wordpress.com or etc.com
How can you find, which link he clicked and reached t...