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 ideas for use in colorbox? #100

Closed
winsonet opened this issue Oct 24, 2017 · 1 comment
Closed

Any ideas for use in colorbox? #100

winsonet opened this issue Oct 24, 2017 · 1 comment

Comments

@winsonet
Copy link

I want to popup a window with jquery.colorbox, but it seem doesn't work, for example, i have an controller and action as below:

ASP.NET controller: Settings
ASP.NET action: Create
requireJS action: create.js

and open this action in colorbox, but it will not execute the create.js at this time, but if i use the iframe mode in colorbox, it will be work fine, but i don't want to use iframe , because the layout will be difference to handle , so have any ideas?

thanks!

@winsonet
Copy link
Author

Oh, I have solved the problem, because this is a same page with current page, so I should need to do the js logic in onComplete event of the colorbox

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

1 participant