Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/09/2010, 01:17
laranitapresumida
 
Fecha de Ingreso: septiembre-2010
Mensajes: 2
Antigüedad: 13 años, 7 meses
Puntos: 0
ayuda con código

Hola, estoy creando la página http://larisadebilbao.com/index.php/component/content/category/42.html?layout=blog

En internet explorer me da un error de código y no se me visualiza bien. En la parte derecha deberían estar sin desplegar los menús de homenaja a forges y premio bbk. Y los nombres deberían sacar un bocadillo al pinchar en ellos.

Yo no entiendo de código, así que si alguien puede ayudarme a solucionarlo lo agradecería, porque llevo dándole muchas vueltas sin encontrar la solución.
Pego los códigos que me dan el error:

var domReady=function(){if(window.loaded)return;window .loaded=true;window.timer=$clear(window.timer);thi s.fireEvent('domready');}.bind(this);if(document.r eadyState&&window.webkit){window.timer=function(){ if(['loaded','complete'].contains(document.readyState))domReady();}.period ical(50);}else if(document.readyState&&window.ie){if(!$('ie_ready ')){var src=(window.location.protocol=='https:')?'://0':'javascript:void(0)';document.write('<script id="ie_ready" defer src="'+src+'"><\/script>');$('ie_ready').onreadystatechange=functio n(){if(this.readyState=='complete')domReady();};}} else{window.addListener("load",domReady);document. addListener("DOMContentLoaded",domReady);}}};windo w.onDomReady=function(fn){return this.addEvent('domready',fn);};window.extend({getW idth:function(){if(this.webkit419)return this.innerWidth;if(this.opera)return document.body.clientWidth;return document.documentElement.clientWidth;},getHeight:f unction(){if(this.webkit419)return this.innerHeight;if(this.opera)return document.body.clientHeight;return document.documentElement.clientHeight;},getScrollW idth:function(){if(this.ie)return Math.max(document.documentElement.offsetWidth,docu ment.documentElement.scrollWidth);if(this.webkit)r eturn document.body.scrollWidth;return document.documentElement.scrollWidth;},getScrollHe ight:function(){if(this.ie)return Math.max(document.documentElement.offsetHeight,doc ument.documentElement.scrollHeight);if(this.webkit )return document.body.scrollHeight;return document.documentElement.scrollHeight;},getScrollL eft:function(){return this.pageXOffset||document.documentElement.scrollL eft;},getScrollTop:function(){return this.pageYOffset||document.documentElement.scrollT op;},getSize:function(){return{'size':{'x':this.ge tWidth(),'y':this.getHeight()},'scrollSize':{'x':t his.getScrollWidth(),'y':this.getScrollHeight()},' scroll':{'x':this.getScrollLeft(),'y':this.getScro llTop()}};},getPosition:function(){return{'x':0,'y ':0};}});var Fx={};Fx.Base=new Class({options:{onStart:Class.empty,onComplete:Cla ss.empty,onCancel:Class.empty,transition:function( p){return-(Math.cos(Math.PI*p)-1)/2;},duration:500,unit:'px',wait:true,fps:50},initi alize:function(options){this.element=this.element| |null;this.setOptions(options);if(this.options.ini tialize)this.options.initialize.call(this);},step: function(){var time=$time();if(time<this.time+this.options.durati on){this.delta=this.options.transition((time-this.time)/this.options.duration);this.setNow();this.increase ();}else{this.stop(true);this.set(this.to);this.fi reEvent('onComplete',this.element,10);this.callCha in();}},set:function(to){this.now=to;this.increase ();return this;},setNow:function(){this.now=this.compute(thi s.from,this.to);},compute:function(from,to){return (to-from)*this.delta+from;},start:function(from,to){if (!this.options.wait)this.stop();else if(this.timer)return this;this.from=from;this.to=to;this.change=this.to-this.from;this.time=$time();this.timer=this.step.p eriodical(Math.round(1000/this.options.fps),this);this.fireEvent('onStart',t his.element);return this;},stop:function(end){if(!this.timer)return this;this.timer=$clear(this.timer);if(!end)this.fi reEvent('onCancel',this.element);return this;},custom:function(from,to){return this.start(from,to);},clearTimer:function(end){ret urn this.stop(end);}});Fx.Base.implement(new Chain,new Events,new Options);Fx.CSS={select:function(property,to){if(p roperty.test(/color/i))return this.Color;var type=$type(to);if((type=='array')||(type=='string' &&to.contains(' ')))return this.Multi;return this.Single;},parse:function(el,property,fromTo){i f(!fromTo.push)fromTo=[fromTo];var from=fromTo[0],to=fromTo[1];if(!$chk(to)){to=from;from=el.getStyle(property); }


Otro código:
show: function( event ){

// If it is not open, fade in the tooltip and set this.open to true
if(!this.open){
// Get the coordinates of the mouse
this.coord = this.position( event );
// Set the style to the tooltip
this.QTip.setStyles({
'opacity': 0,
'top': this.coord.top +'px',
'left': this.coord.left +'px',
'width': 0,
'visiblity': 'visible',
'overflow': 'hidden',
});

// Start the fade in effect
this.fx.start({
'opacity': 1,
'top': (this.coord.top -10) +'px',
'width': this.options.width
});

// After faded in set this.open to true
this.open = true;
}
},



Muchas gracias