IE Browser To Be Ablle To Open Only 3 Windows When They Are Clicked 3 Times
Aug 21, 2004
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.
This is my first post to this forum. When a button in parent window is clicked multiple times, more than one popup window is opened. This problem is occurring in linux firefox and mozilla browsers. In windows the code is working fine. Is there any option in window.open() method to open a popup window once. s there any known issue regarding this case?. Need a workaround to fix this issue.
hen a button in parent window is clicked multiple times, more than one child window is opened. This problem is occurring in linux. In windows the code is working fine. Is there any option in window.open() method to open a child window once.
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'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() :
So I made a small Paper-Rock-Scissors game but I need to keep track how many times say "rock" has been clicked, what function should I use for that?
(For example, if the user has clicked rock 4 times, the computer will automatically assume that the user will continue with rock and says paper so it'll win the game.)
I want to have <div> cells that the background-color css style dynamically change between 4 colors depending on how many times they are clicked. The options are none, yellow, red and green then repeat. So when the page loads, they are all at none, and if you click once it goes to green, twice to yellow, three times to red, then back to none.
I'm trying to get it to display a document write on the website if the time is as specified and the day is.These are the times and days i want to display for:
Monday: CLOSED Tuesday: 9AM - 5:30PM
[code]....
At the moment this script only writes for Monday to Friday, 8:30am to 6pm (GMT0). But as you can see from my times above i want to be able to show two unique times for 2 days tues-thurs and friday (open) / sat-sun (close).i assume the else statement would be used for both monday and sunday as it writes close? how to go about this, tried changing the the t_day but had no success
Code JavaScript:
var d = new Date(); var t_hour = d.getUTCHours(); // getUTC for GMT0 var t_min = d.getUTCMinutes(); var t_day = d.getUTCDay();
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.
is there a possibility to get the number or the names of open Browser windows ? I want to try to avoid double-opening of a page. My idea was to give the page a name and to check whether this name exists.
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.
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>";
This problem is a little but difficult for me to explain, but I hope you will get the idea.
I have some javascript code, where I: document.getElementById(el).style.display=""; document.getElementById(el).scrollIntoView(true);
so basically, the element was hidden, but I am setting it to not-hidden, and I want the browser to scroll so the element is visible by the user. BUT, if the element is allready in the current browserwindows, then I don't want to scrollIntoView, since this will move the element - in that case, I'd rather do nothing.
But how do I check for that?
I hope I made myself understandable. The word "hidden" has two menings in this post - one is that the element is hidden and therefor is not displayed in the broser no matter how much you scroll. The other is that the element isn't hidden - you just need to scroll in order to see it.
In the past I write the jave script to popup windows in the browser for tell our visitor about news & event but now most of browser will block popup by default. Someone can show me an example about the professional popup with out the block.
I have a question about opening new pages when a link is clicked on a webpage. What I want to happen is this:
On the main webpage, I would like to have links to other websites. For example:
Link 1 Link 2 Link 3
Now, if I was to click links 1,2 and 3, I would have 4 browser windows open: The window containing the original webpage, plus the 3 windows that were opened by clicking on the 3 links. (I am using a href="www.,,,,," target="_blank"></A>)
Now, what I want to happen is this, I only want the mainpage to have ONE child window so that at any given time, there will be at most 2 browser windows open, the main page window and one child that is opened by clicking on a link. If I click on Link 1 followed immediately by Link 2, I don't want 2 child windows to pop up. What I need to happen is when I click Link 1, it needs to open a window. When I click link 2, the browser window that contains the webpage from link 1 now needs to show the webpage that from link 2. Is there a way to do this using javascript window.open? Code:
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.