PDA

View Full Version : HTML Coding Question



Leon
27-04-2002, 21:43
OK guys, maybe you can help me out here...
I'm just putting a new test site together and it a bit of a snag.

Here's the page layout, if you can imagine in...


TOP Frame
frame frame
frame frame

(one long frame across the top then the rest of the page sub divided down)

Each 1/4page frame has a link to another page. HOWEVER - the links are only pointing to that frame... not useful
The only way currently I have around this is target="new" but I don't like it much.
how can i get those links to effectively put the new page up in place of the old?
before, I only had 3 frames on the page, top, side and main, so it was easy to say target="mainFrame".

have I shot myself in the foot with the subdivisions or is there a simple way around it that I haven't come across yet?

Thanks!!!

shadowninja
28-04-2002, 01:58
not sure I get what you mean, but have you given each 1/4 frame a name? irrespective of that, if you have a link to a page within a frame it should load up into the same frame, assuming you haven't given the wrong targets in the link... check your code... PM me or email the files in a .zip...

Leon
28-04-2002, 08:41
Ninja - you're bang on. Each frame does indeed have a name.
The problem is that I don't want the links to load up in the frame they were linked from - I want them to replace the whole page...
Think I've shot meself in the foot with this one... :(

shadowninja
28-04-2002, 12:47
Originally posted by Starionman
Ninja - you're bang on. Each frame does indeed have a name.
The problem is that I don't want the links to load up in the frame they were linked from - I want them to replace the whole page...
Think I've shot meself in the foot with this one... :(


ahhhhh now i understand what you want...
target="_top"

:cool:

Leon
28-04-2002, 21:02
Originally posted by shadowninja



ahhhhh now i understand what you want...
target="_top"

:cool:

Nice one mate, I'll try it.

I've buggered about for 2 days on this now, tried image mapping. All looks very easy, but guess what - when the code is imported, NO CAN DO. Then once the code is finally got right (the prog missed a tag), the maps have shifted so that they aren't where I left them...
GRRR

I hate this stuff...!!!

Cheers Ninja - I'll let you know (fingers crossed!)