1

My web page is shown sometimes without container and sometimes inside an igDialog of another container page, depending on the navigation of the user inside our web application.

Is it possible (in pure javascript or jQuery) to detect from my page if I am inside an igDialog?

1 Answer 1

2

This answer may not meet your "pure JavaScript" requirement, but here is how I would do it.

Add a parameter to query string when accessing the page, such as "mywebpage?igdialog=true" Then you could use JavaScript to check if that parameter is set.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.