PDA

View Full Version : Forum Home Enhancements - Dock in Rock !!!


kawe
17 Mar 2009, 17:08
Simple mod.
From http://www.ndesign-studio.com/blog/mac/css-dock-menu
1. Go to navbar template
Find : <!-- breadcrumb, login, pm info -->add before :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>CSS Mac Dock</title>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/interface.js"></script>

<!--[if lt IE 7]>
<style type="text/css">
div, img { behavior: url(iepngfix.htc) }
</style>
<![endif]-->

<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="dock" id="dock">
<div class="dock-container">
<a class="dock-item" href="#"><img src="images/home.png" alt="home" /><span>Home</span></a>
<a class="dock-item" href="#"><img src="images/email.png" alt="contact" /><span>Contact</span></a>
<a class="dock-item" href="#"><img src="images/portfolio.png" alt="portfolio" /><span>Portfolio</span></a>
<a class="dock-item" href="#"><img src="images/music.png" alt="music" /><span>Music</span></a>
<a class="dock-item" href="#"><img src="images/video.png" alt="video" /><span>Video</span></a>
<a class="dock-item" href="#"><img src="images/history.png" alt="history" /><span>History</span></a>
<a class="dock-item" href="#"><img src="images/calendar.png" alt="calendar" /><span>Calendar</span></a>
<a class="dock-item" href="#"><img src="images/rss.png" alt="rss" /><span>RSS</span></a>
</div>
</div>
<script type="text/javascript">

$(document).ready(
function()
{
$('#dock').Fisheye(
{
maxWidth: 50,
items: 'a',
itemsText: 'span',
container: '.dock-container',
itemWidth: 40,
proximity: 90,
halign : 'center'
}
)
}
);

</script>
</body>
</html>
2. upload all file under " upload " folder to ur forum roots
3. For more icons here http://www.iconspedia.com/

u can add/change icon and link with :
<a class="dock-item" href="#"><img src="images/home.png" alt="home" /><span>Home</span></a> remember please click install

OcR Envy
17 Mar 2009, 18:23
No credit to the origonal author? Shame on you.

http://www.ndesign-studio.com/blog/mac/css-dock-menu

sensimilla
17 Mar 2009, 18:28
Nice hack, and thanks for the icons site :)

DjEddie
17 Mar 2009, 19:41
installed into another navbar mod.. works perfect... nice one for this :)

Jasem
17 Mar 2009, 20:14
Great, thank you!

Installed

schlottkej
17 Mar 2009, 20:32
I had this on one of my test sites for a while (few months, about a year ago).. it won't be a solid design because when someone wants to click a regular navbar link they begin to make the hover flicker.. its pretty unprofessional...

Cool idea, but it needs to be added to a div below the forum or something.

TheLastSuperman
17 Mar 2009, 23:14
No credit to the origonal author? Shame on you.

http://www.ndesign-studio.com/blog/mac/css-dock-menu

I found mine here..

http://www.vbulletin.org/forum/showthread.php?t=203535

Use it & love it plus tweaking the code makes for good results!

TilkiBey
18 Mar 2009, 15:09
good job man ;)
maybe i can add to my navbar (tilkibey navbar) ;)

K4GAP
18 Mar 2009, 20:25
When I first installed this it made my forums disappear. So I stripped the suggested code down to...
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/interface.js"></script>

<!--[if lt IE 7]>
<style type="text/css">
div, img { behavior: url(iepngfix.htc) }
</style>
<![endif]-->

<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="dock" id="dock">
<div class="dock-container">
<a class="dock-item" href="#"><img src="images/home.png" alt="home" /><span>Home</span></a>
<a class="dock-item" href="#"><img src="images/email.png" alt="contact" /><span>Contact</span></a>
<a class="dock-item" href="#"><img src="images/portfolio.png" alt="portfolio" /><span>Portfolio</span></a>
<a class="dock-item" href="#"><img src="images/music.png" alt="music" /><span>Music</span></a>
<a class="dock-item" href="#"><img src="images/video.png" alt="video" /><span>Video</span></a>
<a class="dock-item" href="#"><img src="images/history.png" alt="history" /><span>History</span></a>
<a class="dock-item" href="#"><img src="images/calendar.png" alt="calendar" /><span>Calendar</span></a>
<a class="dock-item" href="#"><img src="images/rss.png" alt="rss" /><span>RSS</span></a>
</div>
</div>
<script type="text/javascript">

$(document).ready(
function()
{
$('#dock').Fisheye(
{
maxWidth: 50,
items: 'a',
itemsText: 'span',
container: '.dock-container',
itemWidth: 40,
proximity: 90,
halign : 'center'
}
)
}
);

</script>

After doing this everything worked great and I got my forums back!

marshal_ramdev
19 Mar 2009, 18:46
thank you

mikey1991
29 Mar 2009, 17:12
Nice, installed

optrex
31 Mar 2009, 02:28
I created my own variant to this one a couple of years back. Its running on http://www.midlandsweather.org.uk/ - great idea and gives plently of options as you can see. My code is stripped down a lot more, but good luck with it.

Dj Sagi
31 Mar 2009, 13:42
it is ot good
it is destroy my forum
my forum need to wait for 400 things i dont know why...
and in ff it is not regular...
i dont like this...
but thx...

baghdad4ever
09 Jun 2009, 22:46
thanks installed

but when the page load there is something huge count in the button


see the attachment

and please explain what is that mean?