PDA

View Full Version : HV menu version 5.5 and security settings



purpleKate
06-06-2006, 11:02 AM
I've created my own menu from http://www.dynamicdrive.com version 5.5 HV menu.
When ever you open pages containing this code I get the following message:
" To help security protect your security, internet explorer has restricted this file from showing active content that could access your computer"

I can get it to show by allowing blocked content, but obviously, not every using the site will want to do.

I've tried it on several machines with the same effect, any ideas, greatfully recieved!

Here's my code, can anyone see an error in my code causing this problem.

var NoOffFirstLineMenus=6; // Number of first level items
var LowBgColor='navy'; // Background color when mouse is not over
var LowSubBgColor='navy'; // Background color when mouse is not over on subs
var HighBgColor='white'; // Background color when mouse is over
var HighSubBgColor='white'; // Background color when mouse is over on subs
var FontLowColor='white'; // Font color when mouse is not over
var FontSubLowColor='white'; // Font color subs when mouse is not over
var FontHighColor='navy'; // Font color when mouse is over
var FontSubHighColor='navy'; // Font color subs when mouse is over
var BorderColor='navy'; // Border color
var BorderSubColor='navy'; // Border color for subs
var BorderWidth=2; // Border width
var BorderBtwnElmnts=1; // Border between elements 1 or 0
var FontFamily="verdana,comic sans ms,technical"; // Font family menu items
var FontSize=9; // 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=.1; // horizontal overlap child/ parent
var ChildVerticalOverlap=.2; // vertical overlap child/ parent
var StartTop=175; // Menu offset x coordinate
var StartLeft=1; // Menu offset y coordinate
var VerCorrect=0; // Multiple frames y correction
var HorCorrect=0; // Multiple frames x correction
var LeftPaddng=3; // Left padding
var TopPaddng=2; // Top padding
var FirstLineHorizontal=1; // SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
var MenuFramesVertical=1; // Frames in cols or rows 1 or 0
var DissapearDelay=1000; // 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=''; // 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=1; // Uses arrow gifs when 1
var KeepHilite=1; // 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"
// Menu=new Array("TextToShow","Link","BgImage",NoOfSubs,Height,Width,BgColor,BgHiColor,FontColor,
//FontHiColor,BorderColor);


Menu1=new Array("The School","","",8,20,135);
Menu1_1=new Array("Site Map","siteMap.htm","",0,20,135);
Menu1_2=new Array("Location","location.htm","",0,20,135);
Menu1_3=new Array("History","schoolHist.htm","",0,20,135);
Menu1_4=new Array("Lunch Menu","lunch.htm","",0,20,135);
Menu1_5=new Array("Vacancies","vacancies.htm","",0,20,135);
Menu1_6=new Array("My Email","http://mail.johnbeddoes.org/cp/ps/Main/login/Login","",0,20,135);
Menu1_7=new Array("My User Area","https://folders.johnbeddoes-hs.powys.sch.uk/easylink/default.htm","",0,20,135);
Menu1_8=new Array("Home","index.html","",0,20,135);

Menu2=new Array("News","","",6,20,135);
Menu2_1=new Array("Results","results.htm","",0,20,135);
Menu2_2=new Array("Success Stories","success.htm","",2,20,135);
Menu2_2_1=new Array("Academic","successAcademic.htm","",0,20,135);
Menu2_2_2=new Array("Sporting","succesSport.htm","",0,20,135);
Menu2_3=new Array("Star Student","star.htm","",0,20,135);
Menu2_4=new Array("Future events","future.htm","",0,20,135);
Menu2_5=new Array("Clare visits Sudan","clareSudan.htm","",0,20,135);
Menu2_6=new Array("Global Action Week","globalEducation.htm","",0,20,135);

Menu3=new Array("Office","","",3,20,135);
Menu3_1=new Array("Governors","governors.htm","",0,20,135);
Menu3_2=new Array("Downloadable files","admin.htm","",0,20,135);
Menu3_3=new Array("School Prospectus","prospectus.htm","",0,20,135);


Menu4=new Array("Curriculum","","",3,20,135);
//begin subjects
Menu4_1=new Array("Subjects","","",16,20,135);
Menu4_1_1=new Array("Art / Pottery","art.htm","",0,20,140);
Menu4_1_2=new Array("Business Studies","business.htm","",0,20,140);
Menu4_1_3=new Array("English","english.htm","",0,20,140);
Menu4_1_4=new Array("Drama","drama.htm","",0,20,140);
Menu4_1_5=new Array("Geography","geography.htm","",0,20,140);
Menu4_1_6=new Array("History","history.htm","",0,20,140);
Menu4_1_7=new Array("ICT","ict.htm","",0,20,140);
Menu4_1_8=new Array("Technology","","",3,20,140);
Menu4_1_8_1=new Array("Food","foodTech.htm","",0,20,140);
Menu4_1_8_2=new Array("Resistant Materials","resistantMat.htm","",0,20,140);
Menu4_1_8_3=new Array("Product Design (6th form)","productDes.htm","",0,40,140);

Menu4_1_9=new Array("Science","","",3,20,140);
Menu4_1_9_1=new Array("Biology","biology.htm","",0,20,90);
Menu4_1_9_2=new Array("Chemistry","chemistry.htm","",0,20,90);
Menu4_1_9_3=new Array("Physics","physics.htm","",0,20,90);

Menu4_1_10=new Array("Maths","maths.htm","",0,20,140);
Menu4_1_11=new Array("Religious Studies","RS.htm","",0,20,140);
Menu4_1_12=new Array("Modern Languages","","",2,20,140);
Menu4_1_12_1=new Array("French","french.htm","",0,20,90);
Menu4_1_12_2=new Array("German","german.htm","",0,20,90);

Menu4_1_13=new Array("Welsh","welsh.htm","",0,20,140);
Menu4_1_14=new Array("Music","music.htm","",0,20,140);
Menu4_1_15=new Array("Physical Education","PE.htm","",0,20,140);
Menu4_1_16=new Array("Personal Social Educuation","PSE.htm","",0,40,140);

//end subjects
Menu4_2=new Array("Careers","careers.htm","",0,20,135);
Menu4_3=new Array("Reports","reports.htm","",0,20,135);

Menu5=new Array("Joining The school","'","",3,20,135);
Menu5_1=new Array("Year 7","year7.htm","",0,20,135);
Menu5_2=new Array("Sixth Form","sixth.htm","",0,20,135);
Menu5_3=new Array("Moving to the area","moving.htm","",0,20,135);

Menu6=new Array("Parents","parents.htm","",4,20,135);
Menu6_1=new Array("PTA","pta.htm","",0,20,135);
Menu6_2=new Array("Term Dates","termDates.htm","",0,20,135);
Menu6_3=new Array("How can I get involved?","involved.htm","",0,40,135);
Menu6_4=new Array("Parents Charter","parentsCh.htm","",0,20,135);



Kate