[nSLUG] Trying to include a menu in a website help

Joel Maxuel j.maxuel at gmail.com
Mon Sep 1 22:06:07 ADT 2014

Good evening Trina,

I had to look up <OBJECT> tag to see it's capabilities, but to me, it looks
just like a non-proprietary version of <IFRAME>.  That is, you probably
cannot layer the menu.html
content on top of the main web page content (at least, not without a tonne
of CSS).

What I would do is incorporate the menu into each page for now.  Consider
it a common header for the webpages.

If your web server allows PHP, (what I prefer to do) is make a common.php
file (include the menu, page background, et cetera) and have each web page
call that for the header.  That way, if you want to change the look and
feel of the site, you only need to change one file.

Hope this helps.

Joel Maxuel

"One should strive to achieve, not sit in bitter regret."
 - Ronan Harris / Mark Jackson

On Thu, Aug 28, 2014 at 2:53 PM, Trina Conrad <trina.hanson79 at gmail.com>

> So I have the following code in my website to try to include a menu on
> each page, to make my life easier to include the same menu from a single
> file on each page:
> <object data=menu.html type="text/html" style="width:100%;
> height:100%"></object>
> The issue I have is that even though it shows the menu at the full length,
> there is an issue with the height. When I try to see a pop down window it
> brings up a scroll bar on the right hand side of the window. I am wondering
> how to get rid of that and have it show the menu pop down windows over the
> text on the page. See the two screen shots for what is happening and what I
> would like to have happen.
> http://imgur.com/5lYVjSd
> http://imgur.com/vNCLCIc
> I was directed to try to change the height to the same as the menu itself.
>  So I did that and now it looks like this:
> http://imgur.com/ZE7235b
> Some help would be greatly appreciated.
> Thanks,
> Trina
> _______________________________________________
> nSLUG mailing list
> nSLUG at nslug.ns.ca
> http://nslug.ns.ca/mailman/listinfo/nslug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nslug.ns.ca/pipermail/nslug/attachments/20140901/73ae02c0/attachment.html>

More information about the nSLUG mailing list