phplayers menu on the right - how do I make the sub menus go left?
phplayers menu on the right - how do I make the sub menus go left?
Can anyone help? I want to place the phplayers menu (vertical) on the right, and have the sub-menus appear to the left so they don't increase the width of my pages. I just can't seem to find the place to do it.
Re: phplayers menu on the right - how do I make the sub menus go left?
I don't know about the template you are using. You need a template with a rightColumn where you insert your phplayers tag, and the content tag should be in a column to the left (you can use divs or tables for this layout).
Next you should override the default CSS setting for phpLayers (e.g. put them in the stylesheet part of your template). The default CSS is found in \modules\PHPLayers\phplayers.
I think you only have to experiment with these two for the submenu:
I have not tried this myself so I cannot give you any values.
.submenu {
position: absolute;
left: 0;
top: 0;
visibility: hidden;
}
.subframe {
position: relative;
display: block;
background-color: #EDF2F5;
border: 1px solid #64879d;
}
Jon
Next you should override the default CSS setting for phpLayers (e.g. put them in the stylesheet part of your template). The default CSS is found in \modules\PHPLayers\phplayers.
I think you only have to experiment with these two for the submenu:
I have not tried this myself so I cannot give you any values.
.submenu {
position: absolute;
left: 0;
top: 0;
visibility: hidden;
}
.subframe {
position: relative;
display: block;
background-color: #EDF2F5;
border: 1px solid #64879d;
}
Jon
Re: phplayers menu on the right - how do I make the sub menus go left?
Many thanks for this - led me in the right direction