home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

HTML include inside a table

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1526
Discussions: 200,952, Posts: 2,379,473, Members: 246,315
Old February 17th, 2007, 10:31 AM   Digg it!   #1 (permalink)
Mobile Member
 
ShuckyD's Avatar
 
Join Date: Apr 2005
Location: S. Central PA
Posts: 3,601
HTML include inside a table

I have a template i set up for the basis of a website i am doing, but i wanted to make the leftmost cell as my navigation bar. Can i just make a simple html file that only uses a small portion of the screen as my menu and call it from that cell so it loads there. One time for all pages, so if i change links i should only have to change them in one area? If so how would i do it, what code/tag would i need to call another file inside of a cell?


Thanks
__________________
Thinkpad T61 14.1" wide | WinXP Pro | C2D T8300 CPU | 3GB DDR2 | 160GB HDD | AGN & WWAN
Lenovo S10 10.2" LED display | 1.6Ghz Atom CPU | 1GB DDR2 | 1.3mp webcam | B/G WiFi | 160GB HDD
ShuckyD is offline   Reply With Quote
Old February 17th, 2007, 10:52 AM     #2 (permalink)
ph34r t3h g04t
 
Whir's Avatar
 
Join Date: Oct 2001
Location: Kingsford, MI
Posts: 19,558
Blog Entries: 7
I do it using a table, and the <iframe> tag. It's kind of a mess to explain, you'd probably get it faster if you google it.

Basically, you just put the <iframe> inside a cell, name it, and use the target flag in the <a> data.

Here's an example. Made that for my CS101 class back a couple years. Never did get around to fixing the frame issue it has in some browsers, but it was good enough for what it was for. Anyway, if you look at the code for the page, you can see how I did the one cell with the links and target=, and the cell below it with the embedded <iframe> with the name=.

If that's not what you're looking for, then I'm a horrible failure.

I started using static cells with the overflow property recently, as the target didn't change on my new site.
Whir is offline   Reply With Quote
Old February 17th, 2007, 10:59 AM     #3 (permalink)
Mobile Member
 
ShuckyD's Avatar
 
Join Date: Apr 2005
Location: S. Central PA
Posts: 3,601
well if you look back in this same forum area (webmastering and programming) you'll see a post from me last night. This is what this template file will be used for, so if you want to be caught up to date on the whole situation just check it out. Instead of using frames/framesets i decided this would probably work out and be better.

I'll take a look at your source to see what you were talking about, but i think its what im trying to do. Let me know what you think of the site im revamping (see other thread)

I guess this is what your referring to:
Code:
            <div>
			  <iframe name="frm" src="main.html" frameborder="0" scrolling="auto"></iframe>
			</div>
so i would call something if i put it in a folder called inc like src="/inc/nav.html"
what is your iframe name="frm" all about? Do you just have to name it?

Last edited by ShuckyD : February 17th, 2007 at 11:25 AM.
ShuckyD is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML Table Help needed. Blazer06 Webmastering and Programming 8 December 2nd, 2004 11:40 PM
Table borders are killin me, image and code inside.... Master Chief Webmastering and Programming 8 July 11th, 2003 03:34 PM
File include with html? PyroSama Webmastering and Programming 5 February 28th, 2003 09:14 PM
HTML table problems! Creatures Graphic Design and Digital Photography 7 February 17th, 2003 04:59 PM
PHP include in HTML, help? Whir Webmastering and Programming 7 October 7th, 2002 06:07 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
The disrespect of Obama by Russian .. (40)
Is It Just Me? (2942)
Making Health Care Worse (178)
Wireless Televisions. (12)
CPU fan stops spinning randomly (8)
windows 7 problem (7)
Regular Build (11)
Is the PSU I received dead? (12)
radeon x850xt platinum & shader.. (6)
Print spooler problem (15)
windows vista security holes (10)
HIS HD5770 graphic card question (15)
Install XP pro and a Vista laptop ?.. (11)
Foreign voltage (10)
Recent Discussions
How to Enjoy Your Favorite Videos on .. (0)
EVGA 9800 gtx help with finding a goo.. (11)
Regular Build (11)
Help with onclick and buttons (0)
Modern Warfare 2: Who Bought It? (63)
Virus advise (8)
My monitor won't turn on after instal.. (1)
Laptop with wireless problem. (3)
Internet Lost (3)
Dept. of HS: NSA 'Helped' Develop Vis.. (16)
windows vista security holes (10)
Point and Shoot Camera Suggestions. (4)
Multiple Restarts Required at Boot (2)
Ideal cheap graph card for PC-Gaming? (18)
radeon x850xt platinum & shader 3 (6)
Graphics Card Upgrade Question (4)
For Sale BFG GTX285 OC2 with 10 year .. (3)
How to convert MP3's (4)
Wireless Televisions. (12)
Hp Artist Edition + Matching Bag (0)
Asus P4G8X Mobo (6)
Xbox 360 GTA: SA disk error (1)
Is the PSU I received dead? (12)
windows 7 internet problem (5)
BSOD On Startup (ntoskrnl.exe) (2)


All times are GMT -4. The time now is 02:14 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28