View Full Version : Could someone help me with my tables?
Hellraisermk2
18-02-2001, 03:47
Hi,
Just a quick question. I'm new to html and all that, and have spent the last few day practising. I've prefected frames and alot of other stuff, and now roughly how to use tables.
Now I've got a web site ready, but I've used frames in it, and I've decieded I don't want frames, but instead want to use tables. But I'm stuck.
I've done it so that 1 columm (or cell) is the navigation bar and another column is the main bit. My problem is, How do I get it so if I click on a link in the navigation bar (cell 1), it opens in the main bit (cell 2)?
I can manage it easily with frames, but really want to use tables. Please help, I've spent hours scouring the net trying to find out to no avail :{
Shadow Templar
18-02-2001, 03:58
Unless you know JavaScript this is not going to be easy ...
I suggest you use frames for this ... it so much easier to make and maintain.
Hellraisermk2
18-02-2001, 04:02
I know a bit of JavaScript, only simple stuff though. And I understand that frames are nice and easy :), but I'm desperate to learn how to use tables properly too. Also I hear that using frames can fluff up how the site looks if the user does certain things, whereas tables don't have the same effct :).
Is there I way without using JavaScript or am I a lost cause until I've fully learnt JavaScript?
Shadow Templar
18-02-2001, 04:11
As far as I know there is no way around this in HTML, Javascript is your best bet, but make sure you know how to generate html using it (ie document.write()). Frames can be mucked up, but so can non framed sites ... HTML was never designed for visulisation, it was made for content.
Hellraisermk2
18-02-2001, 04:26
I think I'll stick to frames for the moment then :).
I'm slowly implementing JavaScript to the site anyway, but I don't want to overcrowd it with pointless things... keep it nice and tidy looking. Maybe when I'm a little more confident.
I'd post the link to my site, but I'm too at the mo it's crap compared to most (although I'm proud of it cos I did it all myself :) ).
I'm kinda working on the same problem at the moment.
It'll be along the lines of assigning varied text to a function, then calling it with the document.write(func) thingy in the cell of your choice.
I think!!
Wish I knew DHTML better. I'm sure there's a simpler way using that little beauty !
J.
Hellraisermk2
18-02-2001, 11:55
Well I've only been trying HTML for three days. I was determined to do it without using one of those programs that basically makes the web page for you.
So far it looks good for a few days work... not the best looking site, but it doesn't look like your everage geocites crap (even though I'm using geocites to test it LOL).
Anyway, my knowledge of html extends to prompts and other silly buttons. So if you ever do figure it out m8, could I have a look at the code? :)
Can you do this using an iframe?
You can do it using an iframe but that's over complicated and won't work on Nutscrape.
Your problem here is that you're confusing the two concepts. Frames allow you to display multiple HTML pages on screen at once and let links in one change other stuff - tables are ONLY a layout tool
What you need to do is have the same table layout (with the same nav menu) on every single page of the site - then clicking on a link in the nav menu will load another page that looks the same due to having the same layout.
There are loads of reasons for not using frames - very few professional sites use them these days due to the many problems the introduce (such as difficulty in bookmarking things, breaking the navigational model of the web etc).
Hellraisermk2
18-02-2001, 13:39
ta skunkeh :)
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.