Jump to content

es131245

Members
  • Posts

    209
  • Joined

  • Last visited

Everything posted by es131245

  1. If height and width is fixed then easy way is to use position center and margin minus half width and height so if you have height:480px and width:640px; use #popupcss a:active span,#popupcss a:focus span {display: block; position: absolute; top:50%;left:50%;margin-top:-240px;margin-left:-320px;} by the wayits not a good idea to use html styling like:align="center" border="1" cellpadding="1" width="100%" border="0" height="159px" width="213px"use css stylish instead
  2. es131245

    css mime type

    I connect to server by ssh.Editing whole sites in ee text editor.Now im making fileshare and file editor on php.File share displays mime types =)I saw 1 strange thing...style.css for my site looks like @charset "UTF-8";@font-face{font-family:YesAllegretto;src:url('/source/fonts/allegretto.ttf'),url('/source/fonts/allegretto.eot');}@font-face{font-family:YesComic;src:url('/source/fonts/comic.ttf'),url('/source/fonts/comic.eot');}@font-face{font-family:YesPalladio;src:url('/source/fonts/palladio.ttf'),url('/source/fonts/palladio.eot');}@font-face{font-family:YesSerif;src:url('/source/fonts/serif.ttf'),url('/source/fonts/serif.eot');}html{background-color:white;height:100%;overflow-y:scroll;width:100%;}body{font-family:YesComic;font-size:18px;height:100%;margin:0;width:100%;}table.page{background-color:white;border-collapse:collapse;height:100%;width:100%;}table.page tr.head td.head{width:100%;padding:0;}table.page tr.head td.head table.head{background-color:#79f;border-radius:5px;height:100%;width:100%;}table.page tr.head td.head table.head tr td.clock{background-color:#8fafff;border:thin solid #9af;border-radius:5px;color:#222;font-size:12px;font-style:italic;font-weight:normal;text-align:center;line-height:20px;text-shadow:0 0 8px white;width:125px;}table.page tr.head td.head table.head tr td.clock span#stamp{display:none;}table.page tr.head td.head table.head tr td.heading{padding-left:125px;text-align:left;}table.page tr.head td.head table.head tr td.heading h1{color:#bdf;font-family:YesSerif;font-size:35px;margin:0;text-shadow:0 0 3px blue;}table.page tr.head td.head table.head tr td.authorization{background-color:#8fafff;border:thin solid #9af;border-radius:5px;color:blue;font-size:18px;font-weight:bold;width:125px;}table.page tr.head td.head table.head tr td.authorization form {margin:0;padding:0;}table.page tr.head td.head table.head tr td.authorization form fieldset {border-style:none;margin:0;padding:0;}table.page tr.head td.head table.head tr td.authorization form fieldset table{empty-cells:hide;}table.page tr.head td.head table.head tr td.authorization form fieldset table tr td{text-align:center;font-size:14px;line-height:0;}table.page tr.head td.head table.head tr td.authorization form fieldset table tr td input.text{background-color:#abc;border-radius:5px;border:thin outset gray;color:green;font-size:12px;font-weight:bold;text-align:center;width:90px;box-shadow:0 0 2px #777,inset 0 0 2px #89a;}table.page tr.head td.head table.head tr td.authorization form fieldset table tr td input.text:hover{background-color:#cdf;border-style:inset;box-shadow:0 0 2px #33f,inset 0 0 3px gray;}table.page tr.head td.head table.head tr td.authorization form fieldset table tr td a img:hover{background-color:#cdf;border-style:inset;box-shadow:0 0 2px #33f,inset 0 0 2px #cde;}table.page tr.head td.head table.head tr td.authorization form fieldset table tr td a img,table.page tr.head td.head table.head tr td form fieldset table tr td input.submit{background-color:#abc;border:thin outset gray;border-radius:5px;vertical-align:bottom;box-shadow:0 0 2px #777,inset 0 0 2px #89a;}table.page tr.head td.head table.head tr td.authorization form fieldset table tr td a img:hover,table.page tr.head td.head table.head tr td.authorization form fieldset table tr td input.submit:hover{background-color:#cdf;border-style:inset;box-shadow:0 0 2px #55f,inset 0 0 2px #cde;}table.page tr.head td.head table.head tr td.authorization form fieldset table tr td p{display:none;}table.page tr.head td.head table.head tr td.authorization table{border-collapse:collapse;height:100%;width:125px;}table.page tr.head td.head table.head tr td.authorization table tr td{line-height:0;}table.page tr.head td.head table.head tr td.authorization table tr td input[readonly][disabled]{background-color:transparent;border-style:none;color:#444;cursor:default;font-weight:600;text-align:center;text-shadow:0 0 3px white;width:90px;}table.page tr.head td.head table.head tr td.authorization table tr td a img{background-color:#afbfcf;border:thin outset gray;border-radius:5px;box-shadow:0 0 2px #555,inset 0 0 2px #89a;}table.page tr.head td.head table.head tr td.authorization table tr td a img:hover{background-color:#cdf;border-style:inset;box-shadow:0 0 2px #33f,inset 0 0 2px #cde;}table.page tr.navigation td.navigation{width:100%;padding:0;}table.page tr.navigation td.navigation table.navigation{background-color:#abf;border-radius:5px;width:100%;}table.page tr.navigation td.navigation table.navigation:hover{background-color:#9af;}table.page tr.navigation td.navigation table.navigation tr td{border-radius:5px;text-align:center;}table.page tr.navigation td.navigation table.navigation tr td:hover{background-color:#bcf;box-shadow:inset 0 0 5px #9af;cursor:pointer;}table.page tr.navigation td.navigation table.navigation tr td.extra{background-color:#2a2;box-shadow:0 0 2px white,inset 0 0 5px white;width:26px;}table.page tr.navigation td.navigation table.navigation tr td.extra ul#extra{background-color:#2a2;border-radius:5px;box-shadow:inset 0 0 5px white;display:none;list-style-type:none;margin:0;margin-left:-107px;padding:0;position:absolute;text-align:center;width:135px;}table.page tr.navigation td.navigation table.navigation tr td.extra:hover ul#extra{display:block;}table.page tr.navigation td.navigation table.navigation tr td.extra ul#extra li a{color:#00f;text-shadow:0 0 5px white,0 0 1px blue;}table.page tr.navigation td.navigation table.navigation tr td.extra ul#extra li:hover a{color:white;text-shadow:0 0 5px blue;}table.page tr.navigation td.navigation table.navigation tr td a{color:#00b;font-family:YesSerif;font-weight:400;text-decoration:none;}table.page tr.navigation td.navigation table.navigation:hover tr td a{text-shadow:0 0 1px blue;}table.page tr.navigation td.navigation table.navigation tr td:hover a{color:white;text-shadow:0 0 5px blue;}table.page tr.navigation td.navigation table.navigation tr td a img{border-style:none;}table.page tr.navigation td.navigation table.navigation.panel{background-color:#a00;border-radius:5px;text-align:center;width:100%;}table.page tr.navigation td.navigation table.navigation.panel:hover{background-color:#900;}table.page tr.navigation td.navigation table.navigation.panel tr td{border-radius:5px;}table.page tr.navigation td.navigation table.navigation.panel tr td:hover{background-color:#f60;}table.page tr.navigation td.navigation table.navigation.panel tr td a{color:#ff0;font-family:YesSerif;font-weight:400;text-decoration:none;}table.page tr.body{height:100%;}table.page tr.body td.body{width:100%;}table.page tr.body td.body table.body{border-radius:5px;height:100%;width:100%;}table.page tr.body td.body table.body tr th{font-size:18px;}table.page tr.body td.body table.body tr td#content{color:black;font-family:YesComic;font-size:15px;padding:25px;}table.page tr.body td.body table.body tr td#content a,table.page tr.body td.body table.body tr td#content a:active,table.page tr.body td.body table.body tr td#content a:link,table.page tr.body td.body table.body tr td#content a:visited{color:blue;text-decoration:none;}table.page tr.body td.body table.body tr td#content a img{border-style:none;}table.page tr.body td.body table.body tr td#content a:hover{text-decoration:underline;}table.page tr.body td.body table.body tr td#content fieldset{border-style:none;}table.page tr.body td.body table.body tr td#content h1,table.page tr.body td.body table.body tr td#content h2,table.page tr.body td.body table.body tr td#content h3,table.page tr.body td.body table.body tr td#content h4,table.page tr.body td.body table.body tr td#content h5,table.page tr.body td.body table.body tr td#content h6{color:black;font-family:YesSerif;}table.page tr.body td.body table.body tr td#content h2{text-indent:250px;}table.page tr.body td.body table.body tr td#content h3{text-indent:200px;}table.page tr.body td.body table.body tr td#content h4{text-indent:150px;}table.page tr.body td.body table.body tr td#content h5{text-indent:100px;}table.page tr.body td.body table.body tr td#content h6{text-indent:50px;}table.page tr.body td.body table.body tr td#content img{border-style:none;}table.page tr.body td.body table.body tr td#content p{text-indent:25px;}table.page tr.body td.body table.body tr td#content table{background-image:url('/source/images/rough.png');border:thin solid gray;border-radius:5px;box-shadow:0 0 25px gray,inset 0 0 10px gray;margin:25px auto;text-align:center;}table.page tr.body td.body table.body tr td#content table tr td{padding:3px 5px;}table.page tr.body td.body table.body tr td#content table tr td.price{color:green;}table.page tr.body td.body table.body tr td#content table tr td span.blink{color:red;text-decoration:blink;}table.page tr.body td.body table.body tr td#content table tr td span.underline{text-decoration:underline;}table.page tr.footer td.footer{height:50px;padding:0;width:100%;}table.page tr.footer td.footer table.footer{border-collapse:collapse;height:100%;width:100%;}table.page tr.footer td.footer table.footer tr{height:100%;}table.page tr.footer td.footer table.footer tr td{background-color:#79f;border-radius:5px;color:white;cursor:default;font-family:YesSerif;font-size:14px;height:100%;line-height:14px;text-align:center;text-shadow:-1px -1px 2px black;width:100%;}table.page tr.footer td.footer table.footer tr td h1{font-size:14px;font-style:italic;margin-top:5px;} but that file mime type is text/plain but css files should be text/csswhats wrong?
  3. ow! val() worked! so value wasnt a good ideathank you! You always getting everything to work!
  4. time related things are easly done by sleep and cron =) sleep for single and cron for the rest
  5. es131245

    Security

    2 IT hobbies: Web technology and ISP technology =)i always may find out what my dear friends are "up too"moreover SSL certificats for a domain with subdomains casts alot of money (~500$ per year?) and they arent 100% secure too
  6. "The requested URL could not be retrieved" for htmland no ping with terminalYour welcome
  7. es131245

    Pc cleaner?

    all pc cleanes in "it crowd" are called "brooms of fate", I hope you guest why
  8. es131245

    About ISP

    home internet is likedownload3-6 mbs/s (internet sites like ubuntu, yandex mirrors & freebsd) and up to 8-14mbs/s local networkupload400kbs up to 3mbs/s450p. (15$) per month if a pay for a year at once my record is a 45mbs/s on scp between 2 PCs with fresh installed freeBSD (0.5 meter ethernet cable between PCs only - no routers or hubs)700mb film for like a 14-16 secs (both pentium dual core, 1GB ddr2 memory, sata2 hdd).
  9. Im writing a digit (bin-dex-hex) converter on jqueryHTML source looks like <table class="digits"> <tr><th>number system</th><th>digit</th></tr> <tr><td>2 (bin)</td><td><textarea id="bin">10000</textarea></td></tr> <tr><td>10 (dex)</td><td><textarea id="dex">16</textarea></td></tr> <tr><td>16 (hex)</td><td><textarea id="hex">f</textarea></td></tr> </table> <script type="text/javascript"> // code here </script> Idea is to use .keyup on jquery to conver digits when key is upand Ive begun to write jquery part but came across a problem strate away.Few experiments helped me to figger out what is wrong.This will explain the problem <script type="text/javascript"> $("textarea#bin").bind('keyup',function(){alert($("textarea#bin").innerHTML());}); </script> When i change binary digit jquery still alerts 10000. It "memorizes" first (default) digit.How can I make jquery "update" textarea values?
  10. What OS are you using?For FreeBSD use "top -d 1"For Linux use "top -n 1"cuz"top" needs a input for exit so its not a good idea to use just "top"but its will work perfect with "ps" command
  11. moreover cursor:pointer; http://www.w3schools.com/cssref/pr_class_cursor.asp
  12. css can only HOVER #elementYouWantToChangeBackground :hover {background-color:red;} otherwise you javascript (or jquery) js: document.getElementById('elementYouWantToChangeBackground').css.backgroundColor='red';Jq: $('#elementYouWantToChangeBackground').css({'backgroundColor':'red'});
  13. es131245

    width to minimum

    page looks like <fieldset> <table> <tr> <td><span>Email:</span></td> <td><input name="email" type="text" value="" /></td> </tr> <tr> <td><span>Pass:</span></td> <td><input name="password" type="password" value="" /></td> </tr> <tr><td colspan="2" style="text-align:center;"><input type="submit" value="Submit" /></td></tr> </table> </fieldset> </form> The question is how to get its width to minimum? Only width:0; works but it isnt not beautiful =D
  14. Dont know why but your code behaves like an error is there =) moreover i found a stange line in my code which shouldnt be there. <script type="text/javascript"> $(document).ready(function() {$('table.ir tr td ul li a').each(function() {$(this).parent().addClass('unit'); $(this).parent().prev().not(':has(a)').addClass('recursive'); }); $('.recursive').click(function() {$(this).toggleClass('chosen'); $(this).nextUntil('li:not(.unit)').slideToggle(500); }); $('li.recursive').nextUntil('li:not(.unit)').slideUp(); }); </script> http://wgm.y-es.ru/production.html
  15. 2 many tips in internet. My opinion - dont listen to them. Trust only documention and w3schools + forum
  16. print_r both of them and see the diference
  17. >> xmlhttp.open("POST", "guess.php?search="+str,true);>> $get_guess = $_POST["guess"];are you using GET or POST form?looks like POST but 'guess.php?search="+str' is a get method
  18. css ways: hover, position and display.jquery: show(), hide(), SlideDown(), toggles
  19. why cant you use ajax?http://2push.me/sites/default/files/pictures/whatIsAjax.jpg
  20. done it. <script type="text/javascript"> $(document).ready(function() {$("[href$='.jpg'],[href$='.png']").imgPreview({imgCSS:{width:200}}); $('img.access').mouseover(function(){$('img.access').fadeTo(500,1);}); $('img.access').mouseout(function(){$('img.access').fadeTo(500,0);}); $('table.ir tr td ul li a').each(function() {$(this).parent().addClass('unit'); if($(this).parent().prev().has('a')) {$(this).parent().prev().addClass('recursive');} }); $('.unit').css({"display":"none"}); $('.recursive').click(function() {$(this).toggleClass('chosen'); $(this).nextUntil('li:not(.unit)').slideToggle(500); }); }); </script> <ul> <li>LD 200</li> <li><a href="/source/pdf/production/ld200300.pdf">LD 200 300</a></li> <li>LD 220</li> <li>LD 230</li> <li><a href="/source/pdf/production/ld230100.pdf">LD 230 100</a></li> <li><a href="/source/pdf/production/ld230200.pdf">LD 230 200</a></li> <li><a href="/source/pdf/production/ld230300.pdf">LD 230 300</a></li> <li>LD 300</li> <li><a href="/source/pdf/production/ld300200.pdf">LD 300 200</a></li> <li>LD 330</li> <li>LD 360</li> </ul>
×
×
  • Create New...