Search:
Type: Posts; User: trandrus
Search :
Search took 0.01 seconds.
Your function changes all instances of the buttons and is called on each rollover. What you want is to create a generic function that toggles the rollover for each button individually. In your html,...
javascript+vml:
http://www.dillerdesign.com/experiment/DD_roundies/
css+htc:
http://css3pie.com/
I like css+htc solution because I don't have to use javascript to fix presentation.
#footer {
overflow:auto;
white-space:nowrap;
}
You have some major problems, but your idea is clear:
<script type="text/javaScript">
// A Java Script to help calcaluate the inventory age for those who sell their products on Amazon.com that...
If this function runs every time you click on the last tab, then you need to remove the contents of the divs before appending or it will keep adding text nodes:
function copy_facturatie() {
...
another solution is to use height and overflow:
.expMod {
height:30px;
overflow:hidden;
}
it's an ie<9 CSS hack and will target ie 6,7, and 8 (including compatibility mode)
You don't need the extra syntax. W3C spec defines map as using either anchor or area for links (or both), so close it like a normal tag. The rel attribute is not defined for area so in this case...
It looks like IE is breaking on the HTML5 tags. You need to install the HTML5 enabling script since IE<9 doesn't natively support HTML5:
<!--[if lt IE 9]>
<script...
and this will be faster:
function tileCheck() {
var rangeX = [ xmouse, xmouse-25 ];
var rangeY = [ ymouse, ymouse+25 ];
search:
for(var i in tilePosX) {
actually, you'll need both x and y to make it work:
function tileCheck() {
var rangeX = [ xmouse, xmouse-25 ];
var rangeY = [ ymouse, ymouse+25 ];
search:
for(var i in tilePosX) {
whoops
function tileCheck() {
var rangeX = [ xmouse, xmouse-25 ];
for(var i in tilePosX) {
if((rangeX[0] > tilePosX[i]) && (tilePosX[i] > rangeX[1])) {
currentTile = i;...
var inputs = document.forms.qt1.getElementsByTagName('input');
for(var i=0, len=inputs.length; i<len; i++){
inputs[i].value=0;
}
function tileCheck() {
var rangeX = [ xmouse, xmouse-25 ];
for(var i in tilePosX) {
if((rangeX[0] > tilePosX[i]) && (tilePosX[i] > rangeX[1])) {
currentTile = tilePosX[i];...
Works ok for me
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"...
dataString += ($(this).find('input[value|=1]')) ? '0' : '1';
simple mistake :)
Sure.
var opacityFloor = .2;
var fadeOutOffset = .05;
var fadeInOffset = .1;
These are three parameters that allow you to control 1) the opacity level when elements are faded out, 2) the...
can you provide a link to the page or the rendered html?
thanks for the feedback :)
The problem is you cannot measure the height of an invisible div:
endHeight[objname] = parseInt(obj[objname].style.height);
endHeight[objname] will always be undefined. Try this:
function...
<script type="text/javascript">
/******
*Functions used for validating form entries
*/
function valReq(val) {
return (val);
}
$('#bioconfigform .field').each(function() {
dataString += '&'+$(this).find('input').attr('id')+'=';
dataString += ($(this).find('input[val|=1]').is(':checked')) ? '0' : '1';
});
that...
Something like this assuming you want the dataString values to be true for enabled inputs:
<script>
$(document).ready(function() {
$('div.message-error').hide();
...
<script type="text/javascript">
function valReq(val) {
return (val);
}
function valString(val) {
return (isNaN(val));
}
Obtain the x,y coordinates of the link when clicked and open the div at that location.