Re: Creating Java/DHTML Vertical Navigation Menu in FrontPage



Add a <base target="framename"> tag to the <head section of the navigation frame, where framename is the name of the frame with the content.

Example:

<html>
<head>
<title>blah</title>
<base target="maincontent">
</head>
<body>
Navigation
</body>
</html>
--
Ron Symonds - Microsoft MVP (Expression)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp




"sharsy" <shari@xxxxxxxxxxxxxxxxx> wrote in message news:e101638d-5f8e-4c5a-bbff-b41b65ca41e4@xxxxxxxxxxxxxxxxxxxxxxxxxxx:

On Sep 24, 1:59 pm, "Trevor Lawrence" <Trevor L.@Canberra> wrote:
> Reply in-line
>
> "sharsy" <sh...@xxxxxxxxxxxxxxxxx> wrote in message
>
> news:a4db98e1-3e9d-483a-9dc6-a911c3317e1a@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> > Using Javascript is not a problem, as I said in my original post the
> > menu is for our internal intranet - not an external webpage for the
> > internet. We all work off the one server which is java enabled so
> > that's not an issue.
>
> Given that it is an intranet application where Javascript is enabled on the
> server, there should be no problem.
> (I am not sure that Java is relevant - it doesn't appear to be used at all)
>
> However you wrote"sharsy" <sh...@xxxxxxxxxxxxxxxxx> wrote in message
>
> news:09fa7537-d87d-4002-8044-5b9e17c59076@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
>
>
>
>
> > ........................................................  I am still
> > having a problem
> > however with changing the links on the secondary drop-down menu - I
> > would like the user to be able to click on them and they open up a new
> > document in the body frame of my FrontPage Intranet.
>
> > Here is the HTML Code I'm Using:
>
> > //Contents for menu 5
> > var menu5=new Array()
> > menu5[0]='<a href="http://www.javascriptkit.com/cutpastejava.shtml";
> > style="color: #000000">Administrative</a>'
> > menu5[1]='<a href="http://www.javascriptkit.com/javaindex.shtml";
> > style="color: #000000">Computers</a>'
> > menu5[2]='<a href="http://news.bbc.co.uk"; style="color: #000000">HRM</
> > a>'
> > menu5[4]='<a href="http://www.javascriptkit.com/java/"; style="color:
> > #000000">Management</a>'
> > menu5[3]='<a href="http://www.javascriptkit.com/dhtmltutors/";
> > style="color: #000000">Training</a>'
>
> The links, as you have written them, will go directly to the page listed and
> overwrite the open page.
>
> Do you want to open the new page and leave the calling page open?
> If so, try this
> var menu5=new Array(
>    '<a href="page0.html" target="_blank" >Administrative</a>'
> ,  '<a href="page1.html" target="_blank" >Computers</a>'
> ,  '<a href="page2.html" target="_blank" >HRM</a>'
> ,  '<a href="page3.html" target="_blank" >Training</a>'
> ,  '<a href="page4.html" target="_blank" >Management</a>' )
> where page0.html , page1.html are the pages you want to open.
>
> BTW, style="color: #000000" is unnecessary - this is the default text colour
> of black
>
> However you use the phrase "body frame" which makes me wonder - do you have
> a framed site?
> If you do, then you will have to code this differently
>
> If not, you would still want to ensure that page0.html, page1.html, etc have
> navigation back to the page which opens them. A simple link back could be
> <input type="button" value="Home" onclick="location.href='index.html'" /> ,
> but you may already have a navigation scheme set up
> --
> Trevor Lawrence
> Canberra
> Web Sitehttp://trevorl.mvps.org- Hide quoted text -
>
> - Show quoted text -

Hi Trevor, yeah I'm using a frames page that has 4 parts - a top
banner, three frames underneath this - the left hand side is the
navigation menu, the middle one is the body and the right hand side is
a links menu. When an option is chosen from the left hand side
navigation menu, I would like just the middle body frame to change
only. I'm not sure how this will work though! Could you please assist
me on the coding?
Thank you!

.


Quantcast