Skip to main content
Question

Button Bar Widget - Page - open as popup, then close when button selected


Forum|alt.badge.img+6

I have a simple URL page.  I created a 'Page' button on my home page from the 'Button Bar Widget'. 

I want that page to open in a popup window and close when I hit the 'Close' button. 

When I preview the page, the 'Close' button works fine.  When I execute the button from the Home Page, it does not work.

Regarding opening it as a popup, I've tried multiple javascript and html options, but none have worked.  Any help will be appreciated.

Code for the URL page is as follows:

-------------------------------------

<script>
window.resizeTo(950,500);
</script>

<h3><p><u>Information Text Goes Here</u></h3>

<button onclick="self.close()">Close</button>

-------------------------------------



------------------------------
Aaron B
ab1692@att.com
------------------------------

This topic has been closed for replies.

Forum|alt.badge.img+4

Hi Aaron,

This is a limitation of Home Page buttons in QB.  The closest you can get as a workaround is to use a Rich Text element in your Home Page and add and image of a 'button'.  Then, you can link that image to the code page you created with the target set to 'New Window.'



------------------------------
Chris Wheatley
------------------------------