asp.net - css help, displaying image with div -
edit:
its confirmation div box when user click on save button, typicall see confirming have receivied inqury.
and div box this:
"[image] got email, , should hear within 24 hours."
below code using display div image whats happening that, when page loads see image first , after save image see div msg , image , div disappears (as suppose to)
<div id="divstatus"></div> <style type="text/css"> #divstatus { background:transparent url(../images/ico_confirmation_sml.gif) no-repeat scroll 0 0; padding-left: 22px; min-height: 27px; } scriptmanager.registerclientscriptblock(this, this.gettype(), key, "$(function() { $('#divstatus').html('" + msg + "').show().fadein(800).fadeout(9000); });", true);
i have updated code bit, check demo
#divstatus { background:url("http://www.lancs.ac.uk/~lubbs/images/home.gif") no-repeat; padding-left: 22px; min-height: 27px; display:none; } scriptmanager.registerclientscriptblock(this, this.gettype(), key, "$(function() { $('#divstatus').html('" + msg + "').fadein(800).fadeout(9000); });", true);
Comments
Post a Comment