I have been struggling with this for days and I'm getting fed up :(
I hope someone can figure this out?
Ive got a set of divs (systems/blocks) each has a header h2 and a child div.
Each child div (sub systems) each has a header h3 and a child div with some links.
When I click on systemHeader I want to toggle only the subSystems div.
Whe...
Hi!
I've a table that is very large. So I decided to put a horizontal scrollbar that is placed on the bottom of the table.
But I would like this scrollbar to be also on top on the table.
What I have in the template is this:
<div style="overflow:auto; width:100%; height:130%">
<table id="data" style="width:100%">
Is this possible to ...
Hi all,
hope you can help me solving my problem.
These two images are linked somewhere on a site.
<a href="?FRUIT=banana><img height="40" src="../../banana.jpg?format=raw" title="Banana - yellow"></a>
<a href="?FRUIT=apple><img height="40" src="../../apple.jpg?format=raw" title="Apple - green"></a>
I want to border them to start wri...
I'm trying to create a Regex with jQuery so it will search for two words in an attribute of an XML file.
Can someone tell me how to return a result that contains BOTH words (sport and favorite) in any order and any case (upper or lower case)?
var regex = new RegExp("sport favorite", 'i');
var $result = $(data).filter(function() {
...
Hi
javascript/jquery:
$(document).ready(function(){
$("a").click(function(e){
var nr = $(this).attr("href").substr(2,3);
var filename = "images/galerie/martina-flatau"+nr+".png";
e.preventDefault();
$('#mainview').fadeOut(function() {
var image = $('<img />').attr('src', filename);
image.loa...
I've got a checkbox:
<td class="checkbox">
<input type="checkbox"
value="100"
id="chkbox_100"
name="chkbox[]"
class="chkbox_selector"
disabled="">
</td>
I've got some jQuery:
$(':checkbox').each(function(){
$(this).dblclick(function(e){
$(...
I'm trying to implement some basic ajax functionality in website I'm creating. I'm using the Flask microframework and jQuery to do this. I have a lot of experience with python, what Flask is written in, but very little with javascript. This would be why I decided to use jQuery. ;) There is a nice example included with the Flask documen...
Firstly both the parent page and the iframe are hosted on the same server (my localhost on WAMP) so same origin policy should not be an issue here.
I can't get the trigger to work. My iframe has the id of iframe.
$(window).load(function(){
//iframe ad hovers
$('#iframe').contents().find('body div').click(function(){
alert('do s...
Suppose, I have a js file which looks like this:
$(document).ready(function() { // first task} );
$(document).ready(function() { // second task } );
$(document).ready(function() { // third task } );
Upon loading the file the tasks get executed in order. I am not able to understand why ?
I'm guessing that the callback methods are fire...
How can you create a grid but not load any data?
If I omit the url option then the loadError callback is triggered.
Currently we set url:NoData.json where NoData.json is a static file with no rows in it.
Issue is in our loadComplete callback we'd like to dipslay a message if the grid contains no data - except we don't want to display ...
Hi,
I'm trying to validate a celledit with
,editrules: {
custom: true
,custom_func: myCustomFunc
}
But when error message is accepted, focus gone to another cell.
How can retain focus on the invalid cell?
Thanks in advance :-)
...
How can you add custom properties to a grid?
The properties would not be used by jqGrid itself. It's more of meta data which would be used by our custom code.
For example, we want a custom property to identify if the grid appears on our 'main page'. This property would be read by some of our common functions which would handle certai...
Recently notice that all fade related content is breaking in Chrome with the error Property "undefined" of object is not a function.
Can anyone by looking at this error thrown in Chrome tell me what is the problem?
Uncaught TypeError: Property 'undefined' of object # is not a function:
swingpublic/javascripts/jquery/jquery.easing-1.3....
Hey guys,
I'm making something really generic - just a collapsible menu list, actually i'm trying to emulate the wordpress admin menus. For some reason beyond my understanding, I manage to get slideToggle to slide open the menus, but they don't close back when I click on the toggle anchor again. This is the jquery:
$(document).ready...
How do I tell me .HTML file to link the jquery .js file I downloaded?
<html>
<head>
</head>
<body>
<a href="#">Test</a>
</body>
</html>
Also, this script for example, where would it go in my .HTML?
$(function(){
$(".someClass").tipTip();
});
...
I have some HTML setup like this:
<div>
<label for="amount"><a id="amount-help-icon" class="help icon-link" href="#"><span class="ui-icon ui-icon-help"></span></a> Amount:</label>
<input id="amount" class="inputText" type="text" value="" maxlength="100" size="10" name="amount" />
<span class="help">The amount for stuff</span...
So I've been researching and trying to find what the best option is and what works best in all browsers. So the three options I've come up with are Transparent PNG, CSS Opacity, or jQuery fadeTo();.
Any thoughts on what's the best way to go? Thanks!
...
i am trying to resize a image by 50% how would i be able to do that can some one lead me the the right path please
Thank You
...
I'm using this jQuery tooltip: http://code.drewwilson.com/entry/tiptip-jquery-plugin and when using it it's not showing the black background or the arrow that should point. Here is the folder with the file I have and the html code:
<html>
<head>
<link rel="stylesheet" type="text/css" href="tipTip.css" />
<script sr...
HI al
I'm trying to allow a kind of 'toggle' state on a bunch of image elements, whereby they have
a rollover,
an onclick image change and
List item
an ID change when clicked.
That much I can do, but I can't get them to revert when they are clicked a second time (i.e. returning to the original image, with the rollover re-instate...