WebSphere HATS - Display Title bar on each page.

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere HATS > April 2006 > Display Title bar on each page.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Display Title bar on each page.
joe hrach

2006-03-30, 11:57 pm

How do we get the screen title to display in the title bar of the browser??
We are using Studio 5.1.2.5 and HATS 5.0.8.

We put a <title> tag on each of our HATS pages to display the screen name in
the browser title bar. We also use the following launcher to assign a
unique workstationID for each user and pass the disconnectOnClose=true
parameter. However, when we use the launcher, the browser title bar on each
IE page only displays the window.open called URL and not the information
from the <title> tag on the jsp page.


<html>
<head>
</head>
<body>
<SCRIPT LANGUAGE="JavaScript">

window.open("http://cms.harrahs.org/CMS/index.jsp?workstationID=jhrach&disconnectOnClose=true",
"XXX", "width='+screen.width+', height='+screen.height+', left=1,
top=1,location=no, menubar=no, status=yes, toolbar=no, scrollbars=yes,
resizable=yes");

window.opener=null;
window.close();

</SCRIPT>
</body>
</html>


alisa

2006-04-08, 6:58 pm

Have you tried adding a <title> xxx </title> tag to the top of index.jsp?
You should be able to copy the <title> tag from any of the HATS templates.

Thanks,
Alisa

"joe hrach" <jhrach@computer-guidance.com> wrote in message
news:e0ht06$5ao4e$1@news.boulder.ibm.com...
> How do we get the screen title to display in the title bar of the
> browser??
> We are using Studio 5.1.2.5 and HATS 5.0.8.
>
> We put a <title> tag on each of our HATS pages to display the screen name
> in the browser title bar. We also use the following launcher to assign a
> unique workstationID for each user and pass the disconnectOnClose=true
> parameter. However, when we use the launcher, the browser title bar on
> each IE page only displays the window.open called URL and not the
> information from the <title> tag on the jsp page.
>
>
> <html>
> <head>
> </head>
> <body>
> <SCRIPT LANGUAGE="JavaScript">
>
> window.open("http://cms.harrahs.org/CMS/index.jsp?workstationID=jhrach&disconnectOnClose=true",
> "XXX", "width='+screen.width+', height='+screen.height+', left=1,
> top=1,location=no, menubar=no, status=yes, toolbar=no, scrollbars=yes,
> resizable=yes");
>
> window.opener=null;
> window.close();
>
> </SCRIPT>
> </body>
> </html>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com