Prechádzať zdrojové kódy

cursores titulo; posicion correcta para el inicio

david 12 rokov pred
rodič
commit
c745be86ec
3 zmenil súbory, kde vykonal 3 pridanie a 5 odobranie
  1. 1 1
      css/especificos.css
  2. 1 2
      db.php
  3. 1 2
      index.php

+ 1 - 1
css/especificos.css

@@ -576,7 +576,7 @@ a:hover
     opacity: 0.5; transition: opacity 0.3s ease-in-out;
 }
 
-ul, li
+li a
 {
     cursor: pointer;
     width: 200px;

+ 1 - 2
db.php

@@ -1,6 +1,5 @@
 <?php
-#$db = new mysqli('107.170.84.207', 'especificosba', 'howdoiturnthison', 'EBA');
-$db = new mysqli('localhost', 'especificosba', 'howdoiturnthison', 'EBA');
+$db = new mysqli('107.170.84.207', 'especificosba', 'howdoiturnthison', 'EBA');
 if($db->connect_errno > 0){ die('Unable to connect to database [' . $db->connect_error . ']'); }
 #$db->query("SET NAMES 'utf8'");
 #debe estar comentado para ELSERVER

+ 1 - 2
index.php

@@ -31,7 +31,7 @@ header('Content-Type: text/html; charset=UTF-8');
             }
 
 	        $('li a').click(function () {
-                $('html, body').animate({ scrollTop: $($(this).attr('href')).position().top +60}, 'slow');
+                $('html, body').animate({ scrollTop: $($(this).attr('href')).position().top }, 'slow');
                 if ($(this).attr('href')=='#footer-outer') { showContact(); }
 	            return false;
 	        });
@@ -45,7 +45,6 @@ header('Content-Type: text/html; charset=UTF-8');
             $('#logo').css('opacity','0');
             $('#navlist').css('height','55px');
             $(window).scroll(function () {
-
                 if($(this).scrollTop() > startY ){
                     $('#logo').css({'opacity':'1', 'transition': 'opacity 0.5s ease-in-out'});
                 }else{