|
Posted by Jake on 10/25/16 11:29
In message <divqnb$d3i$1@newsreader3.netcologne.de>, Alan Searle
<aj_searle@xxxyahoo.com> writes
>
>I am building a little web site with 'frames' and would like to
>simulate 'tabs' across the top of the page.
>
>So far I have created a simple frame holder (index.html), I have a top
>frame with menu and then, below I have the contents (which switch
>according to the selection made).
>
>You can view my effort so far at ...
>
>http://www.alse.com/OSD/
>
>In order to make the menu selection (across the top) look like 'tabs',
>I would need to do the following ...
>
>1. Make the buttons (in the menu across the top) change colour (or
>background) according to what has been selected. Is this possible with
>simple HTML? Or would I need to resort to programming? Maybe with
>JavaScript? Or PHP?
>
>2. Make the buttons lie flush with the bottom of the header frame (and
>thereby also with the contents below). To do this, I have tried
>experimenting with changing the CELLPADDING, CELLSPACING, BORDER,
>VALIGN, BODY, TABLE, DIV ... but somehow there is always a gap between
>the table (which is intended to simulate buttons) and the bottom of the
>frame.
>
>Any tips on this issue would be gratefully received.
>
>Many thanks,
>Alan Searle.
>
[Snip]
It's a nice-looking site, and could work quite well as it stands.
For making the button backgrounds change colour, you could try posting
your query on a javascript newsgroup.
You could also look into using CSS, both for the background changes and
also for bringing your HTML coding up-to-date for 2005.
You have some issues with your current design where frames are concerned
(not that you really need them in this application, and you might
consider doing away with them):
(a) You have a simple 2-frame set-up, so you don't need nested framesets
(b) The frame names should make sense i.e. 'topframe' should be called
'Menu'
(c) If you want search engines to pick up on the contents of the site,
you'll need an adequate <noframes></noframes> entry to provide a way for
the SEs to index the contents..
(d) On each page/content-frame, you need a <title></title> entry that
reflects the content of that *frame*.
(e) On each page, provide a link back to the frameset in case someone
accesses one of the contents pages through Google or whatever (assuming
you want your content indexed).
Still. Looks nice -- but you need to do something about resizing your
images. I've got a 2Mbits/sec link and even then it's slow to load.
Your 300k images should reduce to about 20k without losing any quality.
Regards.
--
Jake (jake@gododdin.demon.co.uk -- just a 'spam trap' mail address)
Navigation:
[Reply to this message]
|