/    Sign up×
Community /Pin to ProfileBookmark

PopUp Windows from Flash movie question

Hi,

I open a popup Window with some javascript in Flash

on (release)
{ getURL (“javascript:NewWindow=window.open(‘http://www.url.com/page.htm’,’newWin’,’width=340,height=340,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No‘); NewWindow.focus(); void(0);”);
}

works fine and dandy… however in the Address bar of the main browser window (the one which hosts the SWF file), after clickin the popup button, the entire Javascript string shows…

which is not only ugly, but also a trouble if peeps want to bookmark the site.

Is there a way to fix this/avoid it and if yes, how (like with setURL or changeURL??)?

Thanks!

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@JonaJun 03.2003 — [font=arial][color=maroon]What do you mean by, "the entire JavaScript string shows"? [/color][/font]

[b]Jona[/b]
×

Success!

Help @ericinho 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.17,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

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