SuperFish

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
8/16/2011 9:18:19 AM
Gravatar
Total Posts 46

SuperFish

I followed the directions here (http://www.mojoportal.com/using-superfish-menus.aspx) but I get the following error:

Microsoft JScript runtime error: Object doesn't support property or method 'supersubs'

on line

<portal:SiteScript id="superfish" runat="server" ScriptRelativeToRoot="/ClientScript/jqmojo/mojosuperfish.js" />
     <script type="text/javascript">
         $(document).ready(function () {
             $("ul.sf-menu").supersubs({ minWidth: 12, maxWidth: 27, extraWidth: 1 }).superfish(
             { pathClass: 'current', pathLevels: 0, speed: 'normal' });
         });
     </script>

which is right before my </form> statement.  I just downloaded mojoPortal last week so I should be pretty up to date.  Help is appreciated.

8/16/2011 9:23:07 AM
Gravatar
Total Posts 46

Re: SuperFish

Figures:  I figured it out within 5 minutes of posting this.

 

Script relative to root doesn't work when running using the Visual Studio asp.net dev server.  Once I added my website name to the path (added /myapp) it worke fine.  Any thoughts on the way around this so I don't have to remember to put it back once I go live?

8/16/2011 10:41:45 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: SuperFish

You can configure your workstation to use IIS instead of the integrated Visual Studio server. See the "Optional IIS Web Setup" section in the Working with Source Code document.

8/16/2011 11:21:49 AM
Gravatar
Total Posts 46

Re: SuperFish

Oh, perfect!  Thank you!

You must sign in to post in the forums. This thread is closed to new posts.