Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Web Design & Development
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel excel 2003 firefox hard drive hardware hdmi hijackthis internet keyboard laptop malware monitor network networking outlook problem recovery router safe mode screen slow sound spyware trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Lost in my javascript path! Help!

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
cindy123's Avatar
Junior Member with 5 posts.
 
Join Date: Apr 2005
Location: Monument, CO
Experience: Intermediate
16-Sep-2009, 11:31 AM #1
Exclamation Lost in my javascript path! Help!
Site: http://www.thecoloradoweddingguide.com

I don’t know javascript syntax, and I am having a hard time figuring out the path I need.
I am trying to close the index.htm page from my VideoMontages.htm page, because both have .swf audio files that autoplay and compete. So, when VideoMontages is opened,
I want to CLOSE the index.htm file as I do not know enough FLASH to know how to
simply turn the index page sound off from another page.

The complication is there are iframes in between. (From index, go to Directory.htm.
Directory has a menu on the left (menu.html) and a window (mainframe.html) on the right. When you choose Video Montages at the bottom of the menu, it loads into
Mainframe and you will hear the problem!)

Here is the javascript I have been trying:

<script type="text/javascript">
function BodyLoaded()
{
top.opener.close();
}
</script>

I have also tried variations that include (don’t laugh! )
Parent.opener.parent.close()
Opener.parent.parent. close ()
Parent.opener.parent.parent.close()
Parent.opener.opener.opener.close()

Anyway, any help would be greatly appreciated!
Closed Thread Bookmark and Share

Tags
close page, javascript, path

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 11:21 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.