topnav links as image

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
2/23/2012 5:45:40 AM
Gravatar
Total Posts 2

topnav links as image

Hi everybody. I'm using mojoportal on an website but we'd like to put images for the topnav links ( homelink, sitemap, login, search ) so I've used css Image replacement techniques to achieve that, its not the best solution I think, but it's working for now. But I can't put alternate text to that images ( as them are at background ) and also cannot put title attribute on those links. Anybody knows how could I get this simple effect ?

Thanks in advance

2/27/2012 7:04:48 AM
Gravatar
Total Posts 18439

Re: topnav links as image

Hi,

I've logged this in our project tracker to make it easier to use images and tooltips. However I think the background image solution is best because it can reduce http requests since the images can be in a CSS sprite whereas if we add the ability to specify an imageUrl it will be a separate http request for each link with an image. You could use both a background image and the normal text by setting the background position and padding so that the text is visible next to the image.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.