PDA

View Full Version : FRAMES!. I got nested frames but i don't want them!


DHB
22-09-2000, 20:35
basically i got four frames on me webby
a navigation bar, main text area, variable image area, and also an imagemap.
now i want to give people the chance to change the colour scheme within my webby. So i plan to do 3 or 4 style sheets specifying different backgrounds and colours. and then use the image map to link to 3 or 4 different framesets, specifying the different style sheets. Still with me?
Right, the problem is, that as i said above my page has four frames within it, but when u click on the image map to go to a different frameset. Instead of replacing the current frame set, it nests the frameset within the imagemap frame. What i want it to do is replace the current frameset, i don't want to target a new window

I really hope that makes sense, i hav'ent got a URL for ya, cause it's still in development. But if u can't understand what i mean, i will upload it tommorrow or something

Cheers people, fill me with ur knowledge!!

SPAWNO
22-09-2000, 21:33
lo m8y

in the link to each new frameset, add in

target="_top"

to the end. that should reload that frameset in the same window

:)

hope this helps

alpha
22-09-2000, 22:29
Also, if your server has PHP enabled, you could do this quite easily without needing 4 different framesets.

DHB
22-09-2000, 23:14
cheers spawno
stupid me i was just putting "top", missing out the "_"

and {TA} alpha, sounds interesting

please explain

thanks