Home | Products | Consulting | Hosting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: General: Off Topic Conversations:
opening 'small' pages

 

 


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

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Hosting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4