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

Home Posts Topics Members FAQ

close favorites and history using javascript

does any body knows how to open a new IE window and close the favorites tab
and history tab (if tabs enabled)? problem is that when opening new
windows(pop-ups) with absolute size and the user has favorites or history
views enabled then the content in page is wraped and scroll bars appears
everywhere.

thanks,
alex.
Nov 19 '05 #1
8 1743
does any body knows how to open a new IE window and close the favorites tab and history tab (if tabs enabled)?
You mean, 'how can I really annoy a user by taking complete control of their
web browser and hide all of the useful things they purposely had left open?'

Well, you can't. Fortunately. At this time, you can launch a window and hide
the toolbar, but even that is getting tougher to do as newer browsers
prevent such annoying behavior from javascript.
problem is that when opening new
windows(pop-ups) with absolute size and the user has favorites or history
views enabled then the content in page is wraped and scroll bars appears
everywhere.


The better solution is to not force absolute sized designs on the end-user.

-Darrel
Nov 19 '05 #2
I am trying to give the user a more usefull experience, you dont need a
confirmation window wiht favorites and history attached....so dont give me
your cliche...
"darrel" <no*****@hotmai l.com> wrote in message
news:Ow******** ******@TK2MSFTN GP12.phx.gbl...
does any body knows how to open a new IE window and close the favorites

tab
and history tab (if tabs enabled)?


You mean, 'how can I really annoy a user by taking complete control of
their
web browser and hide all of the useful things they purposely had left
open?'

Well, you can't. Fortunately. At this time, you can launch a window and
hide
the toolbar, but even that is getting tougher to do as newer browsers
prevent such annoying behavior from javascript.
problem is that when opening new
windows(pop-ups) with absolute size and the user has favorites or history
views enabled then the content in page is wraped and scroll bars
appears
everywhere.


The better solution is to not force absolute sized designs on the
end-user.

-Darrel

Nov 19 '05 #3
so you are the good programmer that give the user those datepickers with
favorites and history all around the calendar ahh?? hehehe so you think you
are very wise ahh?? sorry, you are not.
"darrel" <no*****@hotmai l.com> wrote in message
news:Ow******** ******@TK2MSFTN GP12.phx.gbl...
does any body knows how to open a new IE window and close the favorites

tab
and history tab (if tabs enabled)?


You mean, 'how can I really annoy a user by taking complete control of
their
web browser and hide all of the useful things they purposely had left
open?'

Well, you can't. Fortunately. At this time, you can launch a window and
hide
the toolbar, but even that is getting tougher to do as newer browsers
prevent such annoying behavior from javascript.
problem is that when opening new
windows(pop-ups) with absolute size and the user has favorites or history
views enabled then the content in page is wraped and scroll bars
appears
everywhere.


The better solution is to not force absolute sized designs on the
end-user.

-Darrel

Nov 19 '05 #4
> so you are the good programmer that give the user those datepickers with
favorites and history all around the calendar ahh?? hehehe so you think you are very wise ahh?? sorry, you are not


Wise? No. I just give a damn about the end user's preferences.

-Darrel
Nov 19 '05 #5
> you dont need a
confirmation window wiht favorites and history attached....so dont give me
your cliche...


Use a javascript alert. Or a div. Or just load the confirmation in the same
browser window. No need to spawn a new window.

Anyways, I did answer your question. If you want to pop-up a new window, you
can, but there's no way to close the bookmarks pane autoamtically from your
end.

-Darrel
Nov 19 '05 #6
yes I need a new window because the new GridView (ASP.NET 2.0) control
doesnt post back tha value of a hidden column so instead I use a hyperlink
to a page and pass the hidden value in the query string. So you see...there
is a very good reason for a new window...you just didnt know..but every day
we learn something new.

Alejandro.
"darrel" <no*****@hotmai l.com> wrote in message
news:ub******** ******@TK2MSFTN GP15.phx.gbl...
you dont need a
confirmation window wiht favorites and history attached....so dont give
me
your cliche...


Use a javascript alert. Or a div. Or just load the confirmation in the
same
browser window. No need to spawn a new window.

Anyways, I did answer your question. If you want to pop-up a new window,
you
can, but there's no way to close the bookmarks pane autoamtically from
your
end.

-Darrel

Nov 19 '05 #7
> yes I need a new window because the new GridView (ASP.NET 2.0) control
doesnt post back tha value of a hidden column so instead I use a hyperlink
to a page and pass the hidden value in the query string. So you see...there is a very good reason for a new window.


That's not a very good reason. Sounds like a sloppy control and you coming
up with a workaround. Personally, I've found datagrids/gridviews to be so
limiting in their front end presentation (and apparently, their excution
with the gridview) that they aren't worth using.

To each their own, of course. We all skin our cats differently.

Anyways, if you must use a pop-up, fine...just don't expect to be able to
completely control it.

-Darrel
Nov 19 '05 #8
may be you are right. anyway..after this this.Response.W rite("<script
language='javas cript'> {window.close() ;}</script>") I dont have to worry
about favorites or history, just changed from confirmation to non
confirmation window.

alex.

"darrel" <no*****@hotmai l.com> wrote in message
news:ep******** ********@TK2MSF TNGP14.phx.gbl. ..
yes I need a new window because the new GridView (ASP.NET 2.0) control
doesnt post back tha value of a hidden column so instead I use a
hyperlink
to a page and pass the hidden value in the query string. So you

see...there
is a very good reason for a new window.


That's not a very good reason. Sounds like a sloppy control and you coming
up with a workaround. Personally, I've found datagrids/gridviews to be so
limiting in their front end presentation (and apparently, their excution
with the gridview) that they aren't worth using.

To each their own, of course. We all skin our cats differently.

Anyways, if you must use a pop-up, fine...just don't expect to be able to
completely control it.

-Darrel

Nov 19 '05 #9

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!
2
1288
by: Alan Little | last post by:
The window.close() method apparently does not work in Mac IE 5.2. I've used it with no problem in the "big 3" browsers on Mac and Windows, including Mac IE 5.0, but now in 5.2 it doesn't work. Has anyone else encountered this? Is there a fix or workaround available? Am I just missing something? Why is the sky blue? What's it all about, Alfie? -- Alan Little Phorm PHP Form Processor http://www.phorm.com/
4
34867
by: GrantS | last post by:
I am having a problem closing a popup window opened modally. When I try to close the window (when the user hits save button and the data has been processed), the Popup window opens as a full screen as a new window. The original window plus the Modally opened Pop remain in a separate window. What I want to do is close the popup and return to the original window with its view state maintained. The control use to fire the popup window...
17
2666
by: ljlevend2 | last post by:
I'm implementing the WebBrowser control in my app and I would like to be able to show the Add to Favorites and Organize Favorites dialogs that are used in Internet Explorer. Is this possible? Thanks, Lance
37
6332
by: Jan Tovgaard | last post by:
Hey everyone:) We have a critical problem, which I can see that other people also has ran into. In Internet Explorer 7 it is no longer possible to do a window.close after opening a window, without getting a alert message that ask if u want to close the window. This did NOT happen in Internet Explorer 6, Mozilla firefox or other browsers.
5
1478
by: draken | last post by:
Basically, what I am looking to do is to sync up browsers favorites via a website without a download. I thought of javascript when first doing this, as I know, mozilla would allow me to pull them directly just with the js, but I do not want to have go beyond javascript and PHP. I have been going over making a mozilla extension as well as getting into some programming for a toolbar(I know some c/c++ and c#), but, if I can do something...
7
5823
by: Toccoa | last post by:
After considerable googling - I mean searching with Google(r) - I could not find javascript on a button or <a href=... to close a window in the latest versions of IE and FireFox. There seemed to be two techniques for earlier versions. But the window.opener='' ;window.close(); and the window.open('','_parent','') ;window.close(); techniques do not work for me. I.e., I still get confirmation message
2
1548
by: john_c | last post by:
If I want to upload a user's (with permissiom) web browser favorites, will they have to configure their favorites folder to allow the ASP.NET user to access that folder? What happens for Mac users? Thanks, John
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...
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
7750
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
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
4376
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...
2
2347
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2009
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.