Closed Thread Icon

Topic awaiting preservation: Popup window doing image-swap in parent window? (Page 1 of 1) Pages that link to <a href="http://ozoneasylum.com/backlink?for=8796" title="Pages that link to Topic awaiting preservation: Popup window doing image-swap in parent window? (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Popup window doing image-swap in parent window? <span class="small">(Page 1 of 1)</span>\

 
Kaniz
Bipolar (III) Inmate

From:
Insane since: Jun 2003

posted posted 08-05-2003 21:23

Heyo .. got a problem

- I havea gameboard, clicking on the gameboard creates a popup window
- popup window has 3 questions on it
- I want it so if you click on a question, it will change the image in the gameboard accordingly (correct/incorrect)

ie: User clicks a $200 question, window pops up, they click an answer, if its wrong, it will change the graphic of a normal $200 square, to one with an X on it or something, if right, it will be changed to a green block.

any suggestions/ideas?

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 08-05-2003 21:46

Is the window.opener property, which references the window object of the opening window, enough to get you on track, or do you need more help?

labgraphics
Nervous Wreck (II) Inmate

From:
Insane since: Aug 2003

posted posted 08-06-2003 01:36

I just clicked on the latest forum hoping to get a reply. Trying to find live chat rooms on javascript and other code because I have an issue with some code I am using. Cannot find any chat rooms as was hoping you could help.

Kaniz
Bipolar (III) Inmate

From:
Insane since: Jun 2003

posted posted 08-06-2003 18:05

Found the answer on another page, but yeah, window.opener did the trick for me.

window.opener.document[image].src = 'newimage'; did the trick



« BackwardsOnwards »

Show Forum Drop Down Menu