PDA

View Full Version : Top Navigation Bar 111 Link Problem



morgan1012
11-01-2005, 04:33 PM
I have incorporated this menu into my site as indicated in the instructions. I've edited custom.js to links on my site. However, all the links go to the sites that were used in the example custom.js file rather than the one I edited. I've checked to make sure there are no other custom files other than my customized one but can't find any. Does anyone have any idea why this is happening as the site is already online with wrong links. It can be viewed at http://www.mi.mun.ca/~ldunphy/msnewfoundland

example from my customized file....

addMainItem("","MS Information",130,"center","","",0,0,"","#800000","#eae4df","white","#660066");

// define submenu properties (width,"align to edge","text-alignment",v offset,h offset,"filter","smCOLOR","srCOLOR","sbCOLOR","shCOLOR","saLINK","saHOVER") [** last six are new **]
defineSubmenuProperties(150,"left","left",-4,0,"","eae4df","ffffcc","#660000","#eebbbb","black","660066");

// add submenu link items ("url","Link name","_target","alt text")
addSubmenuItem("","General Information","","");

defineChildmenuProperties(130,"left","center",20,-20,"filter:progid:DXImageTransform.Microsoft.Wheel(duration=0.3,spokes=20)","","","","","","");

addChildmenuItem("msinfo.htm#whatis","What is MS","","");
addChildmenuItem("msinfo.htm#types","Types of MS","","");
addChildmenuItem("msinfo.htm#causes","Possible Causes","","");
addChildmenuItem("msinfo.htm#symtoms","Basic Symptoms","","");
addChildmenuItem("msinfo.htm#dx","Diagnosis Overview","","");
addChildmenuItem("msinfo.htm#edss","EDSS","","");
addChildmenuItem("msinfo.htm#relapse","What is a Relapse","","");
addChildmenuItem("msinfo.htm","After the Diagnosis","","");
addChildmenuItem("scales.htm","Progression of MS","","");

addSubmenuItem("","Symptoms","","");
defineChildmenuProperties(140,"left","center",20,-20,"filter:progid:DXImageTransform.Microsoft.Wheel(duration=0.3,spokes=20)","","","","","","");

addChildmenuItem("symptoms.htm#list","Symptom List","","");
addChildmenuItem("symptoms.htm#triggerst","Symptom Triggers","","");

jscheuer1
11-01-2005, 05:26 PM
Below find the 'LINKS' portion from: http://www.mi.mun.ca/~ldunphy/msnewfoundland/custom.js


//** LINKS ***********************************************************


// add main link item ("url","Link name",width,"text-alignment","_target","alt text",top position,left position,"key trigger","mCOLOR","rCOLOR","aLINK","aHOVER") [** last four are new **]
addMainItem("http://www.dynamicdrive.com/","MS Information",130,"center","","",0,0,"","#800000","#eae4df","white","#660066");

// define submenu properties (width,"align to edge","text-alignment",v offset,h offset,"filter","smCOLOR","srCOLOR","sbCOLOR","shCOLOR","saLINK","saHOVER") [** last six are new **]
defineSubmenuProperties(150,"left","left",-4,0,"","eae4df","ffffcc","#660000","#eebbbb","black","660066");

// add submenu link items ("url","Link name","_target","alt text")
addSubmenuItem("http://www.dynamicdrive.com/morezone/","General Information","","");

defineChildmenuProperties(130,"left","center",20,-20,"filter:progid:DXImageTransform.Microsoft.Wheel(duration=0.3,spokes=20)","","","","","","");

addChildmenuItem("http://www.nbc.com","What is MS","","");
addChildmenuItem("http://www.cbs.com","Types of MS","","");
addChildmenuItem("http://www.abc.com","Possible Causes","","");
addChildmenuItem("http://www.fox.com","Basic Symptoms","","");
addChildmenuItem("http://www.fox.com","Diagnosis Overview","","");
addChildmenuItem("http://www.fox.com","EDSS","","");
addChildmenuItem("http://www.fox.com","What is a Relapse","","");
addChildmenuItem("http://www.fox.com","After the Diagnosis","","");

addSubmenuItem("http://www.dynamicdrive.com/hot.htm","Symptoms","","");
defineChildmenuProperties(140,"left","center",20,-20,"filter:progid:DXImageTransform.Microsoft.Wheel(duration=0.3,spokes=20)","","","","","","");

addChildmenuItem("http://www.nbc.com","Symptom List","","");
addChildmenuItem("http://www.cbs.com","Symptom Triggers","","");


addSubmenuItem("http://www.dynamicdrive.com/faqs.htm","Diagnosing MS","","");
defineChildmenuProperties(180,"left","center",20,-20,"filter:progid:DXImageTransform.Microsoft.Wheel(duration=0.3,spokes=20)","","","","","","");

addChildmenuItem("http://www.nbc.com","MRI","","");
addChildmenuItem("http://www.nbc.com","Evoked Potentials","","");
addChildmenuItem("http://www.cbs.com","Lumbar Puncture","","");
addChildmenuItem("http://www.abc.com","Neurologic Exam","","");
addChildmenuItem("http://www.abc.com","Differential Diagnosis","","");

addSubmenuItem("http://www.dynamicdrive.com/submitscript.htm","Current Treatments","","");
defineChildmenuProperties(180,"left","center",20,-20,"filter:progid:DXImageTransform.Microsoft.Wheel(duration=0.3,spokes=20)","","","","","","");

addChildmenuItem("http://www.nbc.com","Overview","","");
addChildmenuItem("http://www.nbc.com","Avonex","","");
addChildmenuItem("http://www.cbs.com","Betaseron","","");
addChildmenuItem("http://www.abc.com","Copaxone","","");
addChildmenuItem("http://www.abc.com","Rebif","","");
addChildmenuItem("http://www.abc.com","Novantrone","","");
addChildmenuItem("http://www.abc.com","Plasmapheresis","","");

addSubmenuItem("http://www.dynamicdrive.com/morezone/","Questionaires","","");

defineChildmenuProperties(180,"left","center",20,-20,"filter:progid:DXImageTransform.Microsoft.Wheel(duration=0.3,spokes=20)","","","","","","");

addChildmenuItem("http://www.nbc.com","Explanation","","");
addChildmenuItem("http://www.nbc.com","Cognitive Symptoms","","");
addChildmenuItem("http://www.cbs.com","Physical Symptoms","","");
addChildmenuItem("http://www.abc.com","Mood and Cognition","","");
addChildmenuItem("http://www.fox.com","Physical/Cognitive Long Form","","");
addChildmenuItem("http://www.fox.com","Fatigue","","");
addChildmenuItem("http://www.fox.com","Sleep Problems","","");

addSubmenuItem("http://www.dynamicdrive.com/morezone/","Research","","");
addSubmenuItem("http://www.dynamicdrive.com/morezone/","Clinical Trials","","");



addMainItem("","Health Resources",150,"center","","",0,0,"","","","","");

defineSubmenuProperties(137,"left","left",-4,0,"","","","","","","");

addSubmenuItem("http://www.dynamicdrive.com","MS Clinics","_blank","");
addSubmenuItem("http://www.javascriptkit.com","Health Resources","","");
defineChildmenuProperties(150,"left","center",20,-20,"filter:progid:DXImageTransform.Microsoft.Wheel(duration=0.3,spokes=20)","","","","","","");

addChildmenuItem("http://www.nbc.com","Overview","","");
addChildmenuItem("http://www.nbc.com","Capital Region","","");
addChildmenuItem("http://www.cbs.com","Eastern Avalon","","");
addChildmenuItem("http://www.abc.com","Eastern Peninsulas","","");
addChildmenuItem("http://www.fox.com","Central East","","");
addChildmenuItem("http://www.fox.com","Central West","","");
addChildmenuItem("http://www.fox.com","Western Region","","");
addChildmenuItem("http://www.fox.com","Grenfell Region","","");
addChildmenuItem("http://www.fox.com","Labrador","","");

addSubmenuItem("http://www.freewarejava.com","Emotional Health","_blank","");
addSubmenuItem("http://www.codingforums.com","Community Services","_blank","");
addSubmenuItem("http://active-x.com/","Disabled Resources","_blank","");



addMainItem("","Services",100,"center","","",0,0,"","","","","");

defineSubmenuProperties(130,"left","left",-4,0,"","","","","","","");

addSubmenuItem("http://www.cnn.com/","Upcoming Events","","");
addSubmenuItem("http://www.cnn.com/","Local Libraries","","");
addSubmenuItem("http://www.msnbc.com","MS Topics","","");
addSubmenuItem("http://news.bbc.co.uk","MS Audio Programs","","");
addSubmenuItem("","Medical Supplies","","");
addSubmenuItem("","How You Can Help","","");

// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter","smCOLOR","srCOLOR","sbCOLOR","shCOLOR","saLINK","saHOVER") [** last six are new **]
defineChildmenuProperties(180,"left","left",0,-20,"","","","","","","");

//add child menu link items ("url","Link name","_target","alt text")
addChildmenuItem("http://www.vancouversun.com","Disability Tax Credit","","");
addChildmenuItem("http://www.ctvnews.ca","NL Drug Assistance Program","","");


addMainItem("","Support",100,"center","","",0,0,"","","","","");

defineSubmenuProperties(140,"left","left",-4,0,"","","","","","","");


addSubmenuItem("http://www.space.com/","MS Society/Chapters","","");
addSubmenuItem("http://www.slashdot.org","For Friends & Family","","");
addSubmenuItem("http://www.wired.com","Coping","","");



addMainItem("","Entertainment",140,"center","","",0,0,"","","","","");

defineSubmenuProperties(130,"left","left",-4,0,"","","","","","","");

addSubmenuItem("http://www.rottentomatoes.com","Local Talents","_blank","");
addSubmenuItem("http://et.tv.yahoo.com/","Alien Video","","");
addSubmenuItem("http://www.hollywood.com/","Gardening","","");



//**DO NOT EDIT THIS *****
}//***********************
//************************

As you can see, the links are the ones from the demo. It is this file you need to update.

morgan1012
11-01-2005, 06:41 PM
Thanks, I'll investigate further. I don't understand what's happening. That's the file (custom.js) that I did edit as indicated in the example in my initial post. The links that you indicate are not whats in my edited version on my computer but uploads as the old example links when I publish the site. Maybe I need to edit them online rather than on the c drive?
thanks anyway. I appreciate you taking the time to help.

morgan1012
11-01-2005, 08:11 PM
Fixed. I just copied the file from C to the online folder. Thanks again.