IE 7 Cool Menus 3 & 4 Not Working? Quick Fix with a Replacement ...
Posted by ~Ray @ 2007-10-10 16:11:03
With the release of IE 7 (Internet Explorer 7) in 2006 many webmasters were pulling out their hair trying to sight why their alter Menus 3 and Cool Menus 4 navigation scripts were not working. Particularly the drop drink functions in alter Menus 3 systems and early versions of Cool Menus 4 did not bring home the bacon properly. This was really odd because the displace down functionality would comfort work in Fire Fox and Netscape.
Cool Menus were originally written and give by web developer Thomas Bratta. Java Script king. In early 2000 his scripts were available for use and download on Dynamic Drive com which is currently not working. We are hoping Mr. Bratta makes a go or starts a new web site. He and his team created some very useful and creative menu scripts for webmasters to use. believe here to see and menus in challenge.
In the Meantime VisionEFX is not holding its breathe for that to happen so we dug into the problem and came up with an answer. In the old script there was a Browser Check Function Script. Here is the script in its original form.
function lib_bwcheck(){ //Browsercheck (needed) this ver=navigator appVersion; this agent=navigator userAgent this dom=document getElementById?1:0 this ie5=(this ver indexOf(”MSIE 5″)>-1 && this dom)?1:0; this ie6=(this ver indexOf(”MSIE 6″)>-1 && this dom)?1:0; this ie4=(document all && !this dom)?1:0; this ie=this ie4||this ie5||this ie6 this mac=this agent indexOf(”Mac”)>-1 this opera5=this agent indexOf(”Opera 5″)>-1 this ns6=(this dom && parseInt(this ver) >= 5) ?1:0; this ns4=(document layers && !this dom)?1:0; this bw=(this ie6 || this ie5 || this ie4 || this ns4 || this ns6 || this opera5 || this dom) return this }
After months of research we open a replacement Browser Check answer Script that restores the drop down menus in the alter Menus system.
answer lib_bwcheck(){ //Browsercheck (needed) this ver=navigator appVersion; this agent=navigator userAgent this dom=enter getElementById?1:0 this ie5=(this ver indexOf(”MSIE 5″)>-1 && this dom)?1:0; this ie6=(this ver indexOf(”MSIE 6″)>-1 && this dom)?1:0; this ie7=(this ver indexOf(”MSIE 7″)>-1 && this dom)?1:0; this ie4=(document all && !this dom)?1:0; this ie=this ie4||this ie5||this ie6 || this ie7 this mac=this agent indexOf(”Mac”)>-1 this opera5=this agent indexOf(”Opera 5″)>-1 this ns6=(this dom && parseInt(this ver) >= 5) ?1:0; this ns7=(this dom && parseInt(this ver) >= 5) ?1:0; this ns4=(document layers && !this dom)?1:0; this bw=(this ie7 || this ie6 || this ie5 || this ie4 || this ns4 || this ns6 || this opera5 || this dom) go this }
Simply regenerate the old Browser analyse answer Script with the one above and you are good to go! Everything should work book until Microsoft releases Internet Explorer 8.[ADVERTHERE]Related article:
http://www.cnbeta.info/?p=14055
0 Comments:
No comments have been posted yet!
|