*DAMN R6 Forum

*DAMN R6 Community => General Gossip => Topic started by: Mr. Lothario on June 08, 2004, 12:46:29 pm



Title: Anybody Got FrontPage-fu?
Post by: Mr. Lothario on June 08, 2004, 12:46:29 pm
     A friend of mine needs to use FrontPage for a project she's working on. She needs "an alert box, triggered by onclick text." She can't figure out how to force FP to do that. Can anybody provide assistance?


Title: Re:Anybody Got FrontPage-fu?
Post by: c| Splinter on June 08, 2004, 02:26:41 pm
That's done with javascript.  It's not a function of Frontpage that I know of.  When I get to work I'll post an example.


Title: Re:Anybody Got FrontPage-fu?
Post by: Mr. Lothario on June 08, 2004, 03:19:50 pm
     That's what I thought. Perhaps she's trying to figure out how to use Javascript in FP?


Title: Re:Anybody Got FrontPage-fu?
Post by: c| Splinter on June 08, 2004, 04:40:17 pm
I think the her best bet is to just type in the Javascript in the HTML editor.

Here's a quick example that will get the job done.

Put this in the <head> section:

<head>
<SCRIPT language="Javascript" type="text/javascript">
<!--
function alertBox()
{
   
               alert("Type your alert text here.");
               return false;   
}
// -->
</SCRIPT>
</head>


Put this in the <body> section:

<body>
<div style="cursor:hand;" onClick="return alertBox()">Click here.</div>
</body>


Title: Re:Anybody Got FrontPage-fu?
Post by: BFG on June 08, 2004, 04:53:51 pm
... to start with i would point her in the direction of Macromedia Dreamweaver. In my view it beats Frontpage hands down (and up ;) ) its clean, simple, straightforward, powerfull... only problems i have with it sometimes is its unhelpful built in FTP app


Title: Re:Anybody Got FrontPage-fu?
Post by: c| Splinter on June 08, 2004, 06:09:09 pm
Yeah, I definitely like Dreamweaver better, but it depends on the server you're uploading to.  If their server is configured for Frontpage, and you upload with any FTP software, it can f-up the frontpage extensions.  That's fine if you're working on your own, but if you do any sort of collaboration, it will screw everything up for everyone else.