[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 175
  • Last Modified:

Using FP2003 Want to Open a Pop Up Window From Hot Spot

Hi experts,

Using FrontPage 2003.  I want to open a small pop-up window when the user clicks on a hot spot.  Front Page wants a URL but does not give me the capability of making that a small window.  

Is there a way I can use the window.open method in response to the click on the hot spot?  

Any sample code would be appreciated.   Thanks.

GeneM
0
GeneM
Asked:
GeneM
  • 3
  • 2
1 Solution
 
coreybryantCommented:
0
 
GeneMAuthor Commented:
Hi Corey,

Thanks for responding to my question.

Neither of your references was of any help (even though they were good references.)  My question really was how to invoke the windows.open method from clicking on a hot spot.

I was able to figure it out by myself.  

Again, thank you for your interest.
0
 
coreybryantCommented:
Sorry, I thought you were wanting a FP answer not really a JS method  I should have moved your question to the JS TA

I can delete / refund your points if needed

-Corey
0
 
GeneMAuthor Commented:
Hi Corey,

Sorry for the delay in closing this out.

I was looking for a FP solution.  Your second reference was (at least I think it was) a FP solution, but involved buying another product.  Since this is for my own interest, I don't want to spend the money for another product.  Your first reference is a great reference, but did not handle the "hotspot" requirement.  Actually, it is a JS solution also, only the web site generates the JS code for you.  Kind of cool, but didn't have a hotspot selection.

In case someone searches this tread, the following is the sample solution:

<script language="JavaScript">
<!--
function foo()
{
      window.open("dial.htm",null,"height=200,width=400,left=250,top=150,status=no,toolbar=no,menubar=no,location=no");
}
//-->
</script>


Then in your image map place the following:

<area href=javascript:foo() shape="circle" coords="44, 113, 30">

The part I had trouble finding was the way the href on the hotspot was coded.

Can you set the points to 0 so I can close out this.  I would prefer that the thread not be deleted.

Thanks for everything.

GeneM
0
 
coreybryantCommented:
Done

Corey
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now