/    Sign up×
Community /Pin to ProfileBookmark

JS help needed to close window.

I am trying to get my text link follow a link to open a new window and close the window it is linked from.

Here is my script as it stands at the moment, opening the window how i want it….

<a href=”#null” onClick=”newWindow(‘http://www.callumations.com/hf/site.swf’,”,’550′,’400′,’,status,toolbar’)”><font size=”5″ face=”Courier New, Courier, mono”><strong><font color=”#FF0000″>humber
fridge//</font></strong></font></a> <font color=”#FF0000″>

How would this script look with the close window javascript command in ?

Take a look at it at [URL=http://www.callumations.com/hf/index.htm]humber fridge[/URL]

Regards

Cal

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@CharlesMay 24.2005 — Remembering the opening scene from the [i]The Godfather[/i]; this thing that you want to do, you cannot do.
Copy linkTweet thisAlerts:
@UltimaterMay 24.2005 — onClick="newWindow('http://www.callumations.com/hf/site.swf','','550','400',',status,toolbar');[color=royalblue]self.close()[/color]"
Copy linkTweet thisAlerts:
@dysenterycal182authorMay 24.2005 — excellent,

thankyou very much
×

Success!

Help @dysenterycal182 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...