L
Larry R Harrison Jr
I have them working now, courtesy of the link given in the prior thread--the
HVMenu over at Dynamic Drive myself.
http://www.dynamicdrive.com
I have them working as side-bar menus, not horizontal ones on TOP of the
page.
I figured it out and have it working fine, except for one thing--apparently
I need to insert the code for the menu for every last HTML file I have
practically.
This is not a big deal except that some of them are in different folders,
and thus many of the links don't work in the other locations because they're
"relative" links as opposed to "absolute" links. I figured that was the
better way--after all--with (as an example) img src tags in HTML, you also
just say "images/pic.jpg" rather than
http://www.mywebsite.com/sports/images/pic.jpg.; as long as the "relative"
location is right, it works. Plus, if you have a "contact us" page named
"contact_us.html" you also just say <a href="contact_us.html">Contact Us</a>
as opposed to <a
href="http://www.mywebsite.com/main/tutorials/contact_us.html">Contact
Us</a>.
Problem is, with the existence of the other folders the relative links don't
work in those locations.
It looks as though the thing to do is (a) make them absolute links--which
will then suck if I ever move the webpages to another domain etc or (b)
maintain different JS files for each folder--this would result in extra work
anytime I add new links (I'd have to add them to all the extra
exmplmenu_var.js files) or (c) create this with frames.
That is, with (c), have the menus in a left-hand side page with everything
opening on the right-hand side in a "frames" page. The problem with this,
though, is that when you go 2-3 levels deep you run out of space in the left
frame, and it gets ugly. Also, the special instructions given for if you
want to design them in a frameset--frankly, I'm not getting them.
Tips?
LRH
HVMenu over at Dynamic Drive myself.
http://www.dynamicdrive.com
I have them working as side-bar menus, not horizontal ones on TOP of the
page.
I figured it out and have it working fine, except for one thing--apparently
I need to insert the code for the menu for every last HTML file I have
practically.
This is not a big deal except that some of them are in different folders,
and thus many of the links don't work in the other locations because they're
"relative" links as opposed to "absolute" links. I figured that was the
better way--after all--with (as an example) img src tags in HTML, you also
just say "images/pic.jpg" rather than
http://www.mywebsite.com/sports/images/pic.jpg.; as long as the "relative"
location is right, it works. Plus, if you have a "contact us" page named
"contact_us.html" you also just say <a href="contact_us.html">Contact Us</a>
as opposed to <a
href="http://www.mywebsite.com/main/tutorials/contact_us.html">Contact
Us</a>.
Problem is, with the existence of the other folders the relative links don't
work in those locations.
It looks as though the thing to do is (a) make them absolute links--which
will then suck if I ever move the webpages to another domain etc or (b)
maintain different JS files for each folder--this would result in extra work
anytime I add new links (I'd have to add them to all the extra
exmplmenu_var.js files) or (c) create this with frames.
That is, with (c), have the menus in a left-hand side page with everything
opening on the right-hand side in a "frames" page. The problem with this,
though, is that when you go 2-3 levels deep you run out of space in the left
frame, and it gets ugly. Also, the special instructions given for if you
want to design them in a frameset--frankly, I'm not getting them.
Tips?
LRH