/ Published in: HTML
this thing works except of course for IE which makes the bold text make a little jump like effect in the end. If anyone has a solution please let me know :)
cheers!
Johanna
cheers!
Johanna
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <link type="text/css" rel="stylesheet" href="css/style1.css" /> <!-- I would normally place this javascript in an external file same is for the inline css --> <script type="text/javascript"> $(document).ready(function() { $('.boldtext').css('display','none').fadeIn(1500); $('.boldtext2').css('display','none').delay(500).fadeIn(1500); }); </script> </head> <body> <div style="height:40em;width: 40em;border: 1px solid #cccccc; margin:0 auto;"> <div class="boldtext boldi" style="font-weight:bold;"> </div> <div class="boldtext2" style="font-weight: bold; background:white;"> </div> <p> so in a nutshell, the last split second in IE is far from fluid is there a way to fix that? </p> </div> </body>