• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Can you display a page WITHOUT the page container?

Jaxel

Well-known member
#1
Code:
return $this->responseView('EWRhabla_ViewPublic_Chat', 'EWRhabla_Chat', $viewParams);
When you use the code above, it sends the template into the view and wraps the template with the rest of your website's page container. http://www.8wayrun.com/chat/

However, I would like to offer an option like... http://www.8wayrun.com/chat/popup/

If a user goes to that link, I would like to open the page in a popup (not an OverlayTrigger), where the chat window consumes 100% of the page. How would I do this without loading up the page_container?
 

Brogan

XenForo moderator
Staff member
#2
Darkimmortal does this with his chat add-on, which has the option of a pop-up window so it's definitely possible.

Might be worth sending him a PM.
 

Jaxel

Well-known member
#4
Thanks... this is what I was looking for... additional question...

Does jQuery have it's own window popup method? All I could find is the overlay popup method...
 

Kier

XenForo Developer
Staff member
#6
Thanks... this is what I was looking for... additional question...

Does jQuery have it's own window popup method? All I could find is the overlay popup method...
No it doesn't. As Shadab says, if you want to open a new browser window popup, window.open() is the way to go.