Click to See Complete Forum and Search --> : naming my popup window>? Please Help...
gkcoach1
08-12-2003, 09:22 AM
Ok. so i am using a code that was generated for me (i know, lazy), to create a popup that will house a flash movie for my website. when i do this, the title of the page on the top of the browser (the bit in blue) lists the actual name of the file, not the title of the site. the code is below. does anyone have any suggestions as to how i could get this to read properly? thanks bunches...the code is below.
onClick="javascript:popUp('gibweb3.swf')" name="button"
requestcode
08-12-2003, 10:05 AM
We need to see the script named PopUp().
gkcoach1
08-12-2003, 10:07 AM
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=800,height=550,left = 0,top = 0');");
}
i think this is what you are asking for...
requestcode
08-12-2003, 11:36 AM
I believe that since you are not displaying an actual HTML document that it displays the file name. I don't believe that you can modify that - at least for NS or Mozilla browsers. I know for IE browsers that you can change the title property for HTML documents by doing this: document.title="my title", but since the file in question is flash there is no title property to modify. Maybe someone else can come up with a solution. Sorry I cannot be of more help. Good Luck.