Cant Open Javascript Windows
May 10, 2006
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.
View 1 Replies
ADVERTISEMENT
Nov 16, 2009
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.
View 8 Replies
View Related
Apr 6, 2010
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)
[code]....
View 5 Replies
View Related
Jul 23, 2005
I have a parent window that pushes a new window object onto an Array
with the following code :
OpenChild()
{
//totalNumWindowsCreated is global
totalNumWindowsCreated = totalNumWindowsCreated + 1;
childWnds.push(window.open(link, "child" +
totalNumWindowsCreated,"dependent"));
..
..
..
}
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() :
CloseChild()
{
//win and totalNumWindowsCreated are both global
totalNumWindowsCreated = totalNumWindowsCreated + 1;
var win = window.open(link, "child" +
totalNumWindowsCreated,"dependent");
..
..
..
}
View 1 Replies
View Related
Jun 18, 2009
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.
View 2 Replies
View Related
Jul 23, 2005
Hello is there any way for a browser to check if there are other window open?
View 2 Replies
View Related
May 19, 2011
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.
View 14 Replies
View Related
Jul 31, 2009
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>";
View 9 Replies
View Related
Mar 24, 2006
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.
Win1 = window.open('Log1', 'win1',
config='right=0,top=60,toolbar=0,width=300,height= 300,resizable=1,scrollbars=1,location=no,status=no
');
Win1.document.writeln(yyyy + '-' + mm + '-' + dd + ' ' + hh + ':' + mn
+ ':' + ss + ',' + ms);
Win2 = window.open('Log2', 'win2',
config='right=0,top=60,toolbar=0,width=300,height= 300,resizable=1,scrollbars=1,location=no,status=no
');
Win2.document.writeln(yyyy + '-' + mm + '-' + dd + ' ' + hh + ':' + mn
+ ':' + ss + ',' + ms);
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?
View 1 Replies
View Related
Sep 20, 2006
On most EVERY commercial site (including the pages on comp.lang.javascript) I find the following code, word for word.
<script language="JavaScript">
<!--
function SymError()
{
return true;
}
window.onerror = SymError;
var SymRealWinOpen = window.open;
function SymWinOpen(url, name, attributes)
{
return (new Object());
}
window.open = SymWinOpen;
//-->
</script>
Is this some "standard" code that every Web page should have. Does it
control the opening of new windows when a user clicks on a newsgroup
message.
View 2 Replies
View Related
Jul 20, 2005
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?
View 3 Replies
View Related
Jul 20, 2005
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?
View 4 Replies
View Related
Jul 25, 2009
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?
View 4 Replies
View Related
Mar 24, 2009
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.
View 2 Replies
View Related
Feb 19, 2007
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.
View 1 Replies
View Related
Jul 23, 2005
Are there other ways to open multile windows at once?
<SCRIPT language="JavaScript">
function open1() {
var open1 =
window.open('http://google.com/CheckEnviro.pl','','scrollbars=yes,height=600
,width=800,resizable=yes');
}
function open2() {
var open2 =
window.open('http://google.com/CheckEnviro.pl','','scrollbars=yes,height=600
,width=800,resizable=yes');
}
function open3() {
var open3 =
window.open('http://google.com/CheckEnviro.pl','','scrollbars=yes,height=600
,width=800,resizable=yes');
}
// -->
</SCRIPT>
<A href="javascript:open1();open2();open3();">Click Here to open all</A>
Here is what I have now, but I need something which can pass HTTP_REFEREER.
The window.open does not do that.
View 2 Replies
View Related
Jan 25, 2002
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?
View 3 Replies
View Related
Nov 12, 2010
I want to know if I can open an another page or a form in popup using jquery?
View 1 Replies
View Related
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.
View 3 Replies
View Related
Jul 20, 2005
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?
View 2 Replies
View Related
Jul 23, 2005
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?
View 2 Replies
View Related
Jul 20, 2005
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.
View 3 Replies
View Related
May 22, 2006
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.
View 1 Replies
View Related
Aug 14, 2005
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?
View 1 Replies
View Related
Jul 20, 2005
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.
View 4 Replies
View Related
Jul 20, 2005
In fact, I want to suppress the right-click menu and use mine : It must like
same look and feel than the original context menu ...
View 1 Replies
View Related