|
How do I make changes to the JavaScript menu in the SuperSite and PartnerSite?
Easy Host Way 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:
- Login to your SuperSite or PartnerSite
Admin Area.
Click here
to learn how >>
- 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.
- 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 >>
- 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;");
|
- 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.
|