/    Sign up×
Community /Pin to ProfileBookmark

I’m looking for Script

Hi All

In fact, I’m looking for Script found in one of the sites.

The script is by making Nic Wolfe but I did not find this script on this site.

The script works on this site

[url]http://www.emaarhealthcare.com/[/url]

Thank you for help

Regards

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@MrNobodyDec 29.2008 — You talking about this script? WHat do you want to know about it?
[code=html]<SCRIPT LANGUAGE="JavaScript">
<!-- Idea by: Nic Wolfe -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=420,height=350,left = 430,top = 337');");
}
// End -->
</script>[/code]
Copy linkTweet thisAlerts:
@scragarDec 29.2008 — You talking about this script? WHat do you want to know about it?
[code=html]<SCRIPT LANGUAGE="JavaScript">
<!-- Idea by: Nic Wolfe -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=420,height=350,left = 430,top = 337');");
}
// End -->
</script>[/code]
[/QUOTE]


That script is really inefficient.
<i>
</i>popUp(URL) {
id = (new Date()).getTime();
window["page" + id] = window.open(URL, id, 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=420,height=350,left = 430,top = 337');
}

Tada, script shortened and improved, how cool is that :p
Copy linkTweet thisAlerts:
@linuxformatauthorDec 29.2008 — I do not have sufficient experience in Java, but I want to make a site like this


http://www.emaarhealthcare.com/

Is this script enough to do that.

Thank you for your cooperation.
Copy linkTweet thisAlerts:
@MrNobodyDec 29.2008 — All that script does is to open a popup window.
Copy linkTweet thisAlerts:
@LeeUDec 31.2008 — For the record, the original script mentioned above was created by our Popup Window Generator. However scragar, I do like yours also. I'm going to add it over at JavaScript Source.
×

Success!

Help @linuxformat 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 6.2,
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: @meenaratha,
tipped: article
amount: 1000 SATS,

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

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...