Auto Nav issue
Permalink
Hi Guys
i'm running a dropdown Javascript menu with the following code:
<?php
$bt = BlockType::getByHandle('autonav');
$bt->controller->displayPages = 'custom';
$bt->controller->displayPagesCID = '50';
$bt->controller->orderBy = 'display_asc';
$bt->controller->displaySubPages = 'all';
$bt->controller->displaySubPageLevels = 'custom';
$bt->controller->displaySubPageLevelsNum = '1';
$bt->render('view');
?>
But it works in everything except IE8 and I have no idea why. Anyone else found issues with this?
Cheers
i'm running a dropdown Javascript menu with the following code:
<?php
$bt = BlockType::getByHandle('autonav');
$bt->controller->displayPages = 'custom';
$bt->controller->displayPagesCID = '50';
$bt->controller->orderBy = 'display_asc';
$bt->controller->displaySubPages = 'all';
$bt->controller->displaySubPageLevels = 'custom';
$bt->controller->displaySubPageLevelsNum = '1';
$bt->render('view');
?>
But it works in everything except IE8 and I have no idea why. Anyone else found issues with this?
Cheers
that's only the code which specified the autonav options, there's no way to see what's wrong with your code unless you upload your template with the dropdown menu...
You might be able to use the workaround Steve mentioned but if you want to "fix" this problem, give us more information!
You might be able to use the workaround Steve mentioned but if you want to "fix" this problem, give us more information!
Hi Guys
It would be nice to fix the issue.
Website is:
http://bit.ly/cdkfT2
Thanks for your help on this.
It would be nice to fix the issue.
Website is:
http://bit.ly/cdkfT2
Thanks for your help on this.
I'm not sure if that could be of help but you could try to force ie8 to render like ie7.
This can be achieved by using a special meta-tag in your html header.
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />