Windows Object Identity
Apr 22, 2006
Is there a way to tell one window from another? A quick look into wndow
object properties revealed nothing obvious. I want to keep track of
window object identity in a hidden input widget, so that whenever user
clones the window, I'll be able identify this and provide an extra
session.
View 26 Replies
ADVERTISEMENT
Sep 5, 2011
Is it possible to create a tracking code that would allow me to:
(1) a) Find out the identity of visitors to a certain website (a website unrelated to me and the visitors did not visit my website) b) The identity of those who recently searched for a certain keywords and/or...
(2) Find out what websites certain individuals have recently visited (or visiting in real-time)?
View 1 Replies
View Related
Jul 23, 2011
The Date Object returns GMT
Firefox gives: Date {Sat Jul 23 2011 18:02:12 GMT+0100 (Cen)}
Chrome gives: Sat Jul 23 2011 18:02:12 GMT+0100 (Eastern Standard Time)
I was expecting: Sat Jul 23 2011 14:02:12 GMT+0600 (Eastern Standard Time)
My Windows XP (x86) PC gives me expected results.
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 19, 2011
I just got this script for a countdown on a website and I got it to work locally but when I upload it to the server i get the error "index.html:22 Uncaught TypeError: Object [object Object] has no method 'fancycountdown'".
I have checked to make sure all other javascript files are loading and they are and I can't figure out whats wrong. You can see it [URL]
View 2 Replies
View Related
Oct 9, 2010
I have the following code:
A = {
"value": "a",
};
B = A ;
B.value = "b";
alert (A.value); // => b
I expected A.value to be "a". how can I change values of a new object, without changing the parent-object?
View 6 Replies
View Related
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
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
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
Oct 5, 2010
13 line causes this exception. Function is called insied of ready() handler. function renderGridSystemRecursively(scheme, container){
[Code]...
View 2 Replies
View Related
Oct 15, 2009
I have come across an issue that only happens with IE.I have a custom save function that is designed to handle different ajax submits but I will simplify it for debugging. The issue is that once I make a submit everthing is fine at first. Then once I try to submit a second time it craps out. I am checking to see if there is an onsubmit function and then executing it like so before continuing. After the inital submit it is no longer found. When I alert the typeof document on the form it returns object but when I add the onsubmit it says object expected or object is null or undefined.
Code:
function secureBarSubmit(formId)
{
alert(typeof document.getElementById(formId)); // object always
alert(typeof document.getElementById(formId).onsubmit); // func first time then it is broken
[code]...
View 1 Replies
View Related
Jul 1, 2009
Can assign a new function to a built-in object in Firefox:
But IE and Opera don't have a MouseEvent or HTMLElement that can be set up in the same way. Can you do this in IE or Opera, or just Firefox, and maybe Webkit?
View 1 Replies
View Related
Nov 4, 2009
every time I try and alert:
[ { number:0, secondnumber:0 }, { number:2, secondnumber:1 }, { number:1, secondnumber:2 } ]
it just shows [object object], [object object], [object object]. Why is this and what can I do to make the record be shown as it is above in an alert?
View 1 Replies
View Related
Oct 6, 2011
Is there any way at all to create a new template object that inherits from the built in Date object so as to be able to add new methods to that child object without adding them to the built in Date object? I've tried everything I can think of and as far as I can tell it keeps referencing the Date function instead of the Date object and so doesn't work.
View 3 Replies
View Related
Aug 5, 2011
I have an object with a single Method to load content from a xml file. The problem is... how do I add a property to the object to store the data loaded?? I tryed adding a simple Array inside the object, but didn't work.
[Code]...
View 2 Replies
View Related
Sep 23, 2011
I am using a Photo Gallery script called Galleria which uses jQuery/JavaScript to display photos. On my index page load (only in Internet Explorer), a message box pops up saying "Message from Web Page [object Object]". After clicking OK the photo gallery loads and there is no problem.No idea how to fix this, or really what the error means. You can view the error from my site here
View 3 Replies
View Related
Mar 10, 2011
I am trying some simple things with javascript and trying to use it in a object oriented way. However I am now facing a problem in which I can't access an object variable from an object method. I am using jQuery.
My code is as follows;
Code:
My problem is that the variable msg1 does not work when accessed from function called from the jQuery get function. I get the message undefined. Therefore I am wondering, is there a way how I can access msg1 of my object instance from the get function of jQuery?
View 1 Replies
View Related
Mar 20, 2010
I created a method for displaying an object's properties:
As long as renderfunction = false, the object is fine coming out of this function.
However, if I change renderfunction to true, all my properties become undefined. Why isn't this working as I expect it to?
View 1 Replies
View Related
Apr 5, 2011
How would I go about copying all the prototype functions AND the constructor from one object into another object, and then call them?
I know I can use this.example.call(this), but that's not an acceptable solution. I want to deploy this style over dozens, potentially hundreds of objects.
View 7 Replies
View Related
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
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
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
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
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
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