Book and Host Online Services
Please Login or Register

Knowledgebase

How do I make changes to the JavaScript menu in the SuperSite and PartnerSite?

How do I make changes to the JavaScript menu in the SuperSite and PartnerSite?

Sree Jain Infotech allows you to customize the JavaScript menus in your SuperSite or PartnerSite, such that you may modify/remove particular sub-menus, or even remove a particular menu altogether.

In order to make the changes required, follow the process outlined below:

  1. Login to your SuperSite or PartnerSite Admin Area. Click here to learn how >>
     
  2. Under the My Languages SuperSite/PartnerSite section, click on Manage Site besides the Language SuperSite/PartnerSite, where you wish to make changes to the menu.
     
  3. Under the Edit Main Menu section, click on Edit Menu. This will open the Menu_data.js file for modification.
     
    IMPORTANT

    The Menu_data.js file contains the various Menu text as well as their links. On the other hand, the Menu_style.js file contains all the style elements of your JavaScript Menu. So if you need to simply make modifications to how the menu is displayed, then you need to only edit Menu_style.js file. Click here to read how >>

  4. While the left-hand side textbox displays the original SuperSite/PartnerSite content, your modifications need to be submitted into the right-hand side textbox (titled My Content).
    IMPORTANT
     
    • It is recommended that while making modifications to the menu data, you click on the Lock Scroll checkbox. This scrolls both the Original Content as well as the My Content textboxes simultaneously, such that you can easily review the original SuperSite/PartnerSite content while you are modifying it.
       
    • If you wish to reduce the number of times you have to scroll through the textboxes, you may click on the Increase Size link.
     

    For example, if you wish to conceal the Business solutions tab from your Supersite, you need to simply comment the highlighted line in the My Content textbox -


    Original Code

     with(milonic=new menuname("Main Menu")){
     position="relative";
     alwaysvisible=1;
     orientation="horizontal";
     style=menuStyle;
     menuwidth=760;
     aI("image=getImage.php?src=menu-start-cover.gif;imagepadding=0;imageposition=left;");
     aI("align=center;showmenu=Domain Names;text=  Domains   ;");
     aI("align=center;showmenu=Linux Hosting;text=Linux Hosting;");
     aI("align=center;showmenu=Windows Hosting;text=Windows Hosting;");
     aI("align=center;showmenu=Business Email;text=   Email    ;");
     aI("align=center;showmenu=Site Builder;text=Website Builder;");
     aI("align=center;showmenu=Business Solutions;text=Business Solutions;");
     aI("align=center;showmenu=Resellers;text=Resellers;image=getImage.php?src=menu-end-cover.gif;");
     

    Modified Code

     with(milonic=new menuname("Main Menu")){
     position="relative";
     alwaysvisible=1;
     orientation="horizontal";
     style=menuStyle;
     menuwidth=760;
     aI("image=getImage.php?src=menu-start-cover.gif;imagepadding=0;imageposition=left;");
     aI("align=center;showmenu=Domain Names;text=  Domains   ;");
     aI("align=center;showmenu=Linux Hosting;text=Linux Hosting;");
     aI("align=center;showmenu=Windows Hosting;text=Windows Hosting;");
     aI("align=center;showmenu=Business Email;text=   Email    ;");
     aI("align=center;showmenu=Site Builder;text=Website Builder;");
     /* aI("align=center;showmenu=Business Solutions;text=Business Solutions;"); */
     aI("align=center;showmenu=Resellers;text=Resellers;image=getImage.php?src=menu-end-cover.gif;");
     

     
  5. On completing the modification, click on Save Changes. The changes you have made will be reflected on your SuperSite or PartnerSite immediately.
  6. IMPORTANT

    • You will have to repeat the above process if you have configured multiple languages for your SuperSite or PartnerSite.
       

    • If you are not satisfied with the modifications and wish to revert to the earlier setting, simply click on Reset to Default from the Edit view.
       

    •  



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Product Signup (Views: 295)
Digital Certificate (Views: 291)
Interface Settings (Views: 311)

Powered by WHMCompleteSolution

Language:

Quick Navigation

Client Login

Email

Password

Remember Me

Search



Follow Us on Twitter