Hi guys!
I have a small problem with how should i think a... problem. I want to do something somehow similar with this: when you move mouse near to the edges, you will see images scrolling faster than how is scrolling when you have the mouse in the midle of the DIV.
Don't know if i explained right, but ... i don't know how to tackle th...
$('div.box').html("hello")
puts the word hello inside all my div's of class 'box'. They all have an assigned id.
I'm trying to figure out how to put each div's id instead of 'hello' inside the div. Maybe this is really easy, but I can't figure it out. I'm also new to jQuery. Any ideas? I've tried:
$("div.box").html("id: " + $(th...
I have a div on an ASP.NET MVC page that I would like to populate dynamically (at user request) using jQuery. I currently have jQuery placing a JSON call to my controller, which returns a JSON object, and then I use Javascript to build the HTML manually, which is then placed in the div.
Hang on a minute. Wouldn't it be much easier to ...
or do I just use jquery.ui.js?
...
Hi all.
When I dynamically load content into a div and fadeIn (or show or slideDown), the fonts don't look very clear in IE. The fonts of the preloaded contents look just fine, however.
I hove noticed this happening with scriptaculous in IE also.
Does anyone have any ideas?
No problems in Firefox.
Thanks!
...
How do you get the rendered height of an element?
Lets say you have a <div> element with some content inside. This content inside is going to stretch the height of the <div>. How do you get the "rendered" height when you haven't explicitly set the height. Obviously, I tried:
var h = document.getElementById('someDiv').style.height;
...
Hi, I have this code that dynamically slides up a Div over an image when mouse over it. It works perfectly in Firefox and Google Chrome, but in Internet Explorer 7 everything runs really slow and nothing happen.
The jquery code is this:
jQuery.fn.masque = function(class) {
$(this).hover(function(){
$(this).find(class).stop().animate...
I am new to JQuery but I've started by making a list creator essentially. I have an empty list and an input field and a link for the user to add elements to the list. When I add something, I would like it to be hidden at first and then show up dynamically using JQuery. Currently, it adds it to the list but it sets the display: block inst...
Hi all.
What is the best way to catch a < select > change event? I have a form that has different input elements but I want to trigger an event only in the case of a < select > change. I don't want to use the ID since there are a lot of selects on the form.
Many thanks in advance!
...
Hi,
I'm looking at this .js file and the jquery looks like:
$.fn.redirect
$.redirect
$.request
or
(function($){$.log=function(message){if(window.console){if(window.console.debug)
window.console.debug(message);else if(window.console.log)
window.console.log(message);}
else
alert(message);};
Are these built-in jQuery methods or is it...
Hi,
YUI has a nice way of creating a namespace for your methods etc. in javascript.
Does jQuery have anything similiar?
...
Hi,
My DOM looks like this:
<li id="li1">
<div class="c1"></div>
</li>
<li id="li2">
<div class="c1"></div>
</li>
Using jQuery, if the first is clicked, I want the inner to be hidden.
...
Hi,
I know how to show/hide, or fadeIn/out in jquery, but is there a built in way to toggle between show/hide or fadein/out or do I have first look if the element is display:none, if yes then show otherwise hide?
...
How can I use jquery to remove a SPECIFIC div that has no children (at least no children that isn't whitespace). E.g.
<div id="outer">
some content
<div id="removeme">
</div>
some more content
</div>
Want to completely remove the div with id="removeme".
...
Dear all,
I am using simplemodal in jQuery. I used Ajax for displaying radio buttons.
It should list the radio button and values, after the radio button click
the page to be Redirected to page2.
When I tested it on localhost everything was fine. But it doesn't redirect
the page on the web server.
Any change I should make?
My code:
...
Hi, I'm trying to create a resizable div without using jQuery's interface library.
var myY = 0;
var mouseDown = false;
var originalHeight = 0;
function resize(e){
if(mouseDown == true){
$("#cooldiv").height(originalHeight+e.pageY-myY);
}
}
$(document).ready(function(){
$().mouseup(function(e){
myY = 0;
mouseDown = ...
This is going to be hard to explain but I'll try my best.
I have a page with 3 divs each containing information and an order button for each product. The visitor can click on a product image and it will basically hide all the divs and then show the one related to the image they have clicked on.
I have a sidebar which is running globall...
Scenario: I have a Javascript-generated web page that someone else wrote a long time ago that I'd like to pretty up using jQuery. My goal is to clean up the Javascript generated html that someone else produces just by using some jQuery calls against that HTML, after it has been generated.
This will be much simpler than modifying the ot...
My company has purchased a product that renders an ASP.NET control on the page. This control uses jQuery 1.2.3 and adds a script tag to the page to reference it. The developers of the control will not support use of the control if it modified in any way (including modification to reference a different version of jQuery).
I'm about to st...
Hi guys,
Using an update panel in ASP.NET and with the help of a good tutorial on ListView from Matt Berseth I accomplished the image below.
The behavior is, when I click the BOLD names, the rows below that name with numbers are collapsed.
Getting the DATA:
This is a SDK WebService that I cannot change, and with it I get the bold n...