Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

any possibility to display over frameset? #207

Open
milichev opened this issue Sep 3, 2020 · 2 comments
Open

any possibility to display over frameset? #207

milichev opened this issue Sep 3, 2020 · 2 comments

Comments

@milichev
Copy link

milichev commented Sep 3, 2020

I assume, it's not possible but still, is it possible to display a dialog over frameset structure like so?

<html>
	<head>
		<title><%=g_title%></title>		
		<% import_dialog_polyfill 0 %>
	</head>
	<frameset framespacing="1" border="0" frameborder="0" rows="56,*">
		<frame scrolling="no" noresize src="banner.asp">
		<frameset cols="240,*" frameborder="1">
			<frame scrolling="auto" src="entry_nav.asp">
			<!-- another ugly frame stacks go here -->
		</frameset>
	</frameset>

	<dialog>
		Dialog content
	</dialog>

	<script>
	// initialize and show the dialog
	</script>
</html>

This way, the dialog is initialized and present in DOM but is not visible.

@samthor
Copy link
Contributor

samthor commented Sep 3, 2020

Now that's a HTML element I've not seen in a long time, <frameset>. Is there a problem whereby the frameset is always visually in front of the dialog?

@techboyg5
Copy link

techboyg5 commented Sep 15, 2020

If you need a frameset, the only way you could put ANYTHING over the whole frameset is to put the frameset inside of its own iframe.

Then you can put the dialog outside of the iframe. And you could initialize the dialog within a frame by using window.top.

However, I'd recommend migrating to Ajax instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants