Quote:
Originally Posted by rokked
How would you align this to the left or the right. All the normal tricks seem to not work.
|
in the afm_fisheye_menu template look for this code:
Code:
$('#dock').Fisheye(
{
maxWidth: 50,
items: 'a',
itemsText: 'span',
container: '.dock-container',
itemWidth: 40,
proximity: 90,
halign : 'center'
}
change the 'halign' value to left, center, or right.. depending where you want it to go..
here is what my code looks like:
Code:
$('#dock').Fisheye(
{
maxWidth: 40,
items: 'a',
itemsText: 'span',
container: '.dock-container',
itemWidth: 30,
proximity: 30,
halign : 'right'
}
After this you need to go to the afm_fisheye_stylesheet template and mess with the CSS code until you have it aligned exactly where you want it... here's an example of my code:
Code:
.dock {
position: relative;
left: -7%;
bottom: 0px;
height: 50px;
}
.dock-container {
position: absolute;
height: 50px;
padding-left: 20px;
}

you can see the result of this coding at
my site