Chirurgia spinală minim invazivă
Chirurgia spinală minim invazivă oferă pacienților oportunitatea unui tratament eficient, permițându-le o recuperare ultra rapidă și nu în ultimul rând minimizând leziunile induse chirurgical. Echipa noastră utilizează un spectru larg de tehnici minim invazive, din care enumerăm câteva: endoscopia cu variantele ei (transnazală, transtoracică, transmusculară, etc), microscopul operator, abordurile trans tubulare și nu în ultimul rând infiltrațiile la toate nivelurile coloanei vertebrale. www.neurohope.ro |
problema floating / DHTML
Last Updated: Oct 02 2005 15:59, Started by
unicode0161
, Oct 02 2005 15:59
·
0
#1
Posted 02 October 2005 - 15:59
<!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> <title>DHTML / floating div problem</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type="text/css"> body { margin: 0px; padding-top: 50px; } #toolbar { background: black; color: white; position: fixed; width: 98%; left: 1%; top: 0px; height: 50px; } #toolbar #home { width: 25px; height: 25px; position: relative; background: red; float: left; top: 10px; left: 10px; } </style> <script language="javascript" type="text/javascript"> function init() { setInterval(showSmoothly,100); } function showSmoothly() { bar = document.getElementById('toolbar'); //_debug(bar.offsetHeight); height = bar.style.height; if(height)//alternative: use bar.offsetHeight instead height = parseInt(height); else height = 0; if(height >= 50) return; _debug(height); height += 4; bar.style.height = height + 'px'; } function _debug(argv) { o = document.getElementById('_devel'); o.value = argv + "\n" + o.value; } window.addEventListener('load',init,true); </script> </head> <body> <div id="toolbar"> <span id="home"></span> </div> <textarea name="_devel" cols="80" rows="20" id="_devel"></textarea> <br />hello world out there <br />hello world out there </body> </html>cod testat cu Gecko (FF v.1.0.6) problema mea este evidenta, vreau ca acel patrat rosu (viitor buton) sa apara in acelasi timp cu toolbar-ul si caut o solutie "curata", legata doar de CSS, nu cu alte "workarounds". Mersi mult |
Anunturi
▶ 0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users