Set up a close window function using interactive button

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to set up a button that matched the rest of my buttons using FP
and I need that button to close a window. Using this code I can get a link to
close the window but I can't get the button to do it. Any suggestions?

<a href="#" onclick="window.close()">
Close Window</a>
 
What buttons? That should look like every other form button. Is there a
URL where we can see what you mean?
 
You need to copy the image, add your text, then import and insert on your page, then create a
hyperlink.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================
 
Those aren't buttons. They're graphics. Just put the <a href code around
the image tag.
 
You're using those built in FP button formats, aren't you? Just do an
onclick in the <a> tag in front of the button. The FP button formats don't
use onclick, just onmouseup/onmousedown/onmouseover/onmouseout. The onclick
should still work.
 
That worked! Thanks!

redemption2 said:
You're using those built in FP button formats, aren't you? Just do an
onclick in the <a> tag in front of the button. The FP button formats don't
use onclick, just onmouseup/onmousedown/onmouseover/onmouseout. The onclick
should still work.
 
Back
Top