cpdj
11-09-2003, 09:23 PM
I cannot get this right.
1. I need to modify the script and remove the window.open and have the links open in the same window.
2. I need the branding or both frames set to SCROLLING="auto", MARGINWIDTH="0", MARGINHEIGHT="0"
<!-- Begin
percent = "10%";
function frameBranding(actualurl, brandingurl, frametype) {
var framewin = window.open("","brandingframe");
with (framewin.document) {
write("<html><frameset " + frametype + "=" + percent + ",*>");
write("<frame src=" + brandingurl + ">");
write(" <frame src=" + actualurl + ">");
write("</frameset></html>");
}
return false;
}
// End -->
this is how I am linking to the script.
<a href="http://www.altavista.com/" onClick="return frameBranding('http://www.altavista.com', 'http://google.com, 'rows');">Altavista</a>
1. I need to modify the script and remove the window.open and have the links open in the same window.
2. I need the branding or both frames set to SCROLLING="auto", MARGINWIDTH="0", MARGINHEIGHT="0"
<!-- Begin
percent = "10%";
function frameBranding(actualurl, brandingurl, frametype) {
var framewin = window.open("","brandingframe");
with (framewin.document) {
write("<html><frameset " + frametype + "=" + percent + ",*>");
write("<frame src=" + brandingurl + ">");
write(" <frame src=" + actualurl + ">");
write("</frameset></html>");
}
return false;
}
// End -->
this is how I am linking to the script.
<a href="http://www.altavista.com/" onClick="return frameBranding('http://www.altavista.com', 'http://google.com, 'rows');">Altavista</a>