Connecting Tech Pros Worldwide Forums | Help | Site Map

pop up window title

Kavi
Guest
 
Posts: n/a
#1: May 10 '06
in the pop up window, there is always a url before the title of the
window, is there a way i can only have the title, and no url?

i cannot give u a link to my page, but i have found an example you can
look at...

http://www.spiderenterprises.com/how...l/popup.html#f

goto "Onclick fullscreen popup."

click on the spider

a new window will open. and you will see url in the title of the window



this is what i'm using to open the window <a
href=javascript:popupMainDocWin(" stuff")


David Dorward
Guest
 
Posts: n/a
#2: May 10 '06

re: pop up window title


Kavi wrote:
[color=blue]
> in the pop up window, there is always a url before the title of the
> window, is there a way i can only have the title, and no url?[/color]

Don't remove the address bar and the browser won't worry about warning the
user what domain the window points to. Its an anti-pishing measure.
[color=blue]
> this is what i'm using to open the window <a
> href=javascript:popupMainDocWin(" stuff")[/color]

Oh dear. http://jibbering.com/faq/#FAQ4_24

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Kavi
Guest
 
Posts: n/a
#3: May 10 '06

re: pop up window title


but if i could not the url, is it possible? and if so how?

i just want the title of the page to show, not the url

Randy Webb
Guest
 
Posts: n/a
#4: May 10 '06

re: pop up window title


Kavi said the following on 5/9/2006 2:52 AM:

Please quote what you are replying to.

If you want to post a followup via groups.google.com, don't use the
"Reply" link at the bottom of the article. Click on "show options" at
the top of the article, then click on the "Reply" at the bottom of the
article headers.
<URL: http://www.safalra.com/special/googlegroupsreply/ >
[color=blue]
> but if i could not the url, is it possible? and if so how?[/color]

Stop removing toolbars, problem semi-solved.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Kavi
Guest
 
Posts: n/a
#5: May 10 '06

re: pop up window title


but i don't want to remove the tool bar

i was just wondering if it is possible to only show the title of page
and not the url

right now its showing [url]- [title] - [internet explorer]

can i have just the [title] - [internet explorer] ?

David Dorward
Guest
 
Posts: n/a
#6: May 10 '06

re: pop up window title



Kavi wrote:

You've been asked to quote what you are responding to before, please
respect that request.
[color=blue]
> but i don't want to remove the tool bar[/color]

Good - so don't.
[color=blue]
> i was just wondering if it is possible to only show the title of page
> and not the url[/color]

Yes - when you open the window specify that the location bar should not
be removed... as I said at the start of this thread.

Gérard Talbot
Guest
 
Posts: n/a
#7: May 11 '06

re: pop up window title


Kavi wrote :[color=blue]
> but i don't want to remove the tool bar
>
> i was just wondering if it is possible to only show the title of page
> and not the url
>
> right now its showing [url]- [title] - [internet explorer]
>
> can i have just the [title] - [internet explorer] ?
>[/color]


The title of the page will be shown, displayed in the titlebar if the
document has/uses something in the <title> element.

E.g.:
The code
<head>
....
<title>Foo bar</title>
</head>

in the popup document will show Foo bar in the titlebar of the popup window.

Please quote what you are replying to.

Please read
http://www.safalra.com/special/googlegroupsreply/

Gérard
--
remove blah to email me
ASM
Guest
 
Posts: n/a
#8: May 11 '06

re: pop up window title


Gérard Talbot a écrit :[color=blue]
>
> The title of the page will be shown, displayed in the titlebar if the
> document has/uses something in the <title> element.
>
> E.g.:
> The code
> <head>
> ...
> <title>Foo bar</title>
> </head>
>
> in the popup document will show Foo bar in the titlebar of the popup
> window.[/color]

Personally, with FireFox (did not look at others browsers) :

if I open a popup :
window.open('foo.htm','','width=500,height=300,scr ollbars=1')

the title bar shows url + title

if I do :
window.open('foo.htm','','width=500,height=300,loc ation=1')

only alone title in title bar

I didn't find how to have only title with 1st case.

--
Stephane Moriaux et son [moins] vieux Mac
David Dorward
Guest
 
Posts: n/a
#9: May 11 '06

re: pop up window title


ASM wrote:
[color=blue]
> window.open('foo.htm','','width=500,height=300,scr ollbars=1')
> the title bar shows url + title[/color]
[color=blue]
> window.open('foo.htm','','width=500,height=300,loc ation=1')
> only alone title in title bar[/color]
[color=blue]
> I didn't find how to have only title with 1st case.[/color]

You can't. As mentioned previously, it is an anti-pishing security measure.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Thomas 'PointedEars' Lahn
Guest
 
Posts: n/a
#10: May 18 '06

re: pop up window title


David Dorward wrote:
[color=blue]
> Kavi wrote:[color=green]
>> i was just wondering if it is possible to only show the title of page
>> and not the url[/color]
>
> Yes - when you open the window specify that the location bar
> should not be removed... as I said at the start of this thread.[/color]

Which is the default and therefore can be omitted.


PointedEars
--
The English government is much of a German poodle as
other governments. The Germans infiltrated them all.
-- "The only real Barbara Schwarz", dsw.scientology,
<16d1deb5.0402261008.48f994b6@posting.google.com >)
Closed Thread


Similar JavaScript / Ajax / DHTML bytes