473,699 Members | 2,625 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

closing favorites window/frame

Is there a way using javascript in an asp to close the favorites
window when the page loads?
Jul 20 '05 #1
2 2162
In article <18************ **************@ posting.google. com>,
sw*****@medamic us.com (Stephen Witter) writes:
Is there a way using javascript in an asp to close the favorites
window when the page loads?


The fact that its an asp is irrelevant. And the answer is no.
--
Randy
Jul 20 '05 #2
Stephen Witter wrote:
Is there a way using javascript in an asp to close the favorites
window when the page loads?


That it is ASP on the server does not matter. The code to close the
window must be executed client-side. I do not know of a method that
affects the Favorites window in IE (maybe the `external' object
provides such, see the MSDN Library on Dynamic HTML) and I do not
understand why you think you need to manipulate it. And I doubt you
have ever heard of bookmarks and/or a web browser other than IE. My
Mozilla/5.0 for example has a Bookmark Manager window and you cannot
close it with JavaScript either.
PointedEars
Jul 20 '05 #3

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

Similar topics

9
4877
by: shank | last post by:
Is there any one "add to favorites" code that will work for IE, NS, AOL, and a host of others? At least some code that will give me an effective "add to favorites" for the highest percentage of users. The code in my searches have been disclaimed has working with this but not that. I'm not sure how old some of this code is either. thanks!
4
8433
by: Max Dupenois | last post by:
I've seen numerous articles with similair (similar sp?) titles to this in my search.. unfortunately none of them seem to contain what i want, (or if they do i need someone to point out my stupidity for me :p ) Anyway I have a file dialog box being opened using Response.AddHeader "Content-Disposition", "attachment;filename=""" & displayName & """" Response.ContentType = "application/binary"
4
2054
by: bbass | last post by:
thanks to all that replyied to my previous post with the following code in question: <a href="merc.htm" target="_new_merc" onfocusout=window.close class="left_link"> i understand that the people don't like the idea of closing the browser window because it's annoyance to the user
1
1328
by: Audrey | last post by:
Hi Need some advice here.. I have a frame with a hyperlink to logout from the site When the Logout link (on the left frame) is clicked, a page stating "You've logged out. Please login again" is displayed on the right frame Inside the right frame, there's a hyperlink "login" that enables user to re-login to the site when it is clicked, a new browser will be prompted to ask user to login How do i close the browser(with frame) Please...
2
1211
by: RML | last post by:
Hi all, I have an ASP.NET application that starts up with a HTML page containing 2 frames. The top frame is an aspx page with a "Close" button. The bottom page is an aspx page which displays some data from an Access database. I would like to close IE by pressing the close button in the top frame, however I have not been able to to so. I have tried a Server side button with "Response.End()" and a Client side bytton with Javascript...
7
1876
by: Rich | last post by:
I have the following script on all pop up windows, would like to have this work on all newer browsers if possible. Right now it only works on MSIE & Opera. Not sure why. Any suggestions are appreciated. Not concerned with the print part yet. TIA Rich <SCRIPT language="jscript"> function CloseWindow() { self.close(); }
1
7631
by: jd | last post by:
Hi guys, I'm trying to create an HTML page that contains two frames. The bottom frame should simply be some website, but the top frame needs to have a close link to kill the window. I tried calling 'document.window.close()' from the child frame, but without success. I then tried putting the 'close()' call in the parent page and calling it from the child, but still without success. Can anyone take a look at the HTML/Javascript below and...
1
1773
by: Garg | last post by:
Hi, I am facing a problem while trying to close a window that I've opened in a frame. I am using javascript to close my current popup window. I have written the following line of code on click of OK button event. Response.Write("<scriptwindow.close();</script>") Now the problem is since this window is closed, the frame is still
0
8615
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
9174
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
9034
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
8914
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
8883
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...
0
5874
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
4629
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3057
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2347
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.