PDA

View Full Version : Mini Mods - Icons with rollover effect below navbar


Sofia
29 May 2009, 10:51
Icons with rollover effect below navbar




Description
This mod allows you to add an icons box below your navbar. Icons have an increase effect simply due to a rollover. No Javascript code. This mod works with all versions of Firefox, IE and Nescape.


http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=214826

https://www.vbulletin.org/forum/external/2009/05/9.png




In your template Navbar, add at the bottom:



<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="100%" align="center">
<tr>

<td class="alt1" align="center">

<a href="www.link.com/albums" onMouseOver="icon1.src='images/misc/icon1_big.png'" onMouseOut="icon1.src='images/misc/icon1_small.png'"><img src="images/misc/icon1_small.png" border="0" name="icon1" alt="title" HSPACE=0 VSPACE=0></a>

<a href="www.link.com/logs" onMouseOver="icon2.src='images/misc/icon2_big.png'" onMouseOut="icon2.src='images/misc/icon2_small.png'"><img src="images/misc/icon2_small.png" border="0" name="icon2" alt="title" HSPACE=0 VSPACE=0></a>

<a href="www.link.com/partner" onMouseOver="icon3.src='images/misc/icon3_big.png'" onMouseOut="icon3.src='images/misc/icon3_small.png'"><img src="images/misc/icon3_small.png" border="0" name="icon3" alt="title" HSPACE=0 VSPACE=0></a>

</td></tr></table>
<br />

1. Upload

You must upload your icons into "images/misc".
For an icon, you must have 2 images : a small image for egs: 50x50px) and a big image (for egs: 100x100px). Big images appears on mouseover.

Icons name:
icon1_small.png
icon1_big.png
icon2_small.png
icon2_big.png
etc...



2. In the previous code, please modify:

Example: Icon 1

----------------------------------------------------------------------
<a href="www.link.com/albums" -- Enter your redirect link
----------------------------------------------------------------------


----------------------------------------------------------------------
alt="title" -- Enter your image title
----------------------------------------------------------------------


----------------------------------------------------------------------
icon1.src='images/misc/icon1_big.png
icon1.src='images/misc/icon1_small.png
<img src="images/misc/icon1_small.png"
name="icon1"
If you add more icons, you must rename this by icon4, icon5, icon6, etc...
----------------------------------------------------------------------

Enjoy! :)

CrazyProgrammer
29 May 2009, 11:54
Vey Nice sofia like it :)

Coroner
29 May 2009, 15:30
This seems similar to this (Fisheye Menue) ? Isn't it ?
http://www.vbulletin.org/forum/showthread.php?t=160422

Sofia
29 May 2009, 15:37
This seems similar to this (Fisheye Menue) ? Isn't it ?
http://www.vbulletin.org/forum/showthread.php?t=160422

Hi Coroner.
No. It's just a template modification to include rollover. Fisheye Menue add a "zoom in and increase" effect on icon and use JS files (I think).

pein87
29 May 2009, 16:19
nice work your very creative sofia but as a rule of thumbs all mouse events are small caps xhtml doesnt allow the old onMouseOver events, good job keep up that creativity.

goxy63
29 May 2009, 21:36
Awesome
Installed, nominated, rated

I must say that I love you Sofia :)

In 'Vb' way of course

Cheers

TheLastSuperman
29 May 2009, 21:46
Hi Coroner.
No. It's just a template modification to include rollover. Fisheye Menue add a "zoom in and increase" effect on icon and use JS files (I think).

2 others like it as well on here Coroner but this one is less and no files to upload, even if similar she had the time and creativity to add the right elements together and make it simple for everyone.

Good job, glad to see it's not just another similar mod yet it is, creativity imo :D.

S-MAN

Sofia
29 May 2009, 21:51
2 others like it as well on here Coroner but this one is less and no files to upload, even if similar she had the time and creativity to add the right elements together and make it simple for everyone.

Good job, glad to see it's not just another similar mod yet it is, creativity imo :D.

S-MAN

Thank you, TheLastSuperman :)

goxy63
05 Jun 2009, 00:47
Just one small question

I would like that row does not stretch out when I hoover with mouse over small icon, that is I would like to keep row hight lets say 128px(same as big icon)
I dont like that rest of my forums jump every time....
Would be cool that small icons are centered by width and hight, and when hoover on them row does not stretch out

Any pointers for this

Thanks
_____________
Just got some free time and ....found how to fix my problem
Just after code for width added
height="128"
and also added conditionals for guests, I dont like that some icons are vissible for them...
before
<a href="http://....
added
<if condition="$show[member]">

marshal_ramdev
07 Jun 2009, 07:15
its just like Dock in Rock .. Mod..

http://www.vbulletin.org/forum/showthread.php?t=208613&highlight=dock+rock

rob01
07 Jun 2009, 22:08
nice release :D

arieltete
07 Oct 2009, 12:23
why the forum jump down 0.0

Thelonius Beck
31 Dec 2009, 20:35
why the forum jump down 0.0

Because you need to set the table height to a value larger than that of your icon_big.gif images.





Excellent idea Sofia. The "fisheye" versions conflicted with other Java based mods on my site. Yours worked perfectly for me, thank you.

betts02
03 Jan 2010, 16:18
installed and works great, cheers

Gamelobby
18 Feb 2011, 00:53
Because you need to set the table height to a value larger than that of your icon_big.gif images.
I realize this is old, but how do you set the table height bigger.?

Thanks