/    Sign up×
Community /Pin to ProfileBookmark

PopUp Problems on PC but not Mac. Part II

Now I thought I was hot sh*t when I posted an alternative PopUp Script I found but now it seems like my popup windows only work on my MAC but just loads in the same window on PCs? Can anyone explane why? Could it be something to do with popup blockers?

Site:
[url]http://home.earthlink.net/~funnykitty/SamplesMain.html[/url]

Page:
[url]http://home.earthlink.net/~funnykitty/Samples.html[/url]

Sample Code:
<SCRIPT TYPE=”text/javascript”>
<!–
function popup(url, name, height, width, scrollbars)
{
var popwin;
var opts =
“toolbar=no,status=no,location=no,menubar=no,resizable=no”;
opts += “,height=” + height + “,width=” + width +
“,scrollbars=” + scrollbars;

popwin = window.open(“”, name, opts);
popwin.focus();
popwin.location = url;

return false;
}
–>
</SCRIPT>

<A HREF=”Samples/Big/SOT.html” onclick=”return popup(this.href, ‘SOT’, 394, 300, ‘no’);”><IMG SRC=”Samples/SOTMini.gif” WIDTH=”125″ HEIGHT=”164″ ALT=”SonOfTobasco.com” BORDER=”1″></A>

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@KorApr 13.2004 — It works OK for me on PC... (winXP) on IE6, Firefox and NS7. Could be the pop-up blocker.

You better use layers dynamically alter with setAttribute('src','[i]newimageURL[/i]') method instead of popups.
×

Success!

Help @Jayson_Spirtos 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.16,
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,
)...