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?

PBT Communications 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 Content, your modifications need to be submitted into the right-hand side textbox (titled Your 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 Your 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 Your 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.
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.
 

Created on:  
Jan 2, 2006 10:06 AM  GMT
Last Updated on:   Dec 1, 2008 8:41 AM  GMT
 
Answer How do I Add/Edit a SuperSite/PartnerSite Theme or How do I edit the CSS, Images, Menu Style 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 can I Download the Source (PSD) File of Images/Flash with Translatable Text, used in my 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 PBT Communications