De-activating Windows Using Javascript

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


ADVERTISEMENT

Activating JS Msg Box With Text Link?

Jun 5, 2011

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

[code]....

View 1 Replies View Related

Photo Gallery - Activating The New Big Image

Nov 26, 2010

I'm trying to tweak in order to fulfill my specific needs. What I like about it is that the thumbnail gets created automatically by using the actual big picture as a background image. The problem I'm having at the moment is with activating the new big image. I get to the point where I reset visibility for all and can't figure our how to make the new one visible. It's straightforward for the thumbnail because it uses the word this, but I can't use "i" to control which big image becomes visible because "i" has already run to the end (=6).

[Code]..

View 1 Replies View Related

Javascript Windows

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

Checking For New Or Popup Window And Activating Close Button

Jul 23, 2005

Is it possible for me to make visible a close button if the active
window is a popup window or a new window (other than the main window)?

What I mean is this:

If the present window is the main window, then the close button should
not be visible on the page. Otherwise, the close button should be made
visible and active (i.e. can be clicked to close the window).

View 2 Replies View Related

Javascript & Windows XP SP2 Security

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

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 View Related

Controling Windows Media Player With JavaScript

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

Convenient Way For Windows XP Internet Explorers To Add My Javascript Bookmarklet?

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

Create (or Call) A "Windows-TM" Pop-up In Javascript?

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

Open Windows Under Current Windows?

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

Child Windows Can Not Access Window.opener When Multiple Child Windows Are Open

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

SVG Pop Up Windows

Jul 20, 2005

I would like to pop up a new window when the mouse over an icon, but I don't like to link to another new page, as I will get the details in the database and then I will add those details as the text in the pop up window.

Does anyone know how to do this in svg? is it use the javascript?

View 1 Replies View Related

Windows

Sep 5, 2004

The following code is used by myself to create a new window what i would like to do is to on the submission of the form to close this newly created window and to submit the form back to the parent window.... Is this correct? Code:

View 1 Replies View Related

Run Windows APP From A Web?

Sep 15, 2010

I have an HTML toolbar that I made using VBScript thar launches mstsc to remote servers and a few "\" shared folders. I know that i can do the same thing in js, but not entirely shure about the sintaxis.

This is an example of what i got in my original toolbar:

Code:
<html>
<body bgcolor="lightgrey">
<fieldset>
<input type="BUTTON" name="SERVER1" value="SERVER1" language=VBS onclick="Server1">

[Code]....

View 3 Replies View Related

Windows And Focus

Jul 23, 2005

Neglecting the annoyance factor for a moment, is it possible to keep one browser window at the screen forefront (in front of all other browser windows) but still be able to interact with a window directly beneath it? How would this be pulled off in JS?

View 3 Replies View Related

Child Windows

Jul 23, 2005

On load of index page i am opening few child windows for some purpose now i want if i close the parent window all child should be cloed automatically.

View 1 Replies View Related

Non Rectangular Windows

Jul 23, 2005

I'm trying to open a new non rectangular dialog window from an HTA
application, is it possible?

I tried using window.showModalDialog() with the unadorned feature as a
starting point ... but with no luck.

My goal is to create a shaped window ... IMPOSSIBLE ?!

View 2 Replies View Related

Browser Windows

Jul 23, 2005

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.

View 3 Replies View Related

Resizable Pop Up Windows In IE

Oct 20, 2006

I have a web application where we pop up a little calendar control in a
new window to allow users to choose dates. For cross-browser purposes,
this is done via window.open (with some code to make it behave like a
modal dialog) and I set the width and height of the window such that
the controls fit nicely and it all looks good.

I have some users who are unable to see the OK and Cancel buttons at
the bottom of the window due to some display settings on their
machines. OK, I though, I'll just make the window resizable and they
can then take control. How naive of me! Why on earth does IE decide
that the minute I put 'resizable=yes' into my attributes for the new
window that it should ignore the size?

I know I can do window.resizeTo in the onload of the calendar window,
but I'm not keen on the resizing of the window.

I don't suppose anyone knows of a way to have IE open a resizable
window of a given size without the resizeTo?

View 3 Replies View Related

JQuery :: Bug In IE-8 And Windows 7?

Jun 10, 2011

I have a webpage that works on IE-9, IE-8 /Windows XP, firefox, safari, chrome.But the one place it does not work is on IE-8 / Windows 7. Now I did put in code to redirect people who have this combination to a page that says "download IE-9". But then my clients said that this was not acceptable - they want to fix the problem.[URL]...

View 2 Replies View Related

Popup Windows For IE7 ?

Mar 22, 2009

I made a pop up window for my site for my Admin Controls and the pop up javascript window works for every browser but IE7 (Not that I'm surprised)...

How to make a fixed pop up window that will work for all of the browsers out there right now.

View 10 Replies View Related

Windows IDE For Script?

Mar 23, 2009

I have recently installed Firebug, hoping to use it as an IDE for Javascript in Windows.

But I'm obviously missing something very basic since, although I can display HTML files containing Javascript scripts, can set breakpoints and can step through the coding a line at a time, I find I cannot edit any of my Javascript code within Firebug.

So (a) how is this done, precisely, if it is possible, or (b) can you recommend an alternative FreeWare IDE for Javascript in Windows?

View 2 Replies View Related

How To Open Several Pop Up Windows

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

Pop-up Windows Are Not Popping Up / What To Fix It?

Mar 16, 2010

I thought I did everything right but pop-up windows aren't working. code...

View 5 Replies View Related

Pop-up Windows Being Blocked

Oct 17, 2005

I'm trying to use window.open in some buttons on a website I'm building. The windows open in all browsers that I've tested except IE (PC and Mac). I'm assuming this is a pop-up blocker issue even though what I've read says that if the user initiates the pop-up, then it will work even with the blockers enabled.

Does anyone know how to fix this without using target=_blank?

The site is www.cascadequilting.com. The code for the pop-up windows is below:

<a href="#" window','height=600,width=800,status,scrollbars,resizable')">Click here for a quilt size chart.</a>

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved