cannot delete script

G

Guest

I have a pop-up window on my website that I put in and now I cannot take it
out. I delete it in code view and it just keeps coming back. It's as
follows:

<script language="JavaScript">
<!--
function FP_popUpMsg(msg) {//v1.0
alert(msg);
}
// -->
</script>

Any help is greatly appreciated as I have worked on this off and on for
days. HELP!
 
T

Thomas A. Rowe

How did you insert the script originally?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
G

Guest

I believe I went in under "format" and then "behaviors". Although it does
not come up in the task bar to delete.
 
G

Guest

After you delete it, you save the file, close the file, and reopen the newly
saved file and the code is back???
 
S

Stefan B Rusynko

You need to find the page element you added the Behavior to and remove it
- as long as the behavior is attached to a page element FP will keep adding the script

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


|I believe I went in under "format" and then "behaviors". Although it does
| not come up in the task bar to delete.
|
| "Thomas A. Rowe" wrote:
|
| > How did you insert the script originally?
| >
| > --
| > ==============================================
| > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > ==============================================
| > If you feel your current issue is a results of installing
| > a Service Pack or security update, please contact
| > Microsoft Product Support Services:
| > http://support.microsoft.com
| > If the problem can be shown to have been caused by a
| > security update, then there is usually no charge for the call.
| > ==============================================
| >
| > | > >I have a pop-up window on my website that I put in and now I cannot take it
| > > out. I delete it in code view and it just keeps coming back. It's as
| > > follows:
| > >
| > > <script language="JavaScript">
| > > <!--
| > > function FP_popUpMsg(msg) {//v1.0
| > > alert(msg);
| > > }
| > > // -->
| > > </script>
| > >
| > > Any help is greatly appreciated as I have worked on this off and on for
| > > days. HELP!
| >
| >
| >
 
G

Guest

How do I find the page element it was added to? Can I do this on the code
view?
This is html up to and with the script:

<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:blush:="urn:schemas-microsoft-com:blush:ffice:blush:ffice"
xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Trek the Halls</title>
<!--[if !mso]>
<style>.ONBodyCellPadded{padding:0px;}</style>
<![endif]-->
<meta name="keywords" content="Gateway Cycle, Trek, Trek the Halls, Haro,
Raleigh,bike shops, bikes, bicycles, Minnesota, St. Paul">
<meta name="description" content="Trek the Halls Sale at Gateway Cycle from
11/25-12/31.">


<meta name="Microsoft Border" content="tl, default">
<script language="JavaScript">
<!--
function FP_popUpMsg(msg) {//v1.0
alert(msg);
}
// -->
</script>

<body vlink="#CC0000" alink="#666666" link="#000000">

<head>



I cannot seem to access the behavior by going to "format" then "behavior".
When I do that there is nothing listed under behavior. Only the "insert"
button is highlighted and no the "delete" button.



Stefan B Rusynko said:
You need to find the page element you added the Behavior to and remove it
- as long as the behavior is attached to a page element FP will keep adding the script

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


|I believe I went in under "format" and then "behaviors". Although it does
| not come up in the task bar to delete.
|
| "Thomas A. Rowe" wrote:
|
| > How did you insert the script originally?
| >
| > --
| > ==============================================
| > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > ==============================================
| > If you feel your current issue is a results of installing
| > a Service Pack or security update, please contact
| > Microsoft Product Support Services:
| > http://support.microsoft.com
| > If the problem can be shown to have been caused by a
| > security update, then there is usually no charge for the call.
| > ==============================================
| >
| > | > >I have a pop-up window on my website that I put in and now I cannot take it
| > > out. I delete it in code view and it just keeps coming back. It's as
| > > follows:
| > >
| > > <script language="JavaScript">
| > > <!--
| > > function FP_popUpMsg(msg) {//v1.0
| > > alert(msg);
| > > }
| > > // -->
| > > </script>
| > >
| > > Any help is greatly appreciated as I have worked on this off and on for
| > > days. HELP!
| >
| >
| >
 
S

Stefan B Rusynko

The behavior is applied inside your BODY content
- look for a onmouseover or onclick assigned to a link or image & delete it

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| How do I find the page element it was added to? Can I do this on the code
| view?
| This is html up to and with the script:
|
| <html xmlns:v="urn:schemas-microsoft-com:vml"
| xmlns:blush:="urn:schemas-microsoft-com:blush:ffice:blush:ffice"
| xmlns="http://www.w3.org/TR/REC-html40">
|
| <head>
|
| <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
| <title>Trek the Halls</title>
| <!--[if !mso]>
| <style>.ONBodyCellPadded{padding:0px;}</style>
| <![endif]-->
| <meta name="keywords" content="Gateway Cycle, Trek, Trek the Halls, Haro,
| Raleigh,bike shops, bikes, bicycles, Minnesota, St. Paul">
| <meta name="description" content="Trek the Halls Sale at Gateway Cycle from
| 11/25-12/31.">
|
|
| <meta name="Microsoft Border" content="tl, default">
| <script language="JavaScript">
| <!--
| function FP_popUpMsg(msg) {//v1.0
| alert(msg);
| }
| // -->
| </script>
|
| <body vlink="#CC0000" alink="#666666" link="#000000">
|
| <head>
|
|
|
| I cannot seem to access the behavior by going to "format" then "behavior".
| When I do that there is nothing listed under behavior. Only the "insert"
| button is highlighted and no the "delete" button.
|
|
|
| "Stefan B Rusynko" wrote:
|
| > You need to find the page element you added the Behavior to and remove it
| > - as long as the behavior is attached to a page element FP will keep adding the script
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
| > _____________________________________________
| >
| >
| > |I believe I went in under "format" and then "behaviors". Although it does
| > | not come up in the task bar to delete.
| > |
| > | "Thomas A. Rowe" wrote:
| > |
| > | > How did you insert the script originally?
| > | >
| > | > --
| > | > ==============================================
| > | > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > | > ==============================================
| > | > If you feel your current issue is a results of installing
| > | > a Service Pack or security update, please contact
| > | > Microsoft Product Support Services:
| > | > http://support.microsoft.com
| > | > If the problem can be shown to have been caused by a
| > | > security update, then there is usually no charge for the call.
| > | > ==============================================
| > | >
| > | > | > | > >I have a pop-up window on my website that I put in and now I cannot take it
| > | > > out. I delete it in code view and it just keeps coming back. It's as
| > | > > follows:
| > | > >
| > | > > <script language="JavaScript">
| > | > > <!--
| > | > > function FP_popUpMsg(msg) {//v1.0
| > | > > alert(msg);
| > | > > }
| > | > > // -->
| > | > > </script>
| > | > >
| > | > > Any help is greatly appreciated as I have worked on this off and on for
| > | > > days. HELP!
| > | >
| > | >
| > | >
| >
| >
| >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top