Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
control on the name of the page on top bar
Old 09-02-2007, 12:39 AM control on the name of the page on top bar
Skilled Talker

Posts: 60
Name: tami
Trades: 0
i am opening a new window with flash and javaScript. and i need to control the name of the new window. since it is a site that is hosted in another site, at the top of my window appears the name of the main site. it ignoers the title tag originally in the window.
the code in flash is:
Code:
getURL("javascript:fixedSize('gallery/bigPicts1.html', '', 'menubar=0, tollbar=0, scrollbars=yes, resizable=0, width=800, height=600');");
and the code in the html page which is holding the flash is:
Code:
function fixedSize(url,name,features) {
 
 win = window.open(url,name,features);
pizza is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-02-2007, 01:07 AM Re: control on the name of the page on top bar
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I don't think JavaScript can change pages hosted on another site for security reasons. I might be wrong or there might be ways around this, but I'm pretty sure you can't change a page unless it's hosted on the same domain.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 09-02-2007, 01:33 AM Re: control on the name of the page on top bar
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
win.document.title = "(title)" may do it.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 09-02-2007, 01:37 AM Re: control on the name of the page on top bar
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Would you be able to change the title of a page that's on another domain though? If I'm understanding right (and it's possible I'm not) the OP is trying to change the title of a page that's on a site that's belongs to someone else.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to control on the name of the page on top bar
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13142 seconds with 12 queries