Pop up size?

N

Novice

Hi, I have seen this done on many many sites and it suits exactly what I
want to do.

Basically I want a page to open from a button but I want this page to be a
small window rather than a full page.

Is this possible rather than using complicated Java scripts?

I use FP 2003

Many thanks
 
M

Martin Chantler

Hi,

Try this in HTML:-

window.open('http://url/page.htm',
'PopOver','height=300,width=500,location=no,scrollbars=0,ontop=true');onblur="window.focus()";

All the best,
Martin.
 
M

Martin Chantler

Hi,

Open and close popup.

Pop Up Window
~~~~~~~~~~~~~
<script> function popUp(URL) { props=window.open(URL, 'toolbars=0,
scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=300,
height=200'); } </script> <a url=javascript:popUp('popup.html')>Click here
to open popup window</a>



Close Window
~~~~~~~~~~~~
<form><input type=button value="Close Window"
onClick="javascript:window.close();"></form>


Close Window
~~~~~~~~~~~~
<a href="javascript:window.close();">Close Window</a>


All the best,
Martin.
 
N

Novice

Martin Chantler said:
Hi,

Try this in HTML:-

window.open('http://url/page.htm',
'PopOver','height=300,width=500,location=no,scrollbars=0,ontop=true');onblur
="window.focus()";

All the best,
Martin.


Thanks Martin, I am really sorry to be dumb but how do I add that html to a
link (button or text), I know how to add a hyperlink and I know how to add
Web Component>Advanced>Html.

Do I have to go into the code of the page or can I do it as mentioned above.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top