How to use JavaScript with FP2k?

  • Thread starter Thread starter tmb
  • Start date Start date
T

tmb

I want to use the OnClick intrinsic command and JavaScript to open a new
browser window when a link is click.

1 - How can I insert the OnClick and Java Script into FP2k ?

2 - Are there any issues I should watch out for?

3 - Are there other ways to do this and still be able to control screen
size, available controls, scroll bars, etc on the new window and have good
browser compatibility?

Thanks for any help - tmb
 
1. Find the tag you want an onCLick for (note: In FrontPage 2003 (out soon),
you can click on the item and switch to code view. Add onClick and then add
JavaScript in the <head> portion of the page.

With FrontPage 2003, you can also add a behavior for openWindow and have
FrontPage do the work for you. You may still wish to tweak the outcome, but
it is far easier to add to a stub than build one.

2. FrontPage has no problems with JavaScript.

3. None that I know of.

--
Gregory A. Beamer
MPV; MCP: +I, SE, SD, DBA

**********************************************************************
Think outside the box!
**********************************************************************
 
Back
Top