How can the scrollbar be hidden? I want to do this because the scrollbar is not nice.
overflow:hidden is not useful, because my div element has many other elements.
So setting overflow does not solve my problem.
...
Hi guys,
i've no idea how i can set properties for an iframe that's positioned 300px from the top, but should reach ALWAYS the bottom!
So at the moment i've set the height of the iframe to 500px. The height should dynamically change when i resize the browserwindow. The iframe should start 300px from the top and should always reach the b...
Hi guys,
I have this piece of code in javascript:
var catId = $.getURLParam("category");
In my asp.net and c# code for "category" query string i use a public const:
public const string CATEGORY = "category";
so if i want to change the query string parameter to be "categoryTest" i only change this const and all the code is updated...
If i use some really simple code like :
$('#elm').tipTip();
It will do what the plugin is intended for. Is there a way to destroy this binding to the plugin tipTip() will no long bind itself to this element?
UPDATE
The reason is, it's not that I want to stop the tips from popping up, I have one main data div that the user sees, and ...
Running a validation on my pages where I used jQuery gives me lots of errors..
I escaped the closing tags but keep getting errors.
<script type="text/javascript">
$(document).ready(function() {
$("#main").html('<p>hello world<\/p>');
});
</script>
...
Hi,
i'm loading, using the JQuery ajax() method, an external page with both html and javascript code:
<script type="text/javascript" src="myfile.js"></script>
<p>This is some HTML</p>
<script type="text/javascript">
alert("This is inline JS");
</script>
and setting the results into a div element, using the html() method.
While ...
Hi
I'm having a problem trying to format the output on the jQuery UI datepicker.
I want the dateformat to be the 'ISO 8601' format, like explained here:
http://jqueryui.com/demos/datepicker/#date-formats
This is what my code looks like:
$.datepicker.setDefaults($.datepicker.regional['nl']);
$('.datepicker').datepicker('option', {dat...
Hi,
I am trying to create a css menu. I would like to remove border and padding for every last
li > a element on the child ul tag. (sorry for confusing)
Here is the code for the menu
<ul id="nav">
<li><a id="cat1" href="#">Menu 1</a></li>
<li><a id="cat2" href="#">Menu 2</a></li>
<li><a ...
i have this code
$(document).ready(function() {
$("#test-list").sortable({
items: "> li",
handle : '.handle',
axis: 'y',
opacity: 0.6,
update : function () {
var order = $('#test-list').sortable('serialize');
$("#info").load("process-sortable.asp?"+order+"&id=catid&orde...
Hii ,
I have a small php form. I need it to come in a pop up(dialog) when a user clicks a link .how do i do this using jquery .
...
I've got a jPicker installed and running fine; its a pretty sweet script.
However, the value it returns to my input box is 8 digit hex. I need it to return 6 digit hex.
Rather than post-process the 8 digit into 6, I'd rather just hack into the script and force 6 digit. Alternately, I'd be ok with hooking into the change event of the jP...
Hi all!
I have a page that is using jQuery tabs. Within one of my tabs I have a div that contains a form (initially hidden) that I want to use to add content to the tab. What I have works perfectly in Chrome, Firefox, and Safari. But, in IE 7 the tab will not refresh. The post works and the data gets added to the database, but it si...
EDIT : Per Slaks
$j('#banner-content img').each(function() {
var link = $j('#page-tabs li a.' + $j(this).attr('class'));
if ($j(this).is(':visible')) {
link.addClass('active');
} else {
link.removeClass('active');
}
});
ORIGINAL POST
I have a banner that rotates a series of three images. The active...
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script>
<script type="text/jscript">
$('document').ready(function (){
var clickNo=0;
$('div#pics>img').hide()
$('div#pics>input').click(function(event){
$('div#pics>img')[0].show('slow...
Is there an easy and straight-forward method to select elements based on their data attribute? For example, select all anchors that has data attribute named customerID which has value of 22. I am kind of hesitant to use rel or other attributes to store such information, but I find it much harder to select an element based on what data ...
I've got a div in my app that is displayed each time my theme options panel is saved.
The markup is...
<form method="post">
<?php
if ( $_REQUEST['saved']) { ?>
<div id="message" class="updated fade"><p>Sweet! The settings were saved :)</p></div>
<script type="text/javascript"> $('#message').delay(3000).fadeOut(3000);</script>
<?php }?...
I'm using the jQuery droppable/dragable to reorder a treeview (made up of ul/li items)
I have no problems making a element and dragging it into the tree
When I define the items to be draggable, the code doesn´t work any more (the items are classed as "droppables" but the drop event won´t run)
Isn't this supposed to be possible?
...
Ok so i have a json array like this
{"forum":[{"id":"1","created":"2010-03-19 ","updated":"2010-03-19 ","user_id":"1","vanity":"gamers","displayname":"gamers","private":"0","description":"All things gaming","count_followers":"62","count_members":"0","count_messages":"5","count_badges":"0","top_badges":"","category_id":"5","logo":"gamer...
Hi. I have been working on a jQuery photo slideshow. It scales the images to the browser size, and slides them left and right. There is no pre-determined size or aspect ratio, the script does everything on the fly. It requires that all images be fully loaded, so it can custom resize each individual image based on it's own aspect rati...
I'd like to be able to use jQuery to trigger an event if the mouse has been stationary for a certain amount of time.
Any ideas? I'm not even sure where to start!
...