Forum Moderators: open

Message Too Old, No Replies

HTML Left Table Problems, please help?

         

jadedprincess01

9:50 am on Apr 6, 2005 (gmt 0)

10+ Year Member



I have been trying to work on a newsletter for a league I am in and my problem is the left table. Everything appears to look "normal" but when you click a left table link, the website to the link loads inside of the left table and I have been working for days and cant figure it out.. can someone please help? Thanks so much here is the link to the site I am working on. Hope you can help, thank you

<SNIP>

[edited by: BlobFisk at 9:53 am (utc) on April 6, 2005]
[edit reason] No URLs please! See TOS [webmasterworld.com] [/edit]

BlobFisk

9:58 am on Apr 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi jadedprincess01 and welcome to WebmasterWorld!

This sounds like a frames issue rather than a table issue. If you have a 2 column frame layout with your site links on the left hand column and your content on the right hand colum, you need to tell the links in the left frame that they need to open in the content frame. We achieve this using the target attribute.

In your frameset page where you define your frames you should have code like this:


<frame src="left.html" name="leftframe">
<frame src="content.html" name="contentframe">

It is the names on the frames that we use. So, in your left frame on your links, you should use a target:

<a href="page.html" title="Page Title" target="contentframe">

HTH

cmatcme

10:09 am on Apr 6, 2005 (gmt 0)

10+ Year Member



Welcome T [webmasterworld.com]o Webmasterworld [webmasterworld.com] jadedprincess01 [webmasterworld.com]

Other target attributes include:

target=new_window .. Loads in a new window
target=_top ........ Overrides all frames
target=_self ....... Loads in the same frame
target=_blank ...... Also loads in a new window

cmatcme

jadedprincess01

10:15 am on Apr 6, 2005 (gmt 0)

10+ Year Member



ok now I really believe I am the village idiot LOL I appreciate both of you for helping but those codes look greek to me... I guess I am used to doing simple webpages, and well I am not doing too bad with them considering I am self taught. But I am really not sure which code goes where for this one webpage I am doing I have a total of 3 seperate pages... one for the main content one for the left content and one with them combined... which code do i put on which page and where? sorry I really am not a complete idiot just when it comes to left tables lol

cmatcme

10:31 am on Apr 6, 2005 (gmt 0)

10+ Year Member



Whenever you place a link into a page the browser needs to know where to load the page. There are several places where it can load it, in the same window but override (go over) all the frames in the page to make one big frame [ target=_top ], in a new window (opens the user's browser again) [ target=new_window AND target=_blank ] and finally in the same frame which the user was browsing in [ target=_self ]. By default that target is _self.

In order to apply the attributes you need to place them in the a tag like so:

 <a href="example.asp" target=new_window> 

This will load example.asp in a new window.

For more info google html targets [google.com] or use your favourite search engine.

cmatcme

PS: I'm self taught too!

jadedprincess01

11:10 am on Apr 6, 2005 (gmt 0)

10+ Year Member



Ok i think I am beginning to understand... instead of using just a standard link code i have to use a link code that tells the link where to load?

cmatcme

11:27 am on Apr 6, 2005 (gmt 0)

10+ Year Member



Absolutely.

cmatcme

jadedprincess01

11:31 am on Apr 6, 2005 (gmt 0)

10+ Year Member



WOO HOOOOOOOOO hopefully after I am done napping I will give it a go and see what happens.... I'll repost if I have any problems thank you all so much for your help and understanding of my limited html knowledge i really appreciate it, i am so glad I found this website! :D

jadedprincess01

7:12 am on Apr 7, 2005 (gmt 0)

10+ Year Member



I just want to say thank you all so muc.. I did exactly as was said and it works... My 1st ever WORKING left table. Thank you Thank you :)

You all are genius' I will definitely be mentioning this site to other people inthe league.. they always need html help lol. Again thank you so much for the help

cmatcme

1:36 pm on Apr 7, 2005 (gmt 0)

10+ Year Member



Please be careful though, just as BlobFish said, you're using framesets not tables

cmatcme ;)