Página 1 de 1
Problema con estilo
Publicado: 22 Jun 2010, 14:42
por arielvissig
Buenas, quisiera saber como dejar la tabla expandida (
la que indica "mas informacion") tal como lo dejo en la imagen adjuntada.
Pasa que por defecto viene contraída, quisiera que el efecto "ajax" (creo que es ajax), pero que sea al adverso, o sea que por defecto este expandida
(ver imagen).
Espero haber sido claro.
Muchas gracias de antemano 
Re: Problema con estilo
Publicado: 22 Jun 2010, 15:24
por DaVidU
tan solo quieres que salga todo mostrado pero no quitar ese efecto de esconderlo no?
Re: Problema con estilo
Publicado: 22 Jun 2010, 15:49
por arielvissig
DaVidU escribió:tan solo quieres que salga todo mostrado pero no quitar ese efecto de esconderlo no?
Exactamente!!
Re: Problema con estilo
Publicado: 23 Jun 2010, 17:36
por arielvissig
Alguien sabría esto...perdón por la insistencia!!
Re: Problema con estilo Tema Solucionado
Publicado: 23 Jun 2010, 21:08
por DaVidU
entonces para ello abre el archivo:
root/styles/coffee_time/
animatedcollapse.js
busca esto:
Código: Seleccionar todo
else if (!persistexpand && this.initstate=="contract" || persistexpand && this.isExpanded!="yes" && this.isExpanded!="") //Hide DIV (unless div should be expanded by default, OR persistence is enabled and this DIV should be expanded)
this.divObj.style.height=0 //just collapse content if CSS "height" attribute available
if (persistexpand)
animatedcollapse.dotask(window, function(){animatedcollapse.setCookie(uniquepageid+"-"+thisobj.divId, thisobj.isExpanded)}, "unload")
}
animatedcollapse.prototype._getheight=function(persistexpand){
this.contentheight=this.divObj.offsetHeight
if (!persistexpand && this.initstate=="contract" || persistexpand && this.isExpanded!="no"){ //Hide DIV (unless div should be expanded by default, OR persistence is enabled and this DIV should be expanded)
this.divObj.style.height=0 //collapse content
this.divObj.style.visibility="visible"
}
else //else if persistence is enabled AND this content should be expanded, define its CSS height value so slideup() has something to work with
this.divObj.style.height=this.contentheight+"px"
}
y lo reemplazas por esto otro:
Código: Seleccionar todo
else if (!persistexpand && this.initstate=="contract" || persistexpand && this.isExpanded!="yes" && this.isExpanded!="") //Hide DIV (unless div should be expanded by default, OR persistence is enabled and this DIV should be expanded)
this.divObj.style.height=this.contentheight+"px" //just collapse content if CSS "height" attribute available
if (persistexpand)
animatedcollapse.dotask(window, function(){animatedcollapse.setCookie(uniquepageid+"-"+thisobj.divId, thisobj.isExpanded)}, "unload")
}
animatedcollapse.prototype._getheight=function(persistexpand){
this.contentheight=this.divObj.offsetHeight
if (!persistexpand && this.initstate=="contract" || persistexpand && this.isExpanded!="no"){ //Hide DIV (unless div should be expanded by default, OR persistence is enabled and this DIV should be expanded)
this.divObj.style.height=this.contentheight+"px" //collapse content
this.divObj.style.visibility="visible"
}
else //else if persistence is enabled AND this content should be expanded, define its CSS height value so slideup() has something to work with
this.divObj.style.height=this.contentheight+"px"
}
guarda el archivo, actualiza el tema, limpia el cache del foro y refresca el navegador para ver los cambios

Re: Problema con estilo
Publicado: 24 Jun 2010, 13:23
por arielvissig
Muchísimas gracias máster, funciono a la perfección!!!