|
How do I make changes to the JavaScript menu in the SuperSite and PartnerSite?
ResellerClub 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 >>
- In the Admin area, click on Add/Modify
Content and Themes
link to open this section.
- Click on Browse link next to the JavaScript Menu
folder.
- Click on Browse link next to the
language for which you wish to make the modification.
- 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 >>
- 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;"); */
|
- On completing the modification, click on
Save Changes. The changes you have made will be
reflected on your SuperSite or PartnerSite immediately.
IMPORTANT
-
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.
-
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 ResellerClub >>
|