473,811 Members | 2,971 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Opening window without a titlebar

Hi,

Can a window be opened without a titlebar? Can an alert message box be
opened without a titlebar and an OK button?

I'm trying to display something like a tooltip when the onclick event
occurs.

Thanks,
Dan

Jul 23 '05 #1
6 2913
de*****@gistens on.com wrote:
Hi,

Can a window be opened without a titlebar?
No.

Can an alert message box be opened without a titlebar and an OK button?

No. If it could, how in the world would you ever dismiss it?
I'm trying to display something like a tooltip when the onclick event
occurs.


Then use a tooltip. A hidden div and make it visible.

--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Jul 23 '05 #2
I'm new to javascript. You say, "... use a tooltip." Does such a thing
exist in javascript? (I only mentioned it because I'm familiar with them
in C++.)

The idea is to have the onclick event of a table's td element cause a
small window / message box to appear for a few seconds which will show
some additional information about the item in the table cell. setTimeout()
will control the duration of the box. HTML's div element won't do.

Thanks,
Dan

Randy Webb <Hi************ @aol.com> wrote: : de*****@gistens on.com wrote:

:> Hi,
:>
:> Can a window be opened without a titlebar?

: No.
:> Can an alert message box be opened without a titlebar and an OK button?
: No. If it could, how in the world would you ever dismiss it?

:> I'm trying to display something like a tooltip when the onclick event
:> occurs.

: Then use a tooltip. A hidden div and make it visible.

: --
: Randy
: comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Jul 23 '05 #3
de*****@gistens on.com wrote:
I'm new to javascript. You say, "... use a tooltip." Does such a thing
exist in javascript? (I only mentioned it because I'm familiar with them
in C++.)
Tooltips (as they are called) are available in plain HTML on certain
elements. But basically all a tooltip is is a box that pops up for a
specified amount of time.
The idea is to have the onclick event of a table's td element cause a
small window / message box to appear for a few seconds which will show
some additional information about the item in the table cell. setTimeout()
will control the duration of the box.
I don't recall the exact name, I think it is DynLib or something close,
that does precisely what you are wanting to do.
HTML's div element won't do.
Why dismiss the most dependable way of doing what you want to do?

Thanks,
Dan


Welcome.

Please read this groups FAQ about top-posting.

--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Jul 23 '05 #4

Sorry for top-posting. Visual limitations make it very difficult for
me to do.

I'll try to track down dynlib, as you suggested.

Using the div element or updating a form's text field requires that
the whole page is reloaded. That would be distracting to my clients.
Using something like a timed box would be unobtrusive and still make
the additional information available.

The best solution so far is to have the event call two functions,
both of which update the status bar. The first function displays the
information in the status bar, and the second function uses
setTimeout() to replace the above information, after a delay, with
the document's URL. It's working fine. I would rather find a
tooltip-like solution, though.

- Dan
Randy
Webb <Hi************ @aol.com> wrote: : de*****@gistens on.com wrote:

:> I'm new to javascript. You say, "... use a tooltip." Does such a thing
:> exist in javascript? (I only mentioned it because I'm familiar with them
:> in C++.)

: Tooltips (as they are called) are available in plain HTML on certain
: elements. But basically all a tooltip is is a box that pops up for a
: specified amount of time.

:> The idea is to have the onclick event of a table's td element cause a
:> small window / message box to appear for a few seconds which will show
:> some additional information about the item in the table cell. setTimeout()
:> will control the duration of the box.

: I don't recall the exact name, I think it is DynLib or something close,
: that does precisely what you are wanting to do.

:> HTML's div element won't do.

: Why dismiss the most dependable way of doing what you want to do?

:>
:> Thanks,
:> Dan

: Welcome.

: Please read this groups FAQ about top-posting.

: --
: Randy
: comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Jul 23 '05 #5
de*****@gistens on.com wrote:
Sorry for top-posting. Visual limitations make it very difficult for
me to do.
<shrug> doesn't make any sense but ok......
I'll try to track down dynlib, as you suggested.

Using the div element or updating a form's text field requires that
the whole page is reloaded. That would be distracting to my clients.
Huh? Who says you can't update a form field or a div tag without
reloading the page? Search the FAQ for DynWrite. It provides the means
to change the contents of a DIV tag. (or suitable element with an ID).
Using something like a timed box would be unobtrusive and still make
the additional information available.

The best solution so far is to have the event call two functions,
both of which update the status bar. The first function displays the
information in the status bar, and the second function uses
setTimeout() to replace the above information, after a delay, with
the document's URL. It's working fine. I would rather find a
tooltip-like solution, though.


Beware of browsers that do not allow manipulation of the status bar. It
makes your script not "work" anymore.

--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Jul 23 '05 #6
DU
de*****@gistens on.com wrote:
Sorry for top-posting. Visual limitations make it very difficult for
me to do.
That does not make sense.

I'll try to track down dynlib, as you suggested.

Using the div element or updating a form's text field requires that
the whole page is reloaded. That would be distracting to my clients.
Using something like a timed box would be unobtrusive and still make
the additional information available.

The best solution so far is to have the event call two functions,
both of which update the status bar.
Many modern browsers (NS 7.x, NS 8, Mozilla 1.x, Firefox 1.x, Opera 7+,
Maxthon, etc.) now prevent scripters from abusing the text of status
bar: a very good decision from browser vendors IMO. Users hate spamming
text running in status bar.

The first function displays the information in the status bar, and the second function uses
setTimeout() to replace the above information, after a delay, with
the document's URL. It's working fine. I would rather find a
tooltip-like solution, though.


I do not understand why you have not first tried to use the title
attribute: this is a sound, sane, javascript-free, css-free way to
provide an advisory info attached to an element.

This is what I would recommend you or anyone to use first.
99.99% of all webpages done on the web do not need more than the title
attribute for .
http://www.w3.org/TR/html401/struct/...tml#adef-title

If the info is important for the user to know, to read, then you should
not look for tooltip to convey such info.

Please read this groups FAQ about top-posting.
comp.lang.javas cript FAQ - http://jibbering.com/faq

DU
--
A: top-posting
Q: What's the most annoying way to post in discussion newsgroups?
Jul 23 '05 #7

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

Similar topics

1
15366
by: Archi | last post by:
Hi. All. I need open a browser (IE5.5 or letter) to full screen like F11 pressed. I use a little trick. Open new window, and close old: var win = window.open('index.aspx','',"channelmode=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,titlebar=no,resizable=no"); opener=self; window.close(); This code open window WITH titlebar!!!! If i close it and open new - it without... WHY? I need it without titlebar in firsttime! What I can do?
3
2741
by: Robert Atkinson | last post by:
Does anyone know how to replace <a href="url" target="_blank"> with window.open, keeping the window settings the same, i.e. same size, same toolbars, etc. I've tried document.open, and window.target, but nothing I do seems to open in a new window. Cheers, Rob.
14
11106
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 window.open function? I would prefer not to create a separate HTML page. So far all I have is the basic var cwin = window.open('images/KJV-THANKS.gif', 'Thanks', 'width=243,height=420,'); cwin.focus();
29
5036
by: wayne | last post by:
Hey there... I'm having some problems passing url parameters with an open.window command. I'm not terribly familiar with java script but here is the code below. When executed it opens the window properly but does not pass the parameter. (this is part of a coldfusion template) <a href="##"
5
1680
by: Doker | last post by:
How can I paint window's titlebar? I've accessed the titlebar doing this Me.AccessibilityObject.Navigate(AccessibleNavigation.Up) but from there i have no clue how to 'CreateGraphics'. Any ideas? PS. (VB 2005 beta1)
4
3651
by: Jason | last post by:
Its been asked and done before I suspect, but I can't find anything that will work. I'm trying this and it has no titlebar, but shows the calendar on a full page. <a href="javascript:calendar_window=window.open('cal.aspx?formname=aspnetForm.<%= ChargeFormView.FindControl("StartDate_date").ClientID %>','calendar_window','width=180,height=130,left=500,top=300,titlebar=no,fullscreen=yes');calendar_window.focus()">
1
1891
by: hisree | last post by:
hi frnds i want full screen window without titlebar, i can use this script, var win = window.open('index.html','',"win","channelmode=yes,scrollbars=yes,status=no,toolbar=0,menubar=no,titlebar=no,resizable=no"); opener=self; window.close(); but still coming... titlebar.
1
1123
by: invincible | last post by:
Hi, I want to open a window without a menubar ot titlebar. I am aware of the window.open method with its parameters. My problem is that i am not opening a window from another window. i want my application to start without the menubar. any help is appreciated.
4
2661
by: onlymukti4u | last post by:
Hi, I need to call another page as a popup without any titlebar,scrollbar and menubar. I had used window.open method but by defult titlebar is coming. Can anyone help me out. Regards, Prasad
0
9605
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
10651
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...
0
10392
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10403
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
10136
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
7671
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
6893
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
5555
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
3020
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.