K
kurt
greetings,
I'm working on a bookmarklet that needs to overwrite the current
document with a frameset where the src of one of the frames is the
current URL. What I've come up with works in Mozilla (Firefox 1.0pr).
But in IE6, though View Source shows that the new frameset is there
with the correct URL inserted, nothing displays. It's a white page.
Anyone see the problem/solution?
code:
javascript:void(docLocHref=document.location.href);document.write('<frameset
rows="100%,*"><frame src="'+docLocHref+'"></frameset>');
thanks in advace,
kurt
I'm working on a bookmarklet that needs to overwrite the current
document with a frameset where the src of one of the frames is the
current URL. What I've come up with works in Mozilla (Firefox 1.0pr).
But in IE6, though View Source shows that the new frameset is there
with the correct URL inserted, nothing displays. It's a white page.
Anyone see the problem/solution?
code:
javascript:void(docLocHref=document.location.href);document.write('<frameset
rows="100%,*"><frame src="'+docLocHref+'"></frameset>');
thanks in advace,
kurt