/    Sign up×
Community /Pin to ProfileBookmark

urgent – modal dialogue issue

Hi all

Does anyone know how to navigate within a modal dialogue window? Every attempt (including onClick=”location.href… etc) results in a new window opening and I can’t for the life of me get the page to load in the modal window itself.

Any ideas? Thanks in advance.

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliJun 09.2004 — post the code....or the page's URL so that some one can take a first hand look.
Copy linkTweet thisAlerts:
@mityaauthorJun 09.2004 — To be honest, Khalid, there's no special code going on here. The code to open the modal window is the normal...

showModalDialog(processed_url,"win","dialogWidth:600px;dialogHeight:440px;status:no;center:yes;help:no");

That's all fine, but from inside that window I can't navigate to anywhere without it opening another window or going to an iframe. I just want to change the page within the modal window.

Thanks.
Copy linkTweet thisAlerts:
@Khalid_AliJun 09.2004 — if you must use window.open(), at least thats more widely accepted as compare to MS specific code.

[url=http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/showmodaldialog.asp]Here is the detail about MS method[/url]
Copy linkTweet thisAlerts:
@mityaauthorJun 09.2004 — Thanks Khalid, I'll see. I realise modals are MS only, but you'd have thought you could change page easily inside one.
×

Success!

Help @mitya 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.18,
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,
)...