 |

Bembaman
New User
Jan 24, 2003, 8:03 PM
Post #1 of 2
(1795 views)
Shortcut
|
|
opening 'small' pages
|
Can't Post
|
|
I am trying to figure out something that is probably quite easy, but I never seem to find my way around DreamWeaver's help section very easily. I am using Realty Manager and want to click a button to open up a currency converter in a 'small' pop up box or reduced size page in one corner. I cannot work out how to do this. I have the currency converter working no problem in a full size page , but really i want it to pop up so that the user can still see the property page underneath. Any help appreciated.
|
|
|  |
 |

Benjamin
Staff

Jan 26, 2003, 10:56 AM
Post #2 of 2
(1780 views)
Shortcut
|
|
Re: [Bembaman] opening 'small' pages
[In reply to]
|
Can't Post
|
|
You could use JavaScript to specify the height and width of the popup page. For instance, you could place a little popup function in your between your <head></head> tags, like this: <script language="JavaScript"> function popup() { window.open("location_of_popup_html_file", 'Currency_Counter','height=300, width=500'); } </script> Then, somewhere in the page, place a reference to the function: <a href="#" onclick="popup()">Currency Counter</a> Now, whenever the visitor clicks on the "Currency Counter" link, the page will load up in a page 300x500 in size. Of course, just change the values for height and width to fit the size you want! Try this out; if you have any problems, just post me back :-) Ben interactivetools.com
|
|
|  |
|