PDA

View Full Version : Left navigation table?



Darth Viscera
May 9th, 2002, 02:03:23 PM
I was thinking, is there some way that the left navigation table on the TGE board could use the "link href" tag so that the contents of that table would be under my control?

That way I could build/edit a small web page which would be linked into that table, and I wouldn't have to bother you guys whenever there was some new RP that I wanted to show off in the "Recent Developments" area.

Am I making sense?

TheHolo.Net
May 9th, 2002, 02:06:57 PM
I understand what you are asking but am not sure I understand your method. If you could attach a file with an example of how the coding would work on my end inside that table, I could probably make it so quite easily.

Darth Viscera
May 9th, 2002, 02:19:22 PM
Hmm, I'm not sure of the coding. It would be a table at Swfans.net whose contents are determined by an external file (maybe an .html file on my personal webspace), so that all I'd have to do to change that table would be change the file on my server.

TheHolo.Net
May 9th, 2002, 02:21:00 PM
You could create a web page which I could make an iframe refrence to in that portion of the table. That way when you change the web page (It wouldn't need to be a table, just the contents) it changes the left side panel.

Darth Viscera
May 9th, 2002, 02:28:33 PM
That's exactly what I need!

TheHolo.Net
May 9th, 2002, 02:33:35 PM
Give me a link to a web page, with a black background, and the contents of the table and I can set it all up for you. I would also recommend that you set these attributes

topmargin=0 bottommargin=0 rightmargin=0 leftmargin=0

Set in the body tag. You should be able to place your included items inside a single table for your own formatting needs, but you want to try and keep it small, at least width wise, and make its text properties match those of the forum so that it fits with the style. =)

Darth Viscera
May 9th, 2002, 02:39:50 PM
http://mywebpages.comcast.net/darthviscera/TGE/left_table.html

will that be sufficient? :)

TheHolo.Net
May 9th, 2002, 02:41:20 PM
I think you would be best off to left align it.

Darth Viscera
May 9th, 2002, 02:42:56 PM
done

TheHolo.Net
May 9th, 2002, 02:42:59 PM
That is why I said you could put it in a single table. You could left align the table, but have the text centered inside it. :)

TheHolo.Net
May 9th, 2002, 02:44:07 PM
I have to run for about 15 to 30 minutes, but as soon as I get back I will code that into your forums. :)

Darth Viscera
May 9th, 2002, 02:45:05 PM
Oh, I need to put this into a table? okay, just a sec

Darth Viscera
May 9th, 2002, 03:00:32 PM
Okay, now it is in a table. The table is left aligned, and the text is center aligned.

TheHolo.Net
May 9th, 2002, 03:06:50 PM
Hmmm, Not sure if its just me but I am getting a very improper display of that page right now. O_o

Shawn
May 9th, 2002, 03:34:41 PM
Aye, same here.

He should be able to just make a page as wide as the navigation bar is, and then we can display it in an iframe, no?

TheHolo.Net
May 9th, 2002, 03:35:57 PM
I think the table with that width (left alligned) should work since you can't really specify the width of an entire page. :)

Shawn
May 9th, 2002, 03:37:33 PM
er, that's what I meant. O_o Although, I don't think you necessarily have to align it left. IIRC, iframes automatically center the page inside of them. Or something like that.

I'm not entirely coherent at the moment.

TheHolo.Net
May 9th, 2002, 03:38:28 PM
I don't have a lot of experiance with them, so I was just trying to think logically.

No problem. :)

Darth Viscera
May 9th, 2002, 04:22:41 PM
What can I do? I've never tried using iframes before, but I know a moderate amount of HTML.

TheHolo.Net
May 9th, 2002, 04:23:28 PM
The page that you set up isn't working properly right now even in a window all its own. :\ When I veiw the page source it appears incomplete.

Darth Viscera
May 9th, 2002, 04:32:15 PM
OH! My bad :)
EDIT~Done

TheHolo.Net
May 9th, 2002, 04:34:45 PM
Alrighty. I'll look up my iframe refrence info and get it set up on your forums. :)

Darth Viscera
May 9th, 2002, 04:36:47 PM
:) yay

TheHolo.Net
May 9th, 2002, 04:45:41 PM
Done successfully. You now have control of that part of the left table's contents. :)

TheHolo.Net
May 9th, 2002, 04:53:19 PM
One thing you should probably do with that link. Add a

target=_blank

attribute to the a href tag, so that it doesn’t open the link in that tiny little frame.

TheHolo.Net
May 9th, 2002, 05:03:22 PM
Using the target=_blank attribute in the a href tag will cause the link to open in a new window. If you would prefer it open in the window users are browsing your forum in, use the specification:

target=_top

Darth Viscera
May 9th, 2002, 05:18:14 PM
Where do I put that? For example, does the coding go like this:



< a href =http://www.url.com target=_top>link< / a>

?

TheHolo.Net
May 9th, 2002, 05:23:52 PM
Yep. Perfect, except for the extra spaces around the tag parts, but I suspect you know that. :) php tags allow HTML to be posted in pure correct form.
link (http://www.url.com)

Darth Viscera
May 9th, 2002, 05:43:50 PM
Alright, everything is working perfectly now. A thousand thank yous :)

TheHolo.Net
May 9th, 2002, 06:11:18 PM
You are welcome. :)