...

View Full Version : frames



Kevin
02-26-2003, 04:10 AM
Trying to write to a sibling frame.

This should work...
What am i missing

fraB is the window I write to!

function ClearFrame ()
{
var text = "<html><head></head><body><h1 align='center'>Selections<\/h1><\/body><\/html>";

parent.fraB.document.write(text);
parent.fraB.document.close();
} /* end ClearFraB () */

thank you
Kevin

justame
02-26-2003, 04:26 AM
kev...
/me doesnt just a dooo® thattt stufff...:O((( 'cept when she was just a comparing® your coding lines???
var text = "<html><head></head><body><h1 align='center'>Selections<\/h1><\/body><\/html>";


seems ya didnt...errr just a forgot® to \ the </head> one??? like you did for the <\/body> n' <\/html> ones???

just a guessing® 'cept ya nevvver knowww...hehehe

glenngv
02-26-2003, 06:06 AM
when do you call ClearFrame()?
you can also try:

top.frames["fraB"].document.write(text);
top.frames["fraB"].document.close();



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum