• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS made Simple Czech Site Zur deutschsprachigen Supportseite Site francophone Sitio en Castellano CMSMS - Magyarország CMSMS -  ???????
Pages: 1 [2]
  Print  
Author Topic: HOWTO: suckerfish based vertical flyout nav  (Read 14412 times)
0 Members and 1 Guest are viewing this topic.
Greg
Power Poster
***

Karma: 10
Offline Offline

Posts: 599


WWW
« Reply #15 on: 22 Mar 2008, 12:23 »

One difference I noticed

   <script type="text/javascript" src="uploads/Javascript/dhtml.js"></script>

   <script type="text/javascript" src="uploads/Javascripts/dhtml.js"></script>

Notice Javascript and Javascripts folder reference.
Logged

Greg
Gregor
Power Poster
***

Karma: 2
Offline Offline

Posts: 776



WWW
« Reply #16 on: 22 Mar 2008, 15:50 »

Thanks Greg for your reply. I checked it, and there was a typo  Undecided
Fixed it, however still no luck. That raises the question if dhtml.js is working properly??? Or could it be something else?

Gregor

Edit: found a fix to set the width to px instead of %
Code:
#menuwrapper {
  padding-left: 2%;
  width: 150px;
}
The this advantage is, the menu moves when I hover over it.
« Last Edit: 23 Mar 2008, 03:28 by Gregor » Logged
Gregor
Power Poster
***

Karma: 2
Offline Offline

Posts: 776



WWW
« Reply #17 on: 25 Mar 2008, 18:13 »

Hello,

I noticed that the second level of the suckerfish menu in IE does not work, in my case. It works in FF and Safari. The code in the template:
Code:

{literal}
<script type="text/javascript" src="uploads/Javascripts/swfobject.js"></script> 
<script type="text/javascript" src="uploads/Javascripts/resize_iframe.js"></script>

<script type="text/JavaScript">
<!--
//pass min and max -measured against window width
function P7_MinMaxW(a,b){
var nw="auto",w=document.documentElement.clientWidth;
if(w>=b){nw=b+"px";}if(w<=a){nw=a+"px";}return nw;
}
//-->
</script>

<!--[if lte IE 6]>
   <script type="text/javascript" src="uploads/Javascripts/dhtml.js"></script>
<![endif]-->

<!--[if IE 7]>
   <style type="text/css">
   #primary-nav li {margin-bottom: -3px;}
   #primary-nav li:hover {margin-bottom:-3px;} /* a HACK!!! for IE7 */
   </style>
<![endif]-->

<!-- The min and max page width for Internet Explorer is set here. For other browsers it's in the stylesheet "Layout: Left sidebar + 1 column" -->

<!--[if IE]>
   <script type="text/javascript" src="modules/MenuManager/CSSMenu.js"></script>
<![endif]-->
<!-- The above JavaScript is required for CSSMenu to work in IE -->

<style type="text/css">
   #pagewrapper {width:expression(P7_MinMaxW(720,950));}
   #container {height: 1%;}
</style>
{/literal}

</head>

<body>

Anyone who is willing to help me?

Thanks,
Gregor
Logged
Gregor
Power Poster
***

Karma: 2
Offline Offline

Posts: 776



WWW
« Reply #18 on: 26 Mar 2008, 06:52 »

Finally, I solved it!!! One thing, the new suckfish version uses navmenu-v (or navmenu-h), and I was still using navmenu. Other thing that caused a problem, was the copy of dhtml. Now it looks nice in IE too  Roll Eyes
Gregor
Logged
Pages: 1 [2]
  Print  
 
Jump to: