Hi all,
I'm having some jQuery UI problems.
Here's the basic scenerio:
I would like to drag something from 1 place to another- dropping it in the other place.
I have three states: Toolbox (where the element starts), Limbo (where the element lives when its moving), and DropArea (where the element will end up if its dropped inside th...
i am using following code
var $albumcover = $('#albumcover');
<br>
$albumcover.droppable({
<br>
accept: '#trash2 li',
<br>
activeClass: 'ui-state-highlight',
drop: function(ev, ui) {
<br>
$(this).append($(ui.draggable).clone().attr('alt', 'nat'));
<br>
$(this).find('img').css('width','100px');
<br>
$(this).find('img').css('height','10...
Hi All,
I am displaying a overlay on click of a row in the table. The over lay is a div
in the same page. This is working perfectly fine. But now my requirement is like if
i click on row 1 it should display the row 1 and if row 2 is clicked it should
display the row 2 and so on. But the problem is i can know the row clicked from t...
Anybody out there who have tried to use JQGrid a Jquery plugin with django?
Please share your knowledge/code samples
Gath
...
Hi All,
Can anyone tell em how can call a function with parameters on a dialog and call that same function from somwhere else also.
function showEditDialog(TagDivId, id, type, bFlag)
{
try
{
stickyinfo = new Array();
jQuery('#'+TagDivId).dialog({
autoOpen: false,
height : 535,
width:320,
modal...
How to add column on all rows (including header row) using jquery. The added column will be the first column.
...
Hey,
I have a graph showing a persons races times (if you copy/paste the code below into any of the flot examples it should work). I'm showing the time on the y1 axis and the pace per km on the y2 axis, since they are both times %H/%M/%S. But i'd also like to show the distance for each race within the graph. Since the units on this data...
I am trying to explore any possible coding option that I can use to simplify my code or have a better flexibility on writing the code.
If I have this element nest..
<table>
<tr><td></td><td></td></tr>
<tr><td></td><td></td></tr>
<tr><td></td><td></td></tr>
<tr><td></td><td></td></tr>
</table>
if I want to write text on fir...
i am having one div, which contains one table. i want to apply the table-width to div element.
My table cells having padding 5, so table width is not correct in IE browser, while the mozila the sample code works.
...
Hello,
I'm using jQuery ThickBox plugin (http://jquery.com/demo/thickbox/). I have been concentrating on functionality so far and I have got it working exactly the way I want.
What I want to do now is to style the box so it has round corners. To make it more difficult, I would like the round corners to be transparent, so the background...
Hi,
My ajaxForm request is not working properly in Safari and Chrome. Instead of getting the response from php file it opens it as a new page. (Works fine in FF, IE, Opera):
$('#my_form').ajaxForm({
success: finished
});
function finished(responseText, statusText) {
...
}
Thanks for your help!
...
I am using python-visualization library for computing the datasource.
I tried to put more than one visualization in a single page. Both are line charts and data comes from a seperate URLs for each visualizations.
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript" src="/site...
I'm using jQuery to listen to DOMSubtreeModified event, and then execute a function. What I need is a way to only run a function once per event burst. So in this case, the event will only run after 1 second, and again after 3 seconds. What is the best way to do this?
jQuery
$(function(){
setTimeout(function(){
$('#container')[0].i...
I'm extremely frustrated, I can't figure out what I'm doing wrong with this slider. How I have done it looks exactly the same as how the example page does it, except the example page is working, and mine isn't. I know the script is at least running because it creates some extra <li> tags with the class 'cloned', but nothing is moving.
F...
I tried $.isshown() but there is not this function
...
I would like to change the text that appears in the ThickBox in the top panel. Right now it looks like this (HTML from Firebug):
http://test2.richardknop.com/thickbox.jpg
So I would like to change this part of the HTML:
<div id="TB_closeAjaxWindow">
<a id="TB_closeWindowButton" title="Close" href="#">close</a>
or Esc Key
</div>
To f...
I need some help here:
I am writing code to redirect a user to a different page and execute some code, if the user closes the window while he is working on something:
<script type="text/javascript">
window.onbeforeunload = function() {
location.assign('http://www.somesite.com');
return "go?";
}
</script>
N...
I have the following HTML:
<form id="test">
<input type="radio" value="A" name="C1"/>
<a href="javascript:selectCheckbox('C1', 'A');"> OPTION-A </a>
<input type="radio" value="B" name="C1"/>
<a href="javascript:selectCheckbox('C1', 'B');"> OPTION-B </a>
<input type="radio" value="C" name="C1"/>
<a href="javascript:selectChe...
Hello,
I have some input (text type). I'd like to the same behavior for all except for one.
I tried this :
$(document).ready(function() {
$("input[type=text]").bind('keydown', function(e) {
....
});
$("#MyOtherInput").keydown(function(e) {
.....
});
});
MyOtherInput is the input type texte with a specifi...