/    Sign up×
Community /Pin to ProfileBookmark

Linking help (cannot find)

I’m very much a HTML and JavaScript greenhorn and am trying to update/rebuild a website for the specific group I am in. I have a few questions but will seperate into different topics and hopefully someone can offer me some help and point me in the right direction. I’ve been trying to read everything I can find, but my experiance is more in the networking side of things than any type of programming. I am using FrontPage 03, but am using some scripts and when I try to link or upload a picture my pathname is wrong. I’ve tried many different things and am still having troubles.

//HTML string for SubLogo (Search Box)

codeStr=”<span valign=’middle’><font face=’arial’ size=’2′>”
codeStr+=”Search:&nbsp;<input type=’text’ name=’searchTerms’>”
codeStr+=”&nbsp;<input type=’image’ height=21 width=21 border=0 name=’Go’ onClick=javascript:window.location.href=’http://hsc-intranet/engserv/pics/search.asp?terms=’+document.all.searchTerms.value src=’http://intranet/techweb/images/go-button.gif‘ align=absmiddle></font></span>”

//SET SQL QUERIES
queryOne = “SELECT org_unit_nme, emp_first_nme, emp_last_nme, emp_user_id, emp_work_phone_no, emp_vmx_no, emp_mail_no, personnel_area_desc, emp_bldg_cde, position_desc FROM public_employee_detail WHERE org_unit_nme LIKE ‘%emulsion%’ ORDER BY emp_last_nme”;
queryTwo = “”;

//SET LOCAL MENU OPTIONS

setLocalMenuSettings(“red”,”white”,”black”,”C0C0C0″,”808080″);
setLocalLogo(“<img src=’file://C:Documents and SettingsrcsauvagMy DocumentsHSC PICS.gif’ border=0>”,”HSC PICS Team”,”http://hsc-intranet/engserv/pics/default.asp“);
setSubLogo(codeStr,””,””);
setPersonnel(queryOne,””,”1″,””,queryTwo);

//BUILD LOCAL MENU

function writeLocal()
{
startMenu();
startLocalParentMenu(“Organization”);
addSubMenuChild(“Mission”,”http://hsc-intranet/engserv/pics/Organization/mission.htm“);
addSubMenuChild(“Team Members”,”C:Documents and SettingsrcsauvagMy DocumentsMy Web Sitesmembers.htm”);
addSubMenuChild(“Individual Bios”,”http://C:Documents and SettingsrcsauvagMy DocumentsMy Web Sitesindbio.asp”);
addSubMenuChild(“Location”,”http://hsc-intranet/engserv/pics/Organization/location.htm“);
endParentMenu();
startLocalParentMenu(“Alarm Management”);
addSubMenuChild(“Alarm and Message Query”,”http://intranet/internetaccess/surfcontrol/_siteblock.htm“);
addSubMenuChild(“Alarms and Message Frequency Analysis”,”http://intranet/internetaccess/surfcontrol/_
siteblock.htm“);
addSubMenuChild(“Alarm and Message History”,”http://intranet/internetaccess/surfcontrol/_siteblock.htm“);
endParentMenu();
startLocalParentMenu(“Forms”);
addSubMenuChild(“New Instrument Info Forms”,”http://intranet/internetaccess/surfcontrol/_
siteblock.htm“);
endParentMenu();
startLocalParentMenu(“Reports”);
addSubMenuChild(“System Reliability Charts”,”http://intranet/internetaccess/surfcontrol/_siteblock.htm“);
addSubMenuChild(“Weekly Reports”,”http://intranet/internetaccess/surfcontrol/_
siteblock.htm“);
addSubMenuChild(“Event Reports”,”http://intranet/internetaccess/surfcontrol/_siteblock.htm“);
endParentMenu();
startLocalParentMenu(“Mailroom”);
addSubMenuChild(“WE ARE LEGEND”,”http://intranet/internetaccess/surfcontrol/_
siteblock.htm“);
endParentMenu();
addLocalMenuItem(“Links”,”http://hsc-intranet/engserv/pics/Links/PICSLinks.htm“);
endMenu();
}

These are the lines I’m having trouble with:

setLocalLogo(“<img src=’file://C:Documents and SettingsrcsauvagMy DocumentsHSC PICS.gif’ border=0>”,”HSC PICS Team”,”http://hsc-intranet/engserv/pics/default.asp“);

addSubMenuChild(“Team Members”,”C:Documents and SettingsrcsauvagMy DocumentsMy Web Sitesmembers.htm”);
addSubMenuChild(“Individual Bios”,”http://C:Documents and SettingsrcsauvagMy DocumentsMy Web Sitesindbio.asp”);

I have an idea what the problem is but don’t know how to do it correctly.

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @Potatogod93 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...