473,785 Members | 2,842 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

changing window title from parent window

Hello

I'm opening a window with a SWF inside (no HTML, just the SWF) but in the
title bar appears something like

http://www.server.com/myDir/myWeb/Flash/myFlash.swf

i'd like to write something like "Wow!! look thos flash!!!".

Could I do that from the function who launch it??? with something like this?

myWin.title = 'Hello world!!!';

Sorry about my English!!! O:-)

thank you in advance!! bye!!

Luis
Jul 23 '05 #1
3 6626
Luis wrote:
Hello

I'm opening a window with a SWF inside (no HTML, just the SWF) but in the
title bar appears something like

http://www.server.com/myDir/myWeb/Flash/myFlash.swf
Yep, thats because you are attempting to open the .swf file itself.
i'd like to write something like "Wow!! look thos flash!!!".
Then use an html page and the title attribute.
Could I do that from the function who launch it??? with something like this?
myWin.title = 'Hello world!!!';


That depends on whether the .swf file allows the title to be set. Highly
doubtful, see above.
Jul 23 '05 #2

"Randy Webb" <Hi************ @aol.com> escribió en el mensaje
news:rP******** ************@co mcast.com...
Luis wrote:
Hello

I'm opening a window with a SWF inside (no HTML, just the SWF) but in the title bar appears something like

http://www.server.com/myDir/myWeb/Flash/myFlash.swf
Yep, thats because you are attempting to open the .swf file itself.


Yes, I know. I was just explaining the problem :-)
i'd like to write something like "Wow!! look thos flash!!!".
Then use an html page and the title attribute.

Could I do that from the function who launch it??? with something like
this?
myWin.title = 'Hello world!!!';


That depends on whether the .swf file allows the title to be set. Highly
doubtful, see above.


I don't think the SWF control the title bar.....

thank you anyway!!!

bye
Jul 23 '05 #3
Lee
Luis said:


"Randy Webb" <Hi************ @aol.com> escribió en el mensaje
news:rP******* *************@c omcast.com...
Luis wrote:
> Hello
>
> I'm opening a window with a SWF inside (no HTML, just the SWF) but inthe > title bar appears something like
>
> http://www.server.com/myDir/myWeb/Flash/myFlash.swf


Yep, thats because you are attempting to open the .swf file itself.


Yes, I know. I was just explaining the problem :-)
> i'd like to write something like "Wow!! look thos flash!!!".


Then use an html page and the title attribute.

> Could I do that from the function who launch it??? with something like

this?

> myWin.title = 'Hello world!!!';


That depends on whether the .swf file allows the title to be set. Highly
doubtful, see above.


I don't think the SWF control the title bar.....


That's right. What he's saying is that, since you're opening a SWF
file, instead of an HTML file, there is no title attribute. If you
want to set the title, you can open an HTML file that contains the
SWF file, instead. One way would be:

function openSWF(URL,tit le) {
globalHTML = "<html><head><t itle>"
+title+"</title></head><body>"
+"<iframe width='100%' height='100%' "
+"frameborder=' 0' src='"+URL
+"'></iframe></body></html>";
myWin=window.op en("javascript: opener.globalHT ML");
}

Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
8203
by: Lee | last post by:
I am using a modal window and an iFrame to try and pull a return value back. I am doing this across domains. I have the value returned from the modal window to the iFrame window but I can not get the value returned to the parent window. The alert in the parent window always returns undefined errors. Any help would be much appreciated. I call the modal window and wait for the return as such: function LCC()
2
2312
by: Robert Nurse | last post by:
Hi All, I'm trying to alter the contents of a drop-down (select) list on the parent window from a child window in IE 6. After opening the child window, I set its opener to reference the parent like this: childwin = window.open(...) if (childwin == null) childwin.opener = self;
2
2221
by: maxrawson | last post by:
Greetings all: I have an asp.net application that is coded mainly in vb.net. I have successfully cut and pasted some javascript into my application that mimicks the datetime picker control in vb. I wanted to try to use that same code for another popup style window that displays a list of airport codes in a datagrid. The desired results would be that when an airport code (the datagrid's key field) is clicked the value would write back...
1
3436
by: MickG | last post by:
I am trying to change the value of the variable "hard" according to which radio button is pressed and I am having no joy. Could anyone help me with this, the problematic section is marked with ***********************, I've included all the code incase that isn't where the problem is. Any help would be hugely appreciated. Mick
2
9250
by: umashd | last post by:
Hi, I am doing a web based project for my graduation. I studied bit of java for backend processesing and javascript for the client. Here is the scenario. In the FORM, I use INPUT TYPE=text VALUE=" " NAME=cat, and a gif next to it. User will click on the icon to get a new window. In the new window, the user selects a value from the pull down menu (created by servlet from back end) and clicks OK. The value is passed back to the
1
1798
by: Yuk Tang | last post by:
Leading on from a recent topic, "How does child class access parent's variables", I would like to ask, what's the most elegant way of changing a parent/grandparent/great-grandparent's property? The class Nest has a subclass SubNest. Within SubNest I want to work with Title. I think if I can pass Title ByRef to the children and grandchildren, it would work, but VB doesn't do so by default, and indeed warns me against it: "Reference to a...
2
3286
by: Vivek | last post by:
I have two html files Parent.htm and Child .htm Following is the code inside the Parent.htm: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title></title> <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1"> <meta name="vs_targetSchema"
3
7357
by: bulldog8 | last post by:
I am having problems with changing a frames source file for Mozilla (1.5.0.4). The followig code works for IE: <script type="text/javascript"> var imgP = new Image(); function ShowPic(ShowThis, wdth, hght) { imgP.src = "../pics/' + ShowThis + '" xw = 500; yh = 500*(hght/wdth); window.document.getElementById("graphic").innerHTML = '<img src="../
1
3600
by: soms2m | last post by:
HELLO ALL, I want to fill the parent window height with respect to the sub window height which is loading using ajax (mootools). For example if the parent window height is normal and the loading child window height is 1200px (saying), when the child window load the height of the parent window changs but the backgorund color which is given 100% not fill the parent window. I have given my example codes, please give a solution as soon as...
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10327
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10092
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7499
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6740
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3647
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.