it is working but it prevents working of ck editor.
Quote:
Originally Posted by Da-Vinci
Works fine for me but the way I found it best to implement this was to do the following.
In your Header Template add this to the very top.
HTML Code:
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/bar.js"></script>
<!--[if lt IE 7]>
<style type="text/css">
div, img { behavior: url(iepngfix.htc) }
</style>
<![endif]-->
<link href="css/style.css" rel="stylesheet" type="text/css" />
Then in your Navbar Template add this.
HTML Code:
<div class="dock" id="dock">
<div class="dock-container">
<a class="dock-item" href="your link here"><img src="images/home.png" alt="home" /><span>home</span></a>
<a class="dock-item" href="your link here"><img src="images/email.png" alt="contact us" /><span>contact us</span></a>
<a class="dock-item" href="your link here"><img src="images/portfolio.png" alt="usercp" /><span>usercp</span></a>
<a class="dock-item" href="your link here"><img src="images/fb.png" alt="facebook" /><span>follow as on facebook</span></a>
<a class="dock-item" href="your link here"><img src="images/tw.png" alt="twitter" /><span>follow as on twitter</span></a>
<a class="dock-item" href="your link here"><img src="images/history.png" alt="time" /><span>time</span></a>
<a class="dock-item" href="your link here"><img src="images/calendar.png" alt="calendar" /><span>calendar</span></a>
<a class="dock-item" href="your link here"><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>
|