This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's Calculator Programming subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. General Coding and Design => Calculator Programming
Author Message
alexrudd
pm me if you read this


Bandwidth Hog


Joined: 06 Oct 2004
Posts: 2335

Posted: 20 Jun 2005 05:14:15 pm    Post subject:

Ok, I'm not the best at JavaScript and need some help.
I was thinking of creating a page/frame that would run a command on another window.* At the moment, all I want it to do is

Code:
window.clearTimeout();
However, the windows I would be using are created from Gmail. A look at the source showed me that the target was "_blank" and there wasn't really a name specified. Is there a way to either (1)fetch the name of that window or (2)do something to that window without knowing the name?

*Hopefully, on any and all windows.
Back to top
wrigley


Advanced Member


Joined: 19 May 2004
Posts: 399

Posted: 21 Jun 2005 07:03:53 am    Post subject:

Sorry, you cannot do anything to windows you don't own, meaning you can only modify the window that is running your JavaScript and any that your window will Create including of course any frames that may be in these windows.
Back to top
alexrudd
pm me if you read this


Bandwidth Hog


Joined: 06 Oct 2004
Posts: 2335

Posted: 21 Jun 2005 09:01:01 am    Post subject:

Yeah, I had a nagging feeling that would be the case...
But if I created a created a page that opened the page I wanted to modify, would the parent then be able to mess with the child? Then I would just have to find some way to quickly open the child link in the parent page.
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 21 Jun 2005 11:18:24 am    Post subject:

alexrudd wrote:
Yeah, I had a nagging feeling that would be the case...
But if I created a created a page that opened the page I wanted to modify, would the parent then be able to mess with the child?  Then I would just have to find some way to quickly open the child link in the parent page.
[post="52365"]<{POST_SNAPBACK}>[/post]
Yes.

http://echoecho.com/qrwindow.htm
Back to top
elfprince13
Retired


Super Elite (Last Title)


Joined: 11 Apr 2005
Posts: 3500

Posted: 21 Jun 2005 08:07:38 pm    Post subject:

wrigley wrote:
Sorry, you cannot do anything to windows you don't own, meaning you can only modify the window that is running your JavaScript and any that your window will Create including of course any frames that may be in these windows.
[post="52363"]<{POST_SNAPBACK}>[/post]


you can clse pop ups that aren't yours with js. and kill frames.
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are UTC - 5 Hours

 

Advertisement