26
Quote:
tzvook wrote:
Hello Solo ... All
This module is great and I use it on 2 sites, But the scrollDown menu is not an SEO one, just it's main links, the rest goes out of JS links, actualy the Scrolldown menu of the default theme is SE optimised: (originaly came from http://www.gosu.pl and is WC3 compatiable and very easy to customise ..... I even Hacked the JS a bit to work fully 3 levels in RTL in FF and IE )
He he... Forgot who you were talkin' to, uh?
Just for your information, I have added a script (since mm 1.5) which detect wether the user is a bot or not. Is it's a bot, the menu is automatically converted into a classical and SEO compliant list.
Here is the code used:
if (
eregi( "bot", getenv("HTTP_USER_AGENT") ) ||
eregi( "spider", getenv("HTTP_USER_AGENT") ) ||
eregi( "robot", getenv("HTTP_USER_AGENT") ) ||
eregi( "crawler", getenv("HTTP_USER_AGENT") ) )
{
$block['format'] = "ul";
} else {
$block['format'] = $options[0];
}
Thanks to myReferer, I could spot the most common bot names...
Of course, this function is deactivated when cache is set on bloc... That's the drawback of the function.
Anyway, the dynamic menu you are pointing out is really interesting... I could have a go on this one, but for a next version (or maybe you could adapt it yourself?).
Thanks for the info.