PDA

View Full Version : What are the files I need to have for website?



hannah03
04-09-2009, 08:58 PM
I want to have a website with the dropdown menu tab and I want the menu tab to be default. Also, the index page and other pages can be use as standard. If so, what are the files I need to have for?

hannah

hannah03
04-09-2009, 09:08 PM
Also, I have the following menu tree and I want to change this to the tab menu instead. What are the code I need to do?

menuconf.js file


/***********************************************************************************
* (c) Ger Versluis 2000 version 5.41 24 December 2001 *
* For info write to menus@burmees.nl *
* You may remove all comments for faster loading *
***********************************************************************************/

var NoOffFirstLineMenus=6; // Number of first level items
var LowBgColor='#6699CC'; // Background color when mouse is not over
var LowSubBgColor='#FFFFFF'; // Background color when mouse is not over on subs
var HighBgColor='#FFFFFF'; // Background color when mouse is over
var HighSubBgColor='#6699CC'; // Background color when mouse is over on subs
var FontLowColor='#FFFFFF'; // Font color when mouse is not over
var FontSubLowColor='#C0C0C0'; // Font color subs when mouse is not over
var FontHighColor='#000000'; // Font color when mouse is over
var FontSubHighColor='#000000'; // Font color subs when mouse is over
var BorderColor='#6699CC'; // Border color
var BorderSubColor='#6699CC'; // Border color for subs
var BorderWidth=1; // Border width
var BorderBtwnElmnts=1; // Border between elements 1 or 0
var FontFamily="Verdana, Arial" // Font family menu items
var FontSize=8; // Font size menu items
var FontBold=1; // Bold menu items 1 or 0
var FontItalic=0; // Italic menu items 1 or 0
var MenuTextCentered='left'; // Item text position 'left', 'center' or 'right'
var MenuCentered='left'; // Menu horizontal position 'left', 'center' or 'right'
var MenuVerticalCentered='top'; // Menu vertical position 'top', 'middle','bottom' or static
var ChildOverlap=0; // horizontal overlap child/ parent
var ChildVerticalOverlap=0; // vertical overlap child/ parent
var StartTop=-1; // Menu offset y coordinate
var StartLeft=0; // Menu offset x coordinate
var VerCorrect=0; // Multiple frames y correction
var HorCorrect=0; // Multiple frames x correction
var LeftPaddng=3; // Left padding
var TopPaddng=0; // Top padding
var FirstLineHorizontal=1; // SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
var MenuFramesVertical=0; // Frames in cols or rows 1 or 0
var DissapearDelay=400; // delay before menu folds in
var TakeOverBgColor=1; // Menu frame takes over background color subitem frame
var FirstLineFrame='navig'; // Frame where first level appears
var SecLineFrame='space'; // Frame where sub levels appear
var DocTargetFrame='space'; // Frame where target documents appear
var TargetLoc='MenuBar'; // span id for relative positioning
var HideTop=0; // Hide first level when loading new document 1 or 0
var MenuWrap=1; // enables/ disables menu wrap 1 or 0
var RightToLeft=0; // enables/ disables right to left unfold 1 or 0
var UnfoldsOnClick=0; // Level 1 unfolds onclick/ onmouseover
var WebMasterCheck=0; // menu tree checking on or off 1 or 0
var ShowArrow=0; // Uses arrow gifs when 1
var KeepHilite=0; // Keep selected path highligthed
var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10]; // Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}


// Menu tree
// MenuX=new Array(Text to show, Link, background image (optional),
// number of sub elements, height, width);
// For rollover images set "Text to show" to: "rollover:Image1.jpg:Image2.jpg"

// The width of each entry.
var nWidth = 140;

// The height of a one-line entry.
var nHeight1 = 20;

hannah03
04-09-2009, 09:09 PM
Continue..


// The height of a two-line entry.
var nHeight2 = 30;

// The height of a three-line entry.
var nHeight3 = 43;


Menu1 = new Array("Home", "/index.pl?page=index", "", 0, nHeight1, 60);

Menu2 = new Array("Tech Support", "/index.pl?page=tech_support", "", 0, nHeight1, nWidth-20);


{
// Define a width specifically for this category, since "System Integration"
// is a long heading. Make it relative to nWidth.
var nSWidth = nWidth + 20;
Menu3 = new Array("Documentation", "/documentation", "", 6 , nHeight1, nWidth-12);
Menu3_1= new Array("General FTP Site", ""ftp://ftp, "", 0, nHeight1, nWidth);
Menu3_2= new Array("Data Sheets", "ftp://ftp./data_sheets/", "", 0, nHeight1, nWidth);
Menu3_3 = new Array("User & Reference Guides", "/documentation/", "", 0, nHeight2, nWidth);
Menu3_4 = new Array("Source Code", "/source_code", "", 0, nHeight1, nWidth);
Menu3_5 = new Array("Installation Notes", "/startup", "", 0, nHeight1, nWidth);
Menu3_6 = new Array("Application Notes", "ftp://ftp/application_notes/", "", 0, nHeight1, nWidth);

}

Menu4 = new Array("University", "/index.pl?page=univpkg", "", 2, nHeight1, nWidth-30);
Menu4_1 = new Array("University Packages", "/univpkg", "", 0, nHeight1, nWidth);
Menu4_2 = new Array("Using DSK Boards", "/index.pl?page=univdsk", "", 0, nHeight1, nWidth);


Menu5 = new Array("Customer Service", "/index.pl?page=distlist", "", 12, nHeight1, nWidth);
Menu5_1 = new Array("Contract Work", "/index.pl?page=contract", "", 0, nHeight1, nWidth);
Menu5_2 = new Array("Training", "/index.pl?page=training", "", 0, nHeight1, nWidth);
Menu5_3 = new Array("Custom Hardware Quotation", "/index.pl?page=custhw", "", 0, nHeight2, nWidth);
Menu5_4 = new Array("Distributors", "/index.pl?page=distlist#dist", "", 0, nHeight1, nWidth);
Menu5_5 = new Array("How to Order", "/index.pl?page=distlist#order", "", 0, nHeight1, nWidth);
Menu5_6 = new Array("Technical Support", "/index.pl?page=tech_support", "", 0, nHeight1, nWidth);
Menu5_7 = new Array("Update Policy", "/index.pl?page=distlist#update", "", 0, nHeight1, nWidth);
Menu5_8 = new Array("Bug-Fix Policy", "/index.pl?page=distlist#bugfix", "", 0, nHeight1, nWidth);
Menu5_9 = new Array("Return Policy", "/index.pl?page=distlist#return", "", 0, nHeight1, nWidth);
Menu5_10 = new Array("End-of-Life-Policy", "/index.pl?page=eol_policy", "", 0, nHeight1, nWidth);
Menu5_11 = new Array("Data Sheets", "/index.pl?page=custinfo", "", 0, nHeight1, nWidth);
Menu5_12 = new Array("Download Software", "", "", 0, nHeight2, nWidth);

//Menu5_10 = new Array("Demo CD", "/index.pl?page=dememail", "", 0, nHeight1, nWidth);


Menu6 = new Array("About", "/index.pl?page=about", "", 5, nHeight1, nWidth);
Menu6_1 = new Array("Corporate Overview", "/index.pl?page=sigcorp", "", 0, nHeight1, nWidth);
Menu6_2 = new Array("Management BIOs", "/index.pl?page=management", "", 0, nHeight1, nWidth);
Menu6_3 = new Array("Contact", "/index.pl?page=contact1", "", 0, nHeight1, nWidth);
Menu6_4 = new Array("Employment", "/index.pl?page=jobs", "", 0, nHeight1, nWidth);
Menu6_5 = new Array("Visitors", "/index.pl?page=visitors", "", 0, nHeight1, nWidth);