diff --git a/src/contacto.html b/src/contacto.html new file mode 100644 index 0000000..23fa8a2 --- /dev/null +++ b/src/contacto.html @@ -0,0 +1,90 @@ + + + + + + + + INTEDI - Inspección técnica de edificios (ITE) - Pocería - Rehabilitaciones + + + + + + + + +
+
+
Intedi
+

Pocería - Rehabilitaciones - Trabajos verticales
Inspección técnica de edificios

+ +
+
+
+ +
+
+
+

Formulario de contacto

+
+
+ +
    +
  1. +
  2. +
  3. +
  4. +
+
+
+
+
+

Acerca de Intedi

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sollicitudin velit nec justo vehicula lobortis faucibus ante rutrum. Sed aliquet rhoncus sollicitudin.

+

Contacto

+

C/ El Torno, nº 17
+ 28529 - Rivas - Madrid


+ Teléfono: 91 670 25 62
+ Móvil: 607 202 703
+ E-Mail: intedimadrid@gmail.com

+
+
+
+
+
+
+

Aviso legal | Política de privacidad + +

+
+
+ + diff --git a/src/contacto_ok.html b/src/contacto_ok.html new file mode 100644 index 0000000..1351df6 --- /dev/null +++ b/src/contacto_ok.html @@ -0,0 +1,80 @@ + + + + + + + + INTEDI - Inspección técnica de edificios (ITE) - Pocería - Rehabilitaciones + + + + + + + + +
+
+
Intedi
+

Pocería - Rehabilitaciones - Trabajos verticales
Inspección técnica de edificios

+ +
+
+
+ +
+
+
+

Gracias por su mensaje

+

Su mensaje ha sido enviado.

+
+
+

Acerca de Intedi

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sollicitudin velit nec justo vehicula lobortis faucibus ante rutrum. Sed aliquet rhoncus sollicitudin.

+

Contacto

+

C/ El Torno, nº 17
+ 28529 - Rivas - Madrid


+ Teléfono: 91 670 25 62
+ Móvil: 607 202 703
+ E-Mail: intedimadrid@gmail.com

+
+
+
+
+
+
+

Aviso legal | Política de privacidad + +

+
+
+ + diff --git a/src/estilos.css b/src/estilos.css index 525e4dc..e5d4fb9 100644 --- a/src/estilos.css +++ b/src/estilos.css @@ -51,10 +51,10 @@ h3 { } h4 { - font-weight: normal; - font-style: normal; - font-size: 120%; - color: #444; + font-weight: bold; + font-style: normal; + font-size: 110%; + color: #49499A; } a { @@ -314,4 +314,29 @@ strong { clear: both; height: 1px; margin: 15px 0; +} + +ul.doscolumnas { + margin-top: 5px; + margin-bottom: 15px; +} +.doscolumnas li { + float: left; + width: 50%; + margin: 0; + padding: 0; +} + +.fotos { + width: 100%; + margin: 8px 0; + text-align: center; +} + +.fotos img { + margin: 5px; + padding: 8px; + background-color:#eee; + border: 1px solid #ccc; + } \ No newline at end of file diff --git a/src/forms.css b/src/forms.css index 56cf63a..299337c 100644 --- a/src/forms.css +++ b/src/forms.css @@ -1,38 +1,42 @@ -/********************************** - -Name: cmxform Styles -Author: Nick Rigby - -***********************************/ - -form.cmxform { - margin: 0 0 0 50px; - width: auto; - font-size: 110%; - color:#666; -} - -form.cmxform legend { } - -form.cmxform label { - margin-right: 20px; - width: 85px; - vertical-align: top; - display: inline-block; - color: #333; -} - -form.cmxform fieldset { - border: none; -} - -form.cmxform fieldset fieldset { } - - -form.cmxform fieldset li { - padding: 5px 10px 7px; -} - -form.cmxform input { - -} +/********************************** + +Name: cmxform Styles +Author: Nick Rigby + +***********************************/ + +form.cmxform { + margin: 0 0 0 50px; + width: auto; + font-size: 110%; + color:#666; +} + +form.cmxform legend { } + +form.cmxform label { + margin-right: 20px; + width: 85px; + vertical-align: top; + display: inline-block; + color: #333; +} + +form.cmxform fieldset { + border: none; +} + +form.cmxform fieldset fieldset { } + + +form.cmxform fieldset li { + padding: 5px 10px 7px; +} + +form.cmxform input { +} + +.campo { + border: 1px solid #999; + background-color: #eee; +} \ No newline at end of file diff --git a/src/fotos/poceria-1.jpg b/src/fotos/poceria-1.jpg new file mode 100644 index 0000000..bbb8bad Binary files /dev/null and b/src/fotos/poceria-1.jpg differ diff --git a/src/fotos/poceria-1_small.jpg b/src/fotos/poceria-1_small.jpg new file mode 100644 index 0000000..134c380 Binary files /dev/null and b/src/fotos/poceria-1_small.jpg differ diff --git a/src/fotos/poceria-2.jpg b/src/fotos/poceria-2.jpg new file mode 100644 index 0000000..6893780 Binary files /dev/null and b/src/fotos/poceria-2.jpg differ diff --git a/src/fotos/poceria-2_small.jpg b/src/fotos/poceria-2_small.jpg new file mode 100644 index 0000000..5435a7d Binary files /dev/null and b/src/fotos/poceria-2_small.jpg differ diff --git a/src/fotos/poceria-3.jpg b/src/fotos/poceria-3.jpg new file mode 100644 index 0000000..6b81e3a Binary files /dev/null and b/src/fotos/poceria-3.jpg differ diff --git a/src/fotos/poceria-3_small.jpg b/src/fotos/poceria-3_small.jpg new file mode 100644 index 0000000..83d73aa Binary files /dev/null and b/src/fotos/poceria-3_small.jpg differ diff --git a/src/fotos/trabajos-verticales-1.jpg b/src/fotos/trabajos-verticales-1.jpg new file mode 100644 index 0000000..6f1a235 Binary files /dev/null and b/src/fotos/trabajos-verticales-1.jpg differ diff --git a/src/fotos/trabajos-verticales-1_small.jpg b/src/fotos/trabajos-verticales-1_small.jpg new file mode 100644 index 0000000..9ce8202 Binary files /dev/null and b/src/fotos/trabajos-verticales-1_small.jpg differ diff --git a/src/fotos/trabajos-verticales-2.jpg b/src/fotos/trabajos-verticales-2.jpg new file mode 100644 index 0000000..a252a86 Binary files /dev/null and b/src/fotos/trabajos-verticales-2.jpg differ diff --git a/src/fotos/trabajos-verticales-2_small.jpg b/src/fotos/trabajos-verticales-2_small.jpg new file mode 100644 index 0000000..fe4b67f Binary files /dev/null and b/src/fotos/trabajos-verticales-2_small.jpg differ diff --git a/src/images/blank.gif b/src/images/blank.gif new file mode 100644 index 0000000..1d11fa9 Binary files /dev/null and b/src/images/blank.gif differ diff --git a/src/images/closelabel.gif b/src/images/closelabel.gif new file mode 100644 index 0000000..b4ab222 Binary files /dev/null and b/src/images/closelabel.gif differ diff --git a/src/images/loading.gif b/src/images/loading.gif new file mode 100644 index 0000000..f864d5f Binary files /dev/null and b/src/images/loading.gif differ diff --git a/src/images/nextlabel.gif b/src/images/nextlabel.gif new file mode 100644 index 0000000..7c66121 Binary files /dev/null and b/src/images/nextlabel.gif differ diff --git a/src/images/prevlabel.gif b/src/images/prevlabel.gif new file mode 100644 index 0000000..0641876 Binary files /dev/null and b/src/images/prevlabel.gif differ diff --git a/src/index.html b/src/index.html index 35a5cf5..9cb7b14 100644 --- a/src/index.html +++ b/src/index.html @@ -20,8 +20,8 @@
diff --git a/src/litebox/css/lightbox.css b/src/litebox/css/lightbox.css new file mode 100644 index 0000000..f1b9b53 --- /dev/null +++ b/src/litebox/css/lightbox.css @@ -0,0 +1,104 @@ +#lightbox{ + position: absolute; + top: 40px; + left: 0; + width: 100%; + z-index: 100; + text-align: center; + line-height: 0; + } + +#lightbox a img{ border: none; } + +#outerImageContainer{ + position: relative; + background-color: #fff; + width: 250px; + height: 250px; + margin: 0 auto; + } + +#imageContainer{ + padding: 10px; + } + +#loading{ + position: absolute; + top: 40%; + left: 0%; + height: 25%; + width: 100%; + text-align: center; + line-height: 0; + } +#hoverNav{ + position: absolute; + top: 0; + left: 0; + height: 100%; + width: 100%; + z-index: 10; + } +#imageContainer>#hoverNav{ left: 0;} +#hoverNav a{ outline: none;} + +#prevLink, #nextLink{ + width: 49%; + height: 100%; + background: transparent url(../images/blank.gif) no-repeat; /* Trick IE into showing hover */ + display: block; + } +#prevLink { left: 0; float: left;} +#nextLink { right: 0; float: right;} +#prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; } +#nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; } + + +#imageDataContainer{ + font: 10px Verdana, Helvetica, sans-serif; + background-color: #fff; + margin: 0 auto; + line-height: 1.4em; + } + +#imageData{ + padding:0 10px; + } +#imageData #imageDetails{ width: 70%; float: left; text-align: left; } +#imageData #caption{ font-weight: bold; } +#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em; } +#imageData #bottomNavClose{ width: 66px; float: right; padding-bottom: 0.7em; } + +#overlay{ + position: absolute; + top: 0; + left: 0; + z-index: 90; + width: 100%; + height: 500px; + background-color: #000; + filter:alpha(opacity=60); + -moz-opacity: 0.6; + opacity: 0.6; + } + + +.clearfix:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; + } + +* html>body .clearfix { + display: inline-block; + width: 100%; + } + +* html .clearfix { + /* Hides from IE-mac \*/ + height: 1%; + /* End hide from IE-mac */ + } + \ No newline at end of file diff --git a/src/litebox/css/style.css b/src/litebox/css/style.css new file mode 100644 index 0000000..7d42464 --- /dev/null +++ b/src/litebox/css/style.css @@ -0,0 +1,20 @@ +html, body { height:100%; } +body { +font-family:Verdana,arial,Tahoma; +font-size:.8em; +color:#222; +margin:0; +padding:0; +background:#fff; +text-align:justify; +} +a { color:#557FFF; } +a:hover { text-decoration:none; } +p, li { margin:2px; color:#555; padding:2px} +ul { padding-left:1em; } +img { border: none; } +.bordered { border:1px solid #aaa; } +h1 { text-align:right; margin:2px; color:#000; font-family:Georgia,Arial,Tahoma; font-size: 3em;} +h3, h5 { margin-bottom:4px; } +textarea { background:#ccc; color:#333; border:1px solid #aaa; } +#content { width:700px; background:#eee; margin-left:auto; margin-right:auto; padding:8px; border-left:10px solid #ccc; border-right:10px solid #ccc; } \ No newline at end of file diff --git a/src/litebox/js/litebox-1.0.js b/src/litebox/js/litebox-1.0.js new file mode 100644 index 0000000..a67d9b2 --- /dev/null +++ b/src/litebox/js/litebox-1.0.js @@ -0,0 +1,603 @@ +// ----------------------------------------------------------------------------------- +// +// Litebox v1.0 +// A combined effort between detrate and gannon +// 07/03/06 +// +// Source edited from Lightbox v2.02 +// by Lokesh Dhakar - http://www.huddletogether.com +// +// For more information on this script, visit: +// http://doknowevil.net/litebox +// +// Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/ +// +// Credit also due to those who have helped, inspired, and made their code available to the public. +// Including: Scott Upton(uptonic.com), Peter-Paul Koch(quirksmode.org), Thomas Fuchs(mir.aculo.us), and others. +// +// ----------------------------------------------------------------------------------- + +// +// Configuration +// +var fileLoadingImage = "images/loading.gif"; +var fileBottomNavCloseImage = "images/closelabel.gif"; +var resizeSpeed = 6; // controls the speed of the image resizing (1=slowest and 10=fastest) +var borderSize = 10; //if you adjust the padding in the CSS, you will need to update this variable + +// ----------------------------------------------------------------------------------- + +// +// Global Variables +// +var imageArray = new Array; +var activeImage; + +if(resizeSpeed > 10){ resizeSpeed = 10;} +if(resizeSpeed < 1){ resizeSpeed = 1;} +resizeDuration = (11 - resizeSpeed) * 100; + +// ----------------------------------------------------------------------------------- + +// +// Additional methods for Element added by SU, Couloir +// - further additions by Lokesh Dhakar (huddletogether.com) +// +Object.extend(Element, { + hide: function() { + for (var i = 0; i < arguments.length; i++) { + var element = $(arguments[i]); + element.style.display = 'none'; + } + }, + show: function() { + for (var i = 0; i < arguments.length; i++) { + var element = $(arguments[i]); + element.style.display = ''; + } + }, + getWidth: function(element) { + element = $(element); + return element.offsetWidth; + }, + setWidth: function(element,w) { + element = $(element); + element.style.width = w +"px"; + }, + getHeight: function(element) { + element = $(element); + return element.offsetHeight; + }, + setHeight: function(element,h) { + element = $(element); + element.style.height = h +"px"; + }, + setTop: function(element,t) { + element = $(element); + element.style.top = t +"px"; + }, + setSrc: function(element,src) { + element = $(element); + element.src = src; + }, + setInnerHTML: function(element,content) { + element = $(element); + element.innerHTML = content; + } +}); + +// ----------------------------------------------------------------------------------- + +// +// Extending built-in Array object +// +Array.prototype.removeDuplicates = function () { + for(i = 1; i < this.length; i++){ + if(this[i][0] == this[i-1][0]){ + this.splice(i,1); + } + } +} + +Array.prototype.empty = function () { + for(i = 0; i <= this.length; i++){ + this.shift(); + } +} + +// ----------------------------------------------------------------------------------- +// +// Structuring of code inspired by Scott Upton (http://www.uptonic.com/) +// +var Lightbox = Class.create(); + +Lightbox.prototype = { + + // initialize() + // Constructor runs on completion of the DOM loading. Loops through anchor tags looking for + // 'lightbox' references and applies onclick events to appropriate links. The 2nd section of + // the function inserts html at the bottom of the page which is used to display the shadow + // overlay and the image container. + // + initialize: function() { + if (!document.getElementsByTagName){ return; } + var anchors = document.getElementsByTagName('a'); + + // loop through all anchor tags + for (var i=0; i 1){ + Element.show('numberDisplay'); + Element.setInnerHTML( 'numberDisplay', "Image " + eval(activeImage + 1) + " of " + imageArray.length); + } + + myLightbox.updateNav(); + }, + // + // updateNav() + // Display appropriate previous and next hover navigation. + // + updateNav: function() { + + // if not first image in set, display prev image button + if(activeImage != 0){ + Element.show('prevLink'); + document.getElementById('prevLink').onclick = function() { + myLightbox.changeImage(activeImage - 1); return false; + } + } + + // if not last image in set, display next image button + if(activeImage != (imageArray.length - 1)){ + Element.show('nextLink'); + document.getElementById('nextLink').onclick = function() { + myLightbox.changeImage(activeImage + 1); return false; + } + } + + this.enableKeyboardNav(); + }, + + // + // enableKeyboardNav() + // + enableKeyboardNav: function() { + document.onkeydown = this.keyboardAction; + }, + + // + // disableKeyboardNav() + // + disableKeyboardNav: function() { + document.onkeydown = ''; + }, + + // + // keyboardAction() + // + keyboardAction: function(e) { + if (e == null) { // ie + keycode = event.keyCode; + } else { // mozilla + keycode = e.which; + } + + key = String.fromCharCode(keycode).toLowerCase(); + + if((key == 'x') || (key == 'o') || (key == 'c')){ // close lightbox + myLightbox.end(); + } else if(key == 'p'){ // display previous image + if(activeImage != 0){ + myLightbox.disableKeyboardNav(); + myLightbox.changeImage(activeImage - 1); + } + } else if(key == 'n'){ // display next image + if(activeImage != (imageArray.length - 1)){ + myLightbox.disableKeyboardNav(); + myLightbox.changeImage(activeImage + 1); + } + } + }, + + // + // preloadNeighborImages() + // Preload previous and next images. + // + preloadNeighborImages: function(){ + + if((imageArray.length - 1) > activeImage){ + preloadNextImage = new Image(); + preloadNextImage.src = imageArray[activeImage + 1][0]; + } + if(activeImage > 0){ + preloadPrevImage = new Image(); + preloadPrevImage.src = imageArray[activeImage - 1][0]; + } + + }, + + // + // end() + // + end: function() { + this.disableKeyboardNav(); + Element.hide('lightbox'); + imageEffect.toggle(); + overlayEffect.custom(0.8,0); + showSelectBoxes(); + } +} + +// ----------------------------------------------------------------------------------- + +// +// getPageScroll() +// Returns array with x,y page scroll values. +// Core code from - quirksmode.org +// +function getPageScroll(){ + + var yScroll; + + if (self.pageYOffset) { + yScroll = self.pageYOffset; + } else if (document.documentElement && document.documentElement.scrollTop){ // Explorer 6 Strict + yScroll = document.documentElement.scrollTop; + } else if (document.body) {// all other Explorers + yScroll = document.body.scrollTop; + } + + arrayPageScroll = new Array('',yScroll) + return arrayPageScroll; +} + +// ----------------------------------------------------------------------------------- + +// +// getPageSize() +// Returns array with page width, height and window width, height +// Core code from - quirksmode.org +// Edit for Firefox by pHaez +// +function getPageSize(){ + + var xScroll, yScroll; + + if (window.innerHeight && window.scrollMaxY) { + xScroll = document.body.scrollWidth; + yScroll = window.innerHeight + window.scrollMaxY; + } else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac + xScroll = document.body.scrollWidth; + yScroll = document.body.scrollHeight; + } else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari + xScroll = document.body.offsetWidth; + yScroll = document.body.offsetHeight; + } + + var windowWidth, windowHeight; + if (self.innerHeight) { // all except Explorer + windowWidth = self.innerWidth; + windowHeight = self.innerHeight; + } else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode + windowWidth = document.documentElement.clientWidth; + windowHeight = document.documentElement.clientHeight; + } else if (document.body) { // other Explorers + windowWidth = document.body.clientWidth; + windowHeight = document.body.clientHeight; + } + + // for small pages with total height less then height of the viewport + if(yScroll < windowHeight){ + pageHeight = windowHeight; + } else { + pageHeight = yScroll; + } + + // for small pages with total width less then width of the viewport + if(xScroll < windowWidth){ + pageWidth = windowWidth; + } else { + pageWidth = xScroll; + } + + arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight) + return arrayPageSize; +} + +// ----------------------------------------------------------------------------------- + +// +// getKey(key) +// Gets keycode. If 'x' is pressed then it hides the lightbox. +// +function getKey(e){ + if (e == null) { // ie + keycode = event.keyCode; + } else { // mozilla + keycode = e.which; + } + key = String.fromCharCode(keycode).toLowerCase(); + + if(key == 'x'){ + } +} + +// ----------------------------------------------------------------------------------- + +// +// listenKey() +// +function listenKey () { document.onkeypress = getKey; } + +// --------------------------------------------------- + +function showSelectBoxes(){ + selects = document.getElementsByTagName("select"); + for (i = 0; i != selects.length; i++) { + selects[i].style.visibility = "visible"; + } +} + +// --------------------------------------------------- + +function hideSelectBoxes(){ + selects = document.getElementsByTagName("select"); + for (i = 0; i != selects.length; i++) { + selects[i].style.visibility = "hidden"; + } +} + +// --------------------------------------------------- + +// +// pause(numberMillis) +// Pauses code execution for specified time. Uses busy code, not good. +// Code from http://www.faqts.com/knowledge_base/view.phtml/aid/1602 +// +function pause(numberMillis) { + var now = new Date(); + var exitTime = now.getTime() + numberMillis; + while (true) { + now = new Date(); + if (now.getTime() > exitTime) + return; + } +} +// --------------------------------------------------- + +function initLightbox() { myLightbox = new Lightbox(); } \ No newline at end of file diff --git a/src/litebox/js/moo.fx.js b/src/litebox/js/moo.fx.js new file mode 100644 index 0000000..d70a1e4 --- /dev/null +++ b/src/litebox/js/moo.fx.js @@ -0,0 +1,133 @@ +/* +moo.fx, simple effects library built with prototype.js (http://prototype.conio.net). +by Valerio Proietti (http://mad4milk.net) MIT-style LICENSE. +for more info (http://moofx.mad4milk.net). +Sunday, March 05, 2006 +v 1.2.3 +*/ + +var fx = new Object(); +//base +fx.Base = function(){}; +fx.Base.prototype = { + setOptions: function(options) { + this.options = { + duration: 500, + onComplete: '', + transition: fx.sinoidal + } + Object.extend(this.options, options || {}); + }, + + step: function() { + var time = (new Date).getTime(); + if (time >= this.options.duration+this.startTime) { + this.now = this.to; + clearInterval (this.timer); + this.timer = null; + if (this.options.onComplete) setTimeout(this.options.onComplete.bind(this), 10); + } + else { + var Tpos = (time - this.startTime) / (this.options.duration); + this.now = this.options.transition(Tpos) * (this.to-this.from) + this.from; + } + this.increase(); + }, + + custom: function(from, to) { + if (this.timer != null) return; + this.from = from; + this.to = to; + this.startTime = (new Date).getTime(); + this.timer = setInterval (this.step.bind(this), 13); + }, + + hide: function() { + this.now = 0; + this.increase(); + }, + + clearTimer: function() { + clearInterval(this.timer); + this.timer = null; + } +} + +//stretchers +fx.Layout = Class.create(); +fx.Layout.prototype = Object.extend(new fx.Base(), { + initialize: function(el, options) { + this.el = $(el); + this.el.style.overflow = "hidden"; + this.iniWidth = this.el.offsetWidth; + this.iniHeight = this.el.offsetHeight; + this.setOptions(options); + } +}); + +fx.Height = Class.create(); +Object.extend(Object.extend(fx.Height.prototype, fx.Layout.prototype), { + increase: function() { + this.el.style.height = this.now + "px"; + }, + + toggle: function() { + if (this.el.offsetHeight > 0) this.custom(this.el.offsetHeight, 0); + else this.custom(0, this.el.scrollHeight); + } +}); + +fx.Width = Class.create(); +Object.extend(Object.extend(fx.Width.prototype, fx.Layout.prototype), { + increase: function() { + this.el.style.width = this.now + "px"; + }, + + toggle: function(){ + if (this.el.offsetWidth > 0) this.custom(this.el.offsetWidth, 0); + else this.custom(0, this.iniWidth); + } +}); + +//fader +fx.Opacity = Class.create(); +fx.Opacity.prototype = Object.extend(new fx.Base(), { + initialize: function(el, options) { + this.el = $(el); + this.now = 1; + this.increase(); + this.setOptions(options); + }, + + increase: function() { + if (this.now == 1 && (/Firefox/.test(navigator.userAgent))) this.now = 0.9999; + this.setOpacity(this.now); + }, + + setOpacity: function(opacity) { + if (opacity == 0 && this.el.style.visibility != "hidden") this.el.style.visibility = "hidden"; + else if (this.el.style.visibility != "visible") this.el.style.visibility = "visible"; + if (window.ActiveXObject) this.el.style.filter = "alpha(opacity=" + opacity*100 + ")"; + this.el.style.opacity = opacity; + }, + + toggle: function() { + if (this.now > 0) this.custom(1, 0); + else this.custom(0, 1); + } +}); + +//transitions +fx.sinoidal = function(pos){ + return ((-Math.cos(pos*Math.PI)/2) + 0.5); + //this transition is from script.aculo.us +} +fx.linear = function(pos){ + return pos; +} +fx.cubic = function(pos){ + return Math.pow(pos, 3); +} +fx.circ = function(pos){ + return Math.sqrt(pos); +} \ No newline at end of file diff --git a/src/litebox/js/prototype.lite.js b/src/litebox/js/prototype.lite.js new file mode 100644 index 0000000..c60191a --- /dev/null +++ b/src/litebox/js/prototype.lite.js @@ -0,0 +1,132 @@ +/* Prototype JavaScript framework + * (c) 2005 Sam Stephenson + * Prototype is freely distributable under the terms of an MIT-style license. + * For details, see the Prototype web site: http://prototype.conio.net/ +/*--------------------------------------------------------------------------*/ + +//note: modified & stripped down version of prototype, to be used with moo.fx by mad4milk (http://moofx.mad4milk.net). + +var Class = { + create: function() { + return function() { + this.initialize.apply(this, arguments); + } + } +} + +Object.extend = function(destination, source) { + for (property in source) destination[property] = source[property]; + return destination; +} + +Function.prototype.bind = function(object) { + var __method = this; + return function() { + return __method.apply(object, arguments); + } +} + +Function.prototype.bindAsEventListener = function(object) { +var __method = this; + return function(event) { + __method.call(object, event || window.event); + } +} + +function $() { + if (arguments.length == 1) return get$(arguments[0]); + var elements = []; + $c(arguments).each(function(el){ + elements.push(get$(el)); + }); + return elements; + + function get$(el){ + if (typeof el == 'string') el = document.getElementById(el); + return el; + } +} + +if (!window.Element) var Element = new Object(); + +Object.extend(Element, { + remove: function(element) { + element = $(element); + element.parentNode.removeChild(element); + }, + + hasClassName: function(element, className) { + element = $(element); + if (!element) return; + var hasClass = false; + element.className.split(' ').each(function(cn){ + if (cn == className) hasClass = true; + }); + return hasClass; + }, + + addClassName: function(element, className) { + element = $(element); + Element.removeClassName(element, className); + element.className += ' ' + className; + }, + + removeClassName: function(element, className) { + element = $(element); + if (!element) return; + var newClassName = ''; + element.className.split(' ').each(function(cn, i){ + if (cn != className){ + if (i > 0) newClassName += ' '; + newClassName += cn; + } + }); + element.className = newClassName; + }, + + cleanWhitespace: function(element) { + element = $(element); + $c(element.childNodes).each(function(node){ + if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); + }); + }, + + find: function(element, what) { + element = $(element)[what]; + while (element.nodeType != 1) element = element[what]; + return element; + } +}); + +var Position = { + cumulativeOffset: function(element) { + var valueT = 0, valueL = 0; + do { + valueT += element.offsetTop || 0; + valueL += element.offsetLeft || 0; + element = element.offsetParent; + } while (element); + return [valueL, valueT]; + } +}; + +document.getElementsByClassName = function(className) { + var children = document.getElementsByTagName('*') || document.all; + var elements = []; + $c(children).each(function(child){ + if (Element.hasClassName(child, className)) elements.push(child); + }); + return elements; +} + +//useful array functions +Array.prototype.iterate = function(func){ + for(var i=0;iInicio
  • Servicios
  • Obras realizadas
  • -
  • Contacto
  • +
  • Contacto
  • diff --git a/src/send.php b/src/send.php new file mode 100644 index 0000000..ea8dc3f --- /dev/null +++ b/src/send.php @@ -0,0 +1,63 @@ + \ No newline at end of file diff --git a/src/servicios.html b/src/servicios.html index bbbd4d3..5fec9be 100644 --- a/src/servicios.html +++ b/src/servicios.html @@ -9,9 +9,13 @@ - + + + + + - +
    Intedi
    @@ -20,8 +24,8 @@
    @@ -31,14 +35,60 @@
    -

    Servicios ofrecidos

    -

    Morbi velit enim, elementum vitae pretium non, pellentesque laoreet sem. Sed placerat, urna vitae iaculis imperdiet, lectus magna vulputate felis, eget fringilla metus purus in enim. Etiam vitae turpis diam. Donec nibh diam, faucibus a rhoncus non, tempus id urna.

    -

      -
    • Rehabilitaciones
    • -
    • Pocería
    • -
    • Inspección técnica de edificios (I.T.E.)
    • -
    • Trabajos verticales
    • +

      Servicios ofrecidos

      +

      Rehabilitaciones

      +
        +
      • Frentes de balcones
      • +
      • Revocos y enfoscados
      • +
      • Trabajos de pintura
      • +
      • Limpieza y reconstrucción de ladrillo visto
      • +
      • Barnices hidrófugos
      • +
      • Impermeabilizaciones de cubiertas
      • +
      • Limpieza de canalones
      • +
      • Limpieza de desagües
      • +
      • Cerrajería
      • +
      • Carpintería
      • +
      +

      Pocería

      +
        +
      • Inspección de redes sanitarias
      • +
      • Desatrancos manuales y por agua a presión
      • +
      • Eliminación de humedades en sótanos y bajos
      • +
      • Realización de trasteros
      • +
      • Localización de fugas
      • +
      • Urgencias 24 horas
      • +
      • Limpieza de fosas asépticas
      • +
      • Limpieza de sumideros
      • +
        +
      + +

      5 AÑOS DE GARANTIA

      +
      + + + +
      + +
      +

      Inspección técnica de edificios (I.T.E.)

      +
      +

      Trabajos verticales

      +
        +
      • Instalación de bajadas de agua
      • +
      • Instalación de canalones
      • +
      • Sellado de juntas
      • +
      • Anclaje de piedras
      • +
      • Revestimientos y pinturas
      • +
      • Chimeneas y salidas de humo
      • +
      • Reparación de goteras
      • +
        +
      +
      + + +
      +

    Acerca de Intedi