southbeach
Programmer
OK, I have this
They each are defined in CSS to use
for the life of me, they both come up with the same background and yet, the width and height properties are different.
What gives?
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
Code:
// Dialog Link
$('#dialog_link2').click(function(){
// Dialog
$('#dialog').dialog({
autoOpen: false,
width: 678,
height: 450,
classes: 'dialog-bg'
});
$('#dialog').dialog('open');
$('#name').focus();
return false;
});
// Log In Link
$('#logIn').click(function(){
// Log In
$('#logInPanel').dialog({
autoOpen: false,
width: 458,
height: 250,
classes: "login-dialog-bg"
});
$('#logInPanel').dialog( "open" );
return false;
});
Code:
.dialog-bg {
background-image: url(../../css/ui-lightness/images/dialog_bg.png);
background-repeat: no-repeat;
}
.login-dialog-bg {
background-image: url(../../css/ui-lightness/images/nts_logIn.png);
background-repeat: no-repeat;
}
for the life of me, they both come up with the same background and yet, the width and height properties are different.
What gives?
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.