473,396 Members | 2,002 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

pop up window title

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")

May 10 '06 #1
9 8579
Kavi wrote:
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?
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.
this is what i'm using to open the window <a
href=javascript:popupMainDocWin(" stuff")


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
May 10 '06 #2
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

May 10 '06 #3
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/ >
but if i could not the url, is it possible? and if so how?


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/
May 10 '06 #4
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] ?

May 10 '06 #5

Kavi wrote:

You've been asked to quote what you are responding to before, please
respect that request.
but i don't want to remove the tool bar
Good - so don't.
i was just wondering if it is possible to only show the title of page
and not the url


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

May 10 '06 #6
Kavi wrote :
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] ?

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
May 11 '06 #7
ASM
Gérard Talbot a écrit :

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.


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
May 11 '06 #8
ASM wrote:
window.open('foo.htm','','width=500,height=300,scr ollbars=1')
the title bar shows url + title 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.


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
May 11 '06 #9
David Dorward wrote:
Kavi wrote:
i was just wondering if it is possible to only show the title of page
and not the url


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


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,
<16**************************@posting.google.com >)
May 18 '06 #10

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

Similar topics

1
by: Display Name | last post by:
the customer I'm developing a site for uses a canned form-parsing page that allows her to have an email subscription opt-in page add emails to a list she can manage using a link that you point your...
4
by: Phillip Parr | last post by:
Hello, I have a nice system where someone clicks on a picture to show the full version. This pops up in a window.open box. It works great, the only problem is that if the user clicks a second...
3
by: NeverLift | last post by:
But, if it's not open, I don't want to open it . . . using window.open will open it if it doesn't exist, even if the url in that open is null (the window is then empty -- but it's open). The...
3
by: Russell | last post by:
I have a quirky issue that I believe involves timing and only 2 hairs left to pull. I have a modal dialog that is an IFrame. The IFrame contains another window - which contains the appropriate...
14
by: D. Alvarado | last post by:
Hello, I am trying to open a window containing an image and I would like the image to be flush against the window -- i.e. have no padding or border. Can I make this happen with a single call to a...
4
by: Daniel Morrissey | last post by:
Why will the following code not change the window title of the new window? window.open "Default.htm" ,"YO"
2
by: skim1114 | last post by:
I have this code in my popup window, which works perfectly except that I need it to display a new title for every image. Here the popup window code: <HTML> <HEAD> <TITLE>DETAIL</TITLE>...
3
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - I have window.status="Moomin"; why doesn't the statusbar change?...
3
by: nitinmukesh123 | last post by:
Hi I am facing a problem with setting the modal window title.. source of 1.html <html> <head> <script language="javascript"> function openNewWin() {...
1
by: yuenli | last post by:
Hi! I am facing a problem here. I wish to open a sub window from another sub window which means when i click on the main parent window a small window will appear then when i click on the button on...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...

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.