Click to See Complete Forum and Search --> : How can I make Fixed frames?


tigerwood
03-12-2003, 03:22 PM
I want to make fixed frames. What should I add?

Also, it doesn't show any attributes(Navigation tool bar, menu bar,and etc.)
What should i add in this script?


<!-- 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;
}





-------
Help ?

Thank you.::confused:

Jona
03-12-2003, 04:17 PM
Add your config to the last part to get menubars and stuff:

window.open("","brandingframe","menubar=yes,toolbars=yes,status=yes")

That's the part you change to add all of the menubars and stuff, but they should already be there.... hmm--odd...

Just what do you mean by "fixed" frames?

tigerwood
03-12-2003, 07:43 PM
now user can resized the frame.

So i want to fixed frame.

pyro
03-12-2003, 08:07 PM
Try something like this:

<!-- 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 + " noresiz='noresize'>");
write(" <frame src=" + actualurl + " noresiz='noresize'>");
write("</frameset></html>");
}
return false;
}