i'm using IE 6.0.2800 and in the last month no matter which site on the net each link to a javascript window opens up and crash a sec after its not the pop-up blocker i checked this out already.
I'm using an <A> tag with an onclick event to open a window with JS (window.open)... In FIREFOX, if I click very quickly, multiple windows open. Not a problem in IE.
below is clickunder code , but it open under windows when visitor click everywhere on the pagei need it be speacial for links , whenever visitor click on speacial link , it opens windows
<SCRIPT LANGUAGE="Javascript"> function PopShow3() { CookieTest=navigator.cookieEnabled; if(CookieTest)
This pops up a new window with every call. In the child window I call a parent function onbeforeunload, appClose() :
function appClose(){
if (window.opener && !window.opener.closed){ window.opener.CloseChild(getQueryString("application")); }}
This is in my frameset tag of the child code :
<frameset ... onbeforeUnload='appClose()'>
The window.opener.CloseChild() function is called perfectly when I have one child window open, but as soon as I create another child window both of the open child windows don't ever call it. They do both go into the onbeforeunload appClose() function, but do not call the window.opener.CloseChild() function inside of this routine.
Anyone have any ideas why when I have two child windows open I can't access the window.opener functions?
I have tried taking each new window out of the array and used the following code in CloseChild() :
I have a page displayuser.php. This page is actually displaying a list of users and at each displyed user there is a drop down list is displayed. The drop down list displays chat animators. When i choose a animators from the drop downlist, it displays a pop up window called ( chat.php ) with the chosen chat animator and the selected user to chat. When i choose another user to chat, the new pop up window override/reopen on the first pop up window. (that is the new pop up window closed the first pop up window to be able to open).
Me i want it to display several pop up windows(several chat.php windows) when different users are selected. The pop up windows should have the same name.
If I have designated a specific size dimension for a popup window to open with (as one must, otherwise why even use a pop-up window?) then it should be obvious that the window needs to open up at 100% (normal) magnification, otherwise the contents of the window will not be displayed properly.
It seems to me current browsers are struggling with this problem, as Firefox, Safari, and Opera all handle it differently. For example, Firefox applies magnification settings defined by the user to dimensions of the pop-up window but not to the contents (an odd solution!); Opera retains the correct dimensions but applies magnification to the contents. Only Safari handles it correctly: even if you have applied magnification to a web page it will still open pop-up windows at default 100% magnification and honor the dimensions specified in the HTML code by the page designer.
In search_results.php I have a variable named $path which display something like: C:/documents/personal/home.doc
I would like to create a button that link to a new window which is going to display: C:/documents/personal/home.doc
Right now is being displayed in search_results.php like this: echo "<td align=left bgcolor=$bgcolor id='title'> <font face='Verdana' size='2'>$path</font></td>";
I have 2 jsp pages which are loaded from the same browser window. Inside these jsp pages, I have created 2 windows to write client side log. I have used different id for 2 windows as follow.
In JSP1 page I create one window & second window is created in jsp2 page.
When the page loads I can see 2 pop-up windows just fine. But then all the writeln statements(from page1 & page2) go to the win2. Even the writeln statements from page1. I would like to have page1 log go to win1 & page2 go to win2. What I am doing wrong?
I'm trying to determine if a named child window has been opened before opening a new one, however my challenge is that the child window may have been opened from a parent that no longer exists, therefore there is no access to the child window handle. Any ideas?
Is there a way of controlling (i.e., using windows.open ) which screen new windows are to appear in, when I have multiple screens ? Is that a programming issue, or does it have to do with the OS?
avascript newbie here. I am trying to setup a javascript code that will open links to items that are checked.Is this possible by client side without using CGI?
I'm developing chat application using Ajax,jsp,HTML,java. I have strucked in opening multiple windows to chat with diff users by clicking on roster window.I want to be open a window tat looks like a chat window in gmail.I have created one window like tat using div's but I'm not able to open multiple divs with diff user names.
Is there anyway of restricting the amount of webpages open. I would like users of a site only to beable to have two pages (from the site i am talking about) open at anyone time.
I need to know how to create a pop up window that opens behind a browser window. I don’t want to bother my visitors with a pop up window every time they visit my site and I don’t want to use cookies to prevent my site from popping up a window when a surfer visit my site a second time or more; some visitors may need to read my offer more than once before they subscribe to my newsletter.
The answer seems to be a pop up window that opens behind all other browser; this way the pop up window will not interfere with their visit to my site.
Does anyone know the codes for such a pop up window?
i want my windows 98 comp to be able to open only 3 windows when u click on the explorer icon 3 times.it opens as many as i like,but i want it to open a maximum of 3 windows as i dont have have a fast connection as a result the pages dont open so fast ,if i open more than 3 windows.
Certain links (using IE) that are meant to open a javascript window don't seem to work on my system. That is, the window appears and disappears in a flash. Of course I have disabled my pop-up stopper. Any suggestions?
As most Javascript coders probably know by now, IE on Windows XP SP2 likes to prevent our code from running right away (the user is asked to give permission the first time). Although I can see the danger in allowing all scripts to run, the fact that IE makes it sound like we are going to install some huge, horrible application when we are simply adding rollovers or client-side validation or some other simple little thing really frustrates me. Specifically what stuff does IE block? Does it check for certain methods in the script? Does it block everything until you say it's OK? What can places do to allow their scripts to be run without the need to be validated by the user? I have heard about "Signed Scripts", but I feel that it would be hard to modify and develop when a script had to be "Signed" every time. Any comments?
How do I deactivate a window using Javascript. For example if I have a window that opens up another window, how do I prevent the user from clicking (doing anything) in the original window until the new window has been closed.
I'm working on controlling Windows Media Player with JavaScript. I have all my functions working but a few. I want to sync the movie so that when it finishes the movie it loads the new one.
Now I was thinking of doing something like:
function PlayNext(movie) { if( Player.controls.currentPosition == Player.controls.duration ) { // execute code to load next movie } } I have that function being called every half second and I still can't get it to sync.
In pre-Windows XP Internet Explorer, adding a bookmarklet for a user was really simple. All I add to do was create a link that executed addFavorite().
Internet Explorer under Windows XP won't allow that due to its new security measures.
How can I make adding a bookmarklet convenient for my Windows XP IE users without having them to do surgery on their security preferences?
Right now I'm having them Ctrl-D to add a new bookmark. Right-click the new bookmark to get the Properties dialog, and then pasting in the contents of my bookmarklet. This is quite messy as you can imagine. In addition, when they save the bookmarklet, they have to hit "Yes" to an error box telling them that "javascript:" does not have a registered program associated with it, do they want to save the bookmark anyways?
For some reason pop up windows are no longer working on my pc. And no, I dont have any popup killer installed. The problem is across all websites I look at on my browser.