|
Rank: Member Groups: Member
Joined: 8/19/2008 Posts: 14
|
Hello
I have EO version 2007.2
I have a masterpage with a SlideMenu on it. If I generate from a template all the images for the menu items' "Hover-Over" and "Selected" styles work fine.
If I replace the images on these properties (Image-HoverUrl,Image-SelectedUrl,Image-Url) with my own it does not work.
I have used their corresponding CSS properties e.g. SelectedStyle-CssText, HoverStyle-CssText and set "background-image:url(Images/UI/fadedbackgrounds/fading_background_28.JPG)" and this works from any page from the root directory. As I understand it, if I use the "Image-HoverURL" property and include the "~" in the front it will correctly map from any page in the web site.
I have tried setting the ImageBaseDirectory on the Page_Init event to the directory where the images are contained and then only using the name of the image in the markup e.g.
//c# slideMenu.ImageBaseDirectory = "~/Images/UI/fadedbackgrounds/";
//markup Image-Url="fading_background_19.JPG"
This also doesn't seem to work.
Thank you in advance...
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
Hi,
They suppose to work, do you have the page online so that we can take a look?
Thanks
|
|
Rank: Member Groups: Member
Joined: 8/19/2008 Posts: 14
|
Hello
I didn't have a online copy so I made a test project with the intention of mailing it. Anyway turns out the test project works fine... so copied and pasted the SlideMenu form the test project to the working project and its still working as it should.
Thanks for the quick reply.
Regards Andre
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
Glad to hear it's working. You may want to compare the working and non-working (if you still have it) page to find out why. It won't start working just because you copied it. Something must have been changed.
Thanks for the update anyway!
|
|