![]() |
Guest Floating Banner for VB4
1 Attachment(s)
Dear friends:
Trying to help some users, I copy the codes to have a guest floating banner like the one I got in my forum Agroforum.pe The only problem is that when i scroll down the page, the banner goes down too and desappears from the screen, but this is a good mod to gain more users. It's in spanish right now, but yoy can put the message you want. Paste this code at the begginig of HEADER: Code:
<vb:if condition="$show['guest']"> This is the code to redirect the image to close the banner: Code:
<p align="right"><a href="" onClick="closebar(); return false"><img src="http://static.sunnypages.jp/img/map/close_icon.gif" border="0" /></a> Code:
<img src="http://www.vbhispano.com/foros/images/icons/icon4.png" /> <b>Hola invitado! Para tener acceso completo y sin publicidades <a href="registro/"><u>registrese gratuitamente!</u></a></b> Code:
#topbar { Bye Bruno |
You should place your code in code tags as part of the TOS. This way unlicensed members cannot see it.
|
is this working?
|
Quote:
Luck |
1 Attachment(s)
Picture of the mod...
It's not a very simple mod, but its the only one for vb4 -I think-. Hope someone like it..:up: |
Nice mate, ill put in soon.
|
Hi,
Can you please let me know how to use it with Google Adsence. Regards. Bhanu |
You seem to have stopped it from disappearing below when the page is scrolled down. Can you tell us how you managed to do that?
|
For those who are interested, here's how I solved it
HTML Code:
<vb:if condition="$show['guest']"> Code:
#topbar { |
Thanks for sharing this.
I'm using it to show a cookie warning (EU based site). |
All times are GMT. The time now is 01:38 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|