Change Width, Height
$('#iframe').css('width',$('#Blog1').css('width'));
$('#iframe').width($('#Blog1').width()-30);
var color = $( this ).css( "background-color" );
$( this ).css( "color", "red" );
Check/Set checkbox
$(selector).is(':checked')
$("#ans").attr('checked')
$(".ibtn").attr("checked", "checked");
screen.width
http://stackoverflow.com/questions/1091540/how-to-get-screen-resolution-of-visitor-in-javascript-and-or-php
var browserWidth = $(window).width();
var browserHeight = $(window).height();
$('.column-left-inner').remove();
$('.column-center-outer').css('margin-left', $('.column-center-outer').position().left*-1)
$('#iframe').css('width',$('#Blog1').css('width'));
$('#iframe').width($('#Blog1').width()-30);
var color = $( this ).css( "background-color" );
$( this ).css( "color", "red" );
Check/Set checkbox
$(selector).is(':checked')
$("#ans").attr('checked')
$(".ibtn").attr("checked", "checked");
screen.width
http://stackoverflow.com/questions/1091540/how-to-get-screen-resolution-of-visitor-in-javascript-and-or-php
var browserWidth = $(window).width();
var browserHeight = $(window).height();
$('.column-left-inner').remove();
$('.column-center-outer').css('margin-left', $('.column-center-outer').position().left*-1)
No comments:
Post a Comment