Pop Up Windows On User Command
Jul 20, 2005
We have an app in which we want to enable our users to open numerous
documents in new browser windows.
I got the new window open thing down but each time I open a new document it
opens it in the same popup window. I want to be able to select new documents
and open those selected documents one at a time in a new browser window as
the custormer selects a new document to open.
View 3 Replies
ADVERTISEMENT
Aug 3, 2010
I got a small issue and don't know where to start. What I need: I need a user to browse a certain website, and retrieve its Windows username there. What I need it for: I want to build a form on the intranet, where I will automatically fill the user's data, like his Name, Email-Adresse, Phone-Number etc. What I got:
- IIS7 with anonymous access on the whole intranet.
- Active Directory
- Any webdevolpment tool except PHP, but especially JavaScript, ColdFusion, ASP..
I google'd like the whole morning, but couldn't come up with a solution. Just found stuff where it says that you cannot get the user with anonymous access and stuff. So I need either confirmation of this information, or any hint where to start looking..
View 2 Replies
View Related
Oct 19, 2010
We need to find a way to pull a user's NT ID (Windows log on), and store it in a variable for use later on, and also to watermark the screen on HTML pages in an eLearning course. I have no idea how to do this and I can't seem to find anyone who has encountered a need for this.
View 1 Replies
View Related
Feb 21, 2011
Imagine a wife has signed on to a web site in a browser tab. She does not sign off and walks away to do something else. Her husband sits at the computer and seeing her signed on, opens a new tab and tries to sign on to the same site.
I am trying to write a script that will close other tabs/windows when the husband goes to the same site to sign on.
So, on the sign on page (or even better, the sign off page), when the sign on button is clicked, a piece of Javascript code is run first. The javascript simply goes through all tabs on the browser, and checks to see if any such tabs has an HTML document that came from the same domain as the sign on page. If such tabs exist, then before POSTing the user name and password to the server, the Javascript code will close those tabs that contain HTML documents came from the same domain.
So, I understand I need to set the window.name to a specific value. But does anyone know what the code on the sign on/sign off page to close the other tabs/windows would look like?
View 1 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
Nov 3, 2010
I am trying to use the LPR command inside a javascript to print a PDF file directly to the printer. Want just a simple webpage with a button which will print test.pdf when clicked. code...
I know very little when it comes to javascript. If you know of a better way to use the lpr command
View 1 Replies
View Related
Dec 23, 2010
I have this code..
javascript:function showMore() {ProfileStream.getInstance().showMore(); setTimeout(showMore, 2000)}; showMore();
i want to loop it 10 times, but do not know how to do it.I have been told that the for var command is what I want, but I cannot get it to work.
View 2 Replies
View Related
Feb 17, 2009
[b]How to close the exe files through javascript
View 1 Replies
View Related
Jun 5, 2004
What is the JS to refresh the page and possibly append some url parameters?
View 3 Replies
View Related
Jul 23, 2005
If I have a link to a URL such as <a
href="http://www.mysite.com/somecode.htm?5">Link1</a>, and if I include
javascript in the somecode.htm file, is there a javascript command that I
can use which will read the argument 5?
For that matter, is there anyway to send an argument to the javascript code
of an html link you are calling. Server scripts are not an option for me.
For example, assuming that index.htm contains 50 links, I would like each
link to point to the same html file, but I want that javascript code in that
html file to execute something different depending on which link was
clicked.
My only other alternative would be to create 50 similar html files which to
me looks like amateur or bad coding.
View 6 Replies
View Related
Jan 28, 2006
I'm working on integrating the a javascript wysiwyg editor (Xinha) with
my blog software (ExpressionEngine, aka EE). EE has extensions now so
it's easy to get the Xinha header code into the head section of the EE
web page.
But Xinha likes to use an onload command to launch:
window.onload = xinha_init;
....and EE is already using the onload command in the body tag of the web
page:
<body onLoad="document.forms[0].title.focus();set_catlink();" >
The onload command in the body tag is keeping the window.onload command
from working. At this point EE doesn't let extensions modify the body
tag.
Is there an alternative way to run the xinha_init command, without using
the window.onload command?
View 3 Replies
View Related
Feb 17, 2006
I know this should be kind of easy, but I am very unfamiliar with Javascript.
What I am looking to do is have an image (coupon) that when clicked on,
it either prompts for printing only that image, or pops up a window and
automatically after loading the image in the new window, brings up the
print dialog box. What would you suggest is the best way to do this?
View 2 Replies
View Related
Jul 9, 2010
i try to insert div to another div with the command:
example: $("#stage").html($("#movie").html);
this command work fine, but when i try to press on buttons, in div "#movie",
View 1 Replies
View Related
Jul 7, 2010
I will have a list of numbered links and whenever one is clicked, I want to change the content of a <div>. Is there a simple command that does this? I've read a bit of jQuery but could not find this info.
View 6 Replies
View Related
Jun 21, 2010
I have thmbnails of pictures on a page & i would like to open up the full picture (which is already present on the page, but I have used css to display:none on it) in a div (ie overview) when user hovers over the pictures so on the pictures I have done:
Code:
<a onmouseover="javascript:show('{$row['productid']}');" onmouseout="javascript:hide('{$row['productid']}');" href="viewProduct.html?id=" . $row['productid'] . ""> <img height="100px" width="100px"src="images/thmb/". $row['imageLocation']."" /> </a>";
[Code]...
I am trying to pass in an id because the full picture has that id which is guaranteed to be unique! and I dont know ahead of time the id..
or this cant be done with Jquery/
disclaimer: I have done this using JAVASCRIPT successfully but I am learning Jquery so i thought why not use that..
View 2 Replies
View Related
Oct 10, 2009
I am having some trouble with one of my buttons, the one button works fine but my second one doesnt work at all. The second button should open the same page as the first and maximize it.
<html>
<head>
<title>commands</title>
<script type="text/javascript">
[code]....
View 3 Replies
View Related
Nov 23, 2002
Somebody kindly came up with the following code which I use in a .js file to send my visitors to a different link for each month:
months[9]="this <a onMouseOver="window.status='Go here to visit our September link' return true;" onCLick="location.href='http://www.septemberwebsite.com'" title="September" style="color: 1D418B; text-decoration: underline; cursor: hand; "> September Site</a>";
I need to integrate it into my site which currently has the following command in the header:
<style>
A:link {color:#1D418B}
A:visited:{color:#6699FF}
A:hover {text-decoration: underline overline}
A:hover{color:red}
</style>
Unfortunately, the hover and visited commands do not seem to affect the code I have provided. We've managed to incorporate the a:link command, as you can see, but not the other style features. Is there any way of adding the a:hover and a:visited command to the script? I've put the bit that we need to add these commands to in bold. I have tried several permutations of these commands, but it doesn't seem to have any effect on the text that is displayed.
View 1 Replies
View Related
Jul 23, 2005
i popup a new window in my submit command and return false;
but my parent still flips the page ! how can i stop it ?
View 2 Replies
View Related
Jul 23, 2005
There's some command I forgot that you can type into the
address field of a web browser that will cause it to
display the source code for that page instead of
the page itself. Can anyone tell me what it is?
It's something like:
viewsource:http://mysite.com
or
view:http://mysite.com
or
source:http://mysite.com
except I don't quite have it correct.
View 1 Replies
View Related
Jul 23, 2005
I was wondering if anyone has managed to "validate" js file using
jslint from the command line with an engine like rhino.
View 1 Replies
View Related
Mar 31, 2010
im not sure now to word it, or how to do it, im a php coder not a javascript -.-but here it is, basicly i have one ajax file and wish to use it for everypage,i tryed to do it so i can just call one function for all ajax uses, but forms seem to be thowing me off when i call it, i stat if its a form or a element,
function ajax(str, b, c) {
a = b;
type = c;
if (type === 'form') {
[code].....
in this, the variable a is set as the id of the elemnt/form, it works fine for elemnts, but not for forms,i think this is because its thinking a is the id, not the variable,
View 2 Replies
View Related
Apr 23, 2010
Within my Flex application I write stuff to the browser via a javascript document write.Is there a command to send to indicate I want to close that stream? When I send the command the rotating indicator keeps running indicating the browser is still expecting some stuff. If I click the stop button on the browser it stops spinning and the stuff I sent (an xml stream) becomes available. As this is an automated process, there is no person to hit the stop button.
View 2 Replies
View Related
Jun 26, 2010
I have cpa gateway on a site that when the customer completes a function of the gateway.The external js of the gateway sends a command to the website to reload the site.Is there any way I can have some sort of event listener to know if that command is sent or not? The problem I'm having is its causing a loop in my existing JS.So it keeps looping the page. I would like to be able to set a cookie when the command is sent and then just have the cpa gateway not load.
View 1 Replies
View Related
Sep 18, 2009
Even though my javascript/ajax knowledge is very low,I have a python script that runs from php with exec command. It takes about 5-10 seconds to complete. While the python script is processing I would like to show a progress bar to the user. In fact, it doesn't need to be a progress bar, a 'loading... bar' would be more than enough.As I have already said, I don' know much about this, but I think I need ajax to do this. Googling about this I have found this blockUI plugin that seems great.
View 2 Replies
View Related
Dec 7, 2009
I am having issues trying to get the javascript to load when I load the page. I had it before and lost the file now I can't seem to get it again. Here is my code.
<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 TransitionalEN" "[URL]">
<html>
<head>
<title>Wheeler Insurance - Customer Survey</title>
</head>
<body onload="java script:View Survey();">
<p><p>
<script language="javascript" type="text/javascript"><!--
var PDF_surveyID = '095504C919339503'; .....
View 2 Replies
View Related