Hi,
Here is a possible bug.
I downloaded version 4.0 Beta 1.12 and in the function mm_style you are collecting the value of subimage but not the value of topbarimage. The top bar image value is given the same value as subimage in your source code.
I was using the horizontal_data.js file where topbarimage is given a value arrow_down.gif (which does not exists by the way in your images directory, it should be arrowdn.gif) but the value is not used in your source code.
http://milonic.com/4beta/horizontal.htm
Thanks,
Bernard
topbarimage missing in source code
This is something we have changed.
What you can do now is create copies of styles, change just 1 property and then this becomes a completely different style.
Here's the code.
What this does is create 2 styles. I know it's more code and probably not as simple as before but it is so much more felxible.
Cheers
Andy
What you can do now is create copies of styles, change just 1 property and then this becomes a completely different style.
Here's the code.
Code: Select all
with(vertStyle=new mm_style()){
onbgcolor = "#ffffcc";
oncolor = "#000000";
offbgcolor = "#7799ff";
offcolor = "#00008b";
bordercolor = "#000000";
borderstyle = "solid";
subimage = "images/arrow.gif";
}
horizStyle=new copyOf(vertStyle)
horizStyle.subimage="images/3darrow.gif";
horizStyle.onsubimage="images/3darrow_down.gif";
Cheers
Andy
Hi Andy
Where do you place :
horizStyle=new copyOf(vertStyle)
horizStyle.subimage="images/arrowdn.gif";
horizStyle.onsubimage="images/downarrow.gif";
and do I need to rem out the standard syntax as below ?
//topbarimage = "images/arrowdn.gif";
//topbarimageloc = "right"
//subimage = "images/arrow.gif";
//subimageloc = "center;middle"
As I am still only showing one arrow regardless of what level you view.
Where do you place :
horizStyle=new copyOf(vertStyle)
horizStyle.subimage="images/arrowdn.gif";
horizStyle.onsubimage="images/downarrow.gif";
and do I need to rem out the standard syntax as below ?
//topbarimage = "images/arrowdn.gif";
//topbarimageloc = "right"
//subimage = "images/arrow.gif";
//subimageloc = "center;middle"
As I am still only showing one arrow regardless of what level you view.