Neil Hennigan Posted September 1, 2007 Share Posted September 1, 2007 Hi there, On my website, I have a dropdown navigation that uses an ie only hide tag to direct Internet Explorer towards an .htc script which allows the dropdown to work (other browsers don't need this, they only use the CSS). The code is as follows: <!--[if IE]> <style type="text/css"> body {behavior: url(csshover.htc);} </style> <noscript> <style type="text/css"> .nav .dropdown, .nav .dropdown div {width: 189px;} .nav .button .dropdown ul {margin: 0px;} .nav .dropdown, .nav .dropdown div {position: static;} .nav .dropdown ul {border: 0;} .mini-zone {display: none;} </style> </noscript> <![endif]--> When attempting to integrate WHMCS into my website design, I used my site's header and footer, etc. If this chunk of code is there, WHMCS doesn't even load at all. All I get is a blank white page. If I remove the <style> tags from this chunk of code, WHMCS loads but my dropdown navigation doesn't work in IE. I've tried using @import to load this CSS in 2 external files, and WHMCS loads fine, but the dropdown nav still isn't funcitonal. Does anyone have any idea why WHMCS doesn't like these few lines of code? Thank you very much for your help. 0 Quote Link to comment Share on other sites More sharing options...
trine Posted September 1, 2007 Share Posted September 1, 2007 May be this if you haven't yet done so: You will need to place all JS/CSS between smarty {literal} tags. That will escape smarty from attempting to parse the JS/CSS. 0 Quote Link to comment Share on other sites More sharing options...
Neil Hennigan Posted September 1, 2007 Author Share Posted September 1, 2007 Thanks, Trine. So far, no luck - - but still plugging away. Open to more suggestions if anyone has them. Thank you. 0 Quote Link to comment Share on other sites More sharing options...
Neil Hennigan Posted September 1, 2007 Author Share Posted September 1, 2007 Actually, it fixed the IE problem, but there are further issues. So thank you for that little bit. Now the nav is non-functional in Firefox! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.