Problemas con el "mensaje flotante"

YuKuSaN Seguir

Beta
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Desde
17 May 2008
Mensajes
77
Bien estoy usando el vbulletin 3.7.x por si esto importa mucho XD.

La cosa es que instale el producto de "Floating guest notity" Floating Guest Notify - vBulletin.org Forum

Pero tengo un inconveniente y es que ahora que ya puse la imagen y todo esta no encaja con la de atras. Logre modificar el ancho para que la imagen no se vea mal, pero la altura no puedo hacerlo.

Disculpen si esto ya esta repetido, pero no encontre a alguien con un problema similar

Ver el archivo adjunto 4050
 

Mertiliuss

Gamma
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Desde
30 Jul 2009
Mensajes
188
No utilizes ese hack, desactivalo y prueba con esto:

Debes editar la plantilla header y agregar el siguiente codigo, donde tu lo estimes:

Insertar CODE, HTML o PHP:
[COLOR=#000000][COLOR=#007700]<if [/COLOR][COLOR=#0000BB]condition[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"$show[guest]"[/COLOR][COLOR=#007700]>
<!-- [/COLOR][COLOR=#0000BB]Improve registration Rates [/COLOR][COLOR=#007700]-->
<[/COLOR][COLOR=#0000BB]style type[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"text/css"[/COLOR][COLOR=#007700]>
[/COLOR][COLOR=#FF8000]#topbar{
    [/COLOR][COLOR=#0000BB]position[/COLOR][COLOR=#007700]:[/COLOR][COLOR=#0000BB]absolute[/COLOR][COLOR=#007700];
    [/COLOR][COLOR=#0000BB]border[/COLOR][COLOR=#007700]: [/COLOR][COLOR=#0000BB]0px solid black[/COLOR][COLOR=#007700];
    [/COLOR][COLOR=#0000BB]padding[/COLOR][COLOR=#007700]: [/COLOR][COLOR=#0000BB]5px[/COLOR][COLOR=#007700];
    [/COLOR][COLOR=#0000BB]background[/COLOR][COLOR=#007700]-[/COLOR][COLOR=#0000BB]color[/COLOR][COLOR=#007700]: ;
    [/COLOR][COLOR=#0000BB]width[/COLOR][COLOR=#007700]: [/COLOR][COLOR=#0000BB]300px[/COLOR][COLOR=#007700];
    [/COLOR][COLOR=#0000BB]visibility[/COLOR][COLOR=#007700]: [/COLOR][COLOR=#0000BB]hidden[/COLOR][COLOR=#007700];
    [/COLOR][COLOR=#0000BB]z[/COLOR][COLOR=#007700]-[/COLOR][COLOR=#0000BB]index[/COLOR][COLOR=#007700]: [/COLOR][COLOR=#0000BB]200[/COLOR][COLOR=#007700];
    [/COLOR][COLOR=#0000BB]top[/COLOR][COLOR=#007700]: [/COLOR][COLOR=#0000BB]27px[/COLOR][COLOR=#007700];
    [/COLOR][COLOR=#0000BB]height[/COLOR][COLOR=#007700]: [/COLOR][COLOR=#0000BB]134px[/COLOR][COLOR=#007700];
    [/COLOR][COLOR=#0000BB]left[/COLOR][COLOR=#007700]: [/COLOR][COLOR=#0000BB]13px[/COLOR][COLOR=#007700];
}
</[/COLOR][COLOR=#0000BB]style[/COLOR][COLOR=#007700]>
<[/COLOR][COLOR=#0000BB]script type[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"text/javascript"[/COLOR][COLOR=#007700]>
var [/COLOR][COLOR=#0000BB]persistclose[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#0000BB]0 [/COLOR][COLOR=#FF8000]//set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
[/COLOR][COLOR=#007700]var [/COLOR][COLOR=#0000BB]startX [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]30 [/COLOR][COLOR=#FF8000]//set x offset of bar in pixels
[/COLOR][COLOR=#007700]var [/COLOR][COLOR=#0000BB]startY [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]5 [/COLOR][COLOR=#FF8000]//set y offset of bar in pixels
[/COLOR][COLOR=#007700]var [/COLOR][COLOR=#0000BB]verticalpos[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"fromtop" [/COLOR][COLOR=#FF8000]//enter "fromtop" or "frombottom"
[/COLOR][COLOR=#007700]function [/COLOR][COLOR=#0000BB]iecompattest[/COLOR][COLOR=#007700](){
return ([/COLOR][COLOR=#0000BB]document[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]compatMode [/COLOR][COLOR=#007700]&& [/COLOR][COLOR=#0000BB]document[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]compatMode[/COLOR][COLOR=#007700]!=[/COLOR][COLOR=#DD0000]"BackCompat"[/COLOR][COLOR=#007700])? [/COLOR][COLOR=#0000BB]document[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]documentElement [/COLOR][COLOR=#007700]: [/COLOR][COLOR=#0000BB]document[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]body
[/COLOR][COLOR=#007700]}
function [/COLOR][COLOR=#0000BB]get_cookie[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]Name[/COLOR][COLOR=#007700]) {
var [/COLOR][COLOR=#0000BB]search [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]Name [/COLOR][COLOR=#007700]+ [/COLOR][COLOR=#DD0000]"="
[/COLOR][COLOR=#007700]var [/COLOR][COLOR=#0000BB]returnvalue [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#DD0000]""[/COLOR][COLOR=#007700];
if ([/COLOR][COLOR=#0000BB]document[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]cookie[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]length [/COLOR][COLOR=#007700]> [/COLOR][COLOR=#0000BB]0[/COLOR][COLOR=#007700]) {
[/COLOR][COLOR=#0000BB]offset [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]document[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]cookie[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]indexOf[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]search[/COLOR][COLOR=#007700])
if ([/COLOR][COLOR=#0000BB]offset [/COLOR][COLOR=#007700]!= -[/COLOR][COLOR=#0000BB]1[/COLOR][COLOR=#007700]) {
[/COLOR][COLOR=#0000BB]offset [/COLOR][COLOR=#007700]+= [/COLOR][COLOR=#0000BB]search[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]length
end [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]document[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]cookie[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]indexOf[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]";"[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000BB]offset[/COLOR][COLOR=#007700]);
if ([/COLOR][COLOR=#0000BB]end [/COLOR][COLOR=#007700]== -[/COLOR][COLOR=#0000BB]1[/COLOR][COLOR=#007700]) [/COLOR][COLOR=#0000BB]end [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]document[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]cookie[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]length[/COLOR][COLOR=#007700];
[/COLOR][COLOR=#0000BB]returnvalue[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#0000BB]unescape[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]document[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]cookie[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]substring[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]offset[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000BB]end[/COLOR][COLOR=#007700]))
}
}
return [/COLOR][COLOR=#0000BB]returnvalue[/COLOR][COLOR=#007700];
}
function [/COLOR][COLOR=#0000BB]closebar[/COLOR][COLOR=#007700](){
if ([/COLOR][COLOR=#0000BB]persistclose[/COLOR][COLOR=#007700])
[/COLOR][COLOR=#0000BB]document[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]cookie[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"remainclosed=1"
[/COLOR][COLOR=#0000BB]document[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]getElementById[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]"topbar"[/COLOR][COLOR=#007700]).[/COLOR][COLOR=#0000BB]style[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]visibility[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"hidden"
[/COLOR][COLOR=#007700]}
function [/COLOR][COLOR=#0000BB]staticbar[/COLOR][COLOR=#007700](){
[/COLOR][COLOR=#0000BB]barheight[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#0000BB]document[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]getElementById[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]"topbar"[/COLOR][COLOR=#007700]).[/COLOR][COLOR=#0000BB]offsetHeight
[/COLOR][COLOR=#007700]var [/COLOR][COLOR=#0000BB]ns [/COLOR][COLOR=#007700]= ([/COLOR][COLOR=#0000BB]navigator[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]appName[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]indexOf[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]"Netscape"[/COLOR][COLOR=#007700]) != -[/COLOR][COLOR=#0000BB]1[/COLOR][COLOR=#007700]) || [/COLOR][COLOR=#0000BB]window[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]opera[/COLOR][COLOR=#007700];
var [/COLOR][COLOR=#0000BB]d [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]document[/COLOR][COLOR=#007700];
function [/COLOR][COLOR=#0000BB]ml[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]id[/COLOR][COLOR=#007700]){
var [/COLOR][COLOR=#0000BB]el[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#0000BB]d[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]getElementById[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]id[/COLOR][COLOR=#007700]);
if (![/COLOR][COLOR=#0000BB]persistclose [/COLOR][COLOR=#007700]|| [/COLOR][COLOR=#0000BB]persistclose [/COLOR][COLOR=#007700]&& [/COLOR][COLOR=#0000BB]get_cookie[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]"remainclosed"[/COLOR][COLOR=#007700])==[/COLOR][COLOR=#DD0000]""[/COLOR][COLOR=#007700])
[/COLOR][COLOR=#0000BB]el[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]style[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]visibility[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"visible"
[/COLOR][COLOR=#007700]if([/COLOR][COLOR=#0000BB]d[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]layers[/COLOR][COLOR=#007700])[/COLOR][COLOR=#0000BB]el[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]style[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#0000BB]el[/COLOR][COLOR=#007700];
[/COLOR][COLOR=#0000BB]el[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]sP[/COLOR][COLOR=#007700]=function([/COLOR][COLOR=#0000BB]x[/COLOR][COLOR=#007700],[/COLOR][COLOR=#0000BB]y[/COLOR][COLOR=#007700]){[/COLOR][COLOR=#0000BB]this[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]style[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]left[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#0000BB]x[/COLOR][COLOR=#007700]+[/COLOR][COLOR=#DD0000]"px"[/COLOR][COLOR=#007700];[/COLOR][COLOR=#0000BB]this[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]style[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]top[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#0000BB]y[/COLOR][COLOR=#007700]+[/COLOR][COLOR=#DD0000]"px"[/COLOR][COLOR=#007700];};
[/COLOR][COLOR=#0000BB]el[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]x [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]startX[/COLOR][COLOR=#007700];
if ([/COLOR][COLOR=#0000BB]verticalpos[/COLOR][COLOR=#007700]==[/COLOR][COLOR=#DD0000]"fromtop"[/COLOR][COLOR=#007700])
[/COLOR][COLOR=#0000BB]el[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]y [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]startY[/COLOR][COLOR=#007700];
else{
[/COLOR][COLOR=#0000BB]el[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]y [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]ns [/COLOR][COLOR=#007700]? [/COLOR][COLOR=#0000BB]pageYOffset [/COLOR][COLOR=#007700]+ [/COLOR][COLOR=#0000BB]innerHeight [/COLOR][COLOR=#007700]: [/COLOR][COLOR=#0000BB]iecompattest[/COLOR][COLOR=#007700]().[/COLOR][COLOR=#0000BB]scrollTop [/COLOR][COLOR=#007700]+ [/COLOR][COLOR=#0000BB]iecompattest[/COLOR][COLOR=#007700]().[/COLOR][COLOR=#0000BB]clientHeight[/COLOR][COLOR=#007700];
[/COLOR][COLOR=#0000BB]el[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]y [/COLOR][COLOR=#007700]-= [/COLOR][COLOR=#0000BB]startY[/COLOR][COLOR=#007700];
}
return [/COLOR][COLOR=#0000BB]el[/COLOR][COLOR=#007700];
}
[/COLOR][COLOR=#0000BB]window[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]stayTopLeft[/COLOR][COLOR=#007700]=function(){
if ([/COLOR][COLOR=#0000BB]verticalpos[/COLOR][COLOR=#007700]==[/COLOR][COLOR=#DD0000]"fromtop"[/COLOR][COLOR=#007700]){
var [/COLOR][COLOR=#0000BB]pY [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]ns [/COLOR][COLOR=#007700]? [/COLOR][COLOR=#0000BB]pageYOffset [/COLOR][COLOR=#007700]: [/COLOR][COLOR=#0000BB]iecompattest[/COLOR][COLOR=#007700]().[/COLOR][COLOR=#0000BB]scrollTop[/COLOR][COLOR=#007700];
[/COLOR][COLOR=#0000BB]ftlObj[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]y [/COLOR][COLOR=#007700]+= ([/COLOR][COLOR=#0000BB]pY [/COLOR][COLOR=#007700]+ [/COLOR][COLOR=#0000BB]startY [/COLOR][COLOR=#007700]- [/COLOR][COLOR=#0000BB]ftlObj[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]y[/COLOR][COLOR=#007700])/[/COLOR][COLOR=#0000BB]8[/COLOR][COLOR=#007700];
}
else{
var [/COLOR][COLOR=#0000BB]pY [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]ns [/COLOR][COLOR=#007700]? [/COLOR][COLOR=#0000BB]pageYOffset [/COLOR][COLOR=#007700]+ [/COLOR][COLOR=#0000BB]innerHeight [/COLOR][COLOR=#007700]- [/COLOR][COLOR=#0000BB]barheight[/COLOR][COLOR=#007700]: [/COLOR][COLOR=#0000BB]iecompattest[/COLOR][COLOR=#007700]().[/COLOR][COLOR=#0000BB]scrollTop [/COLOR][COLOR=#007700]+ [/COLOR][COLOR=#0000BB]iecompattest[/COLOR][COLOR=#007700]().[/COLOR][COLOR=#0000BB]clientHeight [/COLOR][COLOR=#007700]- [/COLOR][COLOR=#0000BB]barheight[/COLOR][COLOR=#007700];
[/COLOR][COLOR=#0000BB]ftlObj[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]y [/COLOR][COLOR=#007700]+= ([/COLOR][COLOR=#0000BB]pY [/COLOR][COLOR=#007700]- [/COLOR][COLOR=#0000BB]startY [/COLOR][COLOR=#007700]- [/COLOR][COLOR=#0000BB]ftlObj[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]y[/COLOR][COLOR=#007700])/[/COLOR][COLOR=#0000BB]8[/COLOR][COLOR=#007700];
}
[/COLOR][COLOR=#0000BB]ftlObj[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]sP[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]ftlObj[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]x[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000BB]ftlObj[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]y[/COLOR][COLOR=#007700]);
[/COLOR][COLOR=#0000BB]setTimeout[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]"stayTopLeft()"[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000BB]10[/COLOR][COLOR=#007700]);
}
[/COLOR][COLOR=#0000BB]ftlObj [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]ml[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]"topbar"[/COLOR][COLOR=#007700]);
[/COLOR][COLOR=#0000BB]stayTopLeft[/COLOR][COLOR=#007700]();
}
if ([/COLOR][COLOR=#0000BB]window[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]addEventListener[/COLOR][COLOR=#007700])
[/COLOR][COLOR=#0000BB]window[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]addEventListener[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]"load"[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000BB]staticbar[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000BB]false[/COLOR][COLOR=#007700])
else if ([/COLOR][COLOR=#0000BB]window[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]attachEvent[/COLOR][COLOR=#007700])
[/COLOR][COLOR=#0000BB]window[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]attachEvent[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]"onload"[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000BB]staticbar[/COLOR][COLOR=#007700])
else if ([/COLOR][COLOR=#0000BB]document[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]getElementById[/COLOR][COLOR=#007700])
[/COLOR][COLOR=#0000BB]window[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]onload[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#0000BB]staticbar
</script>
[/COLOR] 
 
<div id="topbar">
<p align="right"><a href="" onClick="closebar(); return false"><img src="RUTA DEL ICONO PARA CERRAR LA VENTANA" border="0" /></a>
  </align>
<a href="http://www.tudominio.com/foro/register.php"><img src="RUTA DE LA IMAGEN DEL REGISTRO"></a></td>
</div>
<!-- End Improve Registration -->
 </if>  [/COLOR]

Remplaza lo que pide y listo....

Saludos ^^
 

YuKuSaN

Beta
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Desde
17 May 2008
Mensajes
77
ok ya desinstale el que usaba, pero tengo la duda de que poner en "ruta del icono al cerrar ventana" ahi que pongo? y otra duda, donde le ajusto para colocar la imagen porque me sale muy arriba y a la izquierda.
 
Arriba