2010-04-21, 18:38:11
2010-04-23, 01:19:18
Every link in the menu that GetSimple generates has its own class. You could use CSS with your favourite image replacement technique to give each link in the main menu an image and hide the text.
2010-04-26, 19:20:05
hello.
I use the <?php menu_master (); ?> function.
And when I edit the html source code I don't see the class of each link...
is it normal ? Is it somewhere to setup this class ?
thanks
I use the <?php menu_master (); ?> function.
And when I edit the html source code I don't see the class of each link...
is it normal ? Is it somewhere to setup this class ?
thanks
2010-04-26, 19:46:53
another question ...
If I hide the text ... How can I click the link ?
The "li" is not clickable whithout link :'-(
If I hide the text ... How can I click the link ?
The "li" is not clickable whithout link :'-(
2010-04-26, 20:33:09
you hide the text like so:
li a {display:block;text-indent:-9999px;}
the link (a) is then expanded to take up the whole li element. When you hide the text using text-indent, the text gets thrown way off screen, but the clickable a:href is still there inside the LI as a block element.
li a {display:block;text-indent:-9999px;}
the link (a) is then expanded to take up the whole li element. When you hide the text using text-indent, the text gets thrown way off screen, but the clickable a:href is still there inside the LI as a block element.
2010-04-27, 01:09:04
Thanks !
Ok ! It's working (on firefox) !
But is it ok with all browsers ? Did you test this tip with IE6 for example ?
Ok ! It's working (on firefox) !
But is it ok with all browsers ? Did you test this tip with IE6 for example ?
2010-04-27, 16:50:52
A negative text-indent to hide text from browsers has been around for years now. You’ll find it works on every CSS supporting browser around these days.