Support Knowledge Base >> Reseller Guides >> SuperSite and PartnerSite Guide >> Customizing your SuperSite and PartnerSite Content >> How do I customize the Content, Theme (CSS, Images, Javascript), HTML Structure of the SuperSite and PartnerSite?

Search |

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

almenbar corp 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. In the Admin area, click on Add/Modify Content and Themes link to open this section.
     
  3. Click on Browse link next to the JavaScript Menu folder.
     
  4. Click on Browse link next to the language for which you wish to make the modification.
     
  5. Click on the Edit link adjacent to the menu_data.js file.
     
    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 >>


  6. You will presented with two textboxes; one on the left-hand side of the page with the title as Original Content and the other on the right-hand side with the title as My Modified Content. You can make the required modifications in the My Modified Content text box.

    Example: The following code, extracted from Supersite, defines the main menu.


     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;");
     

    You can modify the main menu here. You may even remove a particular menu by commenting the line in this code. For instance, the code defining the Business solutions menu commented in the fashion illustrated below, would conceal the menu on your Supersite.


     /* aI("align=center;showmenu=Business Solutions;text=Business Solutions;"); */
     
     
  7. On completing the modification, click on Save Changes. The changes you have made will be reflected on your SuperSite or PartnerSite immediately.

IMPORTANT

  1. 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 page, to restore the default settings for that file.
     

  2. Once you modify a JavaScript file using the above tool, the status of such a file will change from Default to Modified. Once you have modified a file, we would not be able to automatically update the content of the same when new content is added by us; you would have to synchronize the content yourself. Click here to synchronize the JavaScript Menu modified by you with any new content added by almenbar corp >>
     

 

Created on:  
Jan 2, 2006 10:06 AM  GMT
Last Updated on:   May 26, 2008 7:59 AM  GMT
 
Answer How do I Add/Edit a SuperSite/PartnerSite Theme or How do I edit the CSS, Images, Javascript of my SuperSite/PartnerSite? 
Answer How do I configure Multiple Language support for the SuperSite/PartnerSite? 
Answer How do I edit the existing Textual Content and Paragraphs as well as Modify the HTML Structure of a page? 
Answer How do I edit existing Images of the SuperSite and PartnerSite? 
Answer How do I change CSS files in Supersite and PartnerSite? 
Answer How do I make changes to the JavaScript menu in the SuperSite and PartnerSite? 
Answer How can I Add/Edit my own HTML pages in the Supersite and PartnerSite? 
Answer How can I Add/Edit my own Images in the Supersite and PartnerSite? 
Answer How do I modify the links on the Static Bar on my SuperSite? 
Answer How can I remove the Resellers tab from my SuperSite? 
Answer How do I customize the Legal Agreements in SuperSite and PartnerSite? 
Answer How do I customize the Page Titles of the SuperSite and PartnerSite? 
Answer How do I add Meta Tags to my SuperSite and PartnerSite for better Search Engine Optimization? 
Answer How do I customize the Error Messages in the SuperSite and PartnerSite? 
Answer How can I modify the Contact Us page on my SuperSite? 
Answer How can I change the Other Payment Options on the final check out page of the SuperSite? 
Answer Keeping my Customized SuperSite/PartnerSite content in sync with any new content added by almenbar corp