Javascript- published vs non-published FP2003 pages

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

Guest

I'm adding some cut and paste wipe javascript to my wesite

When I add the script to a new page in a new site (NON-Published) it works fine
but when I try to add it to a new page (no other javascripts on that page) on my PUBLISHED site (server extensions active) I continue to get errors. The necessary scripts are referenced in the proper directories.

Other javascripts work fine in my published site

I can't figure out what I'm doing wron

Any ideas

Most common mistakes

Thanks, erik
 
How are you calling the script??

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer

erik said:
I'm adding some cut and paste wipe javascript to my wesite.

When I add the script to a new page in a new site (NON-Published) it works fine,
but when I try to add it to a new page (no other javascripts on that page) on my
PUBLISHED site (server extensions active) I continue to get errors. The necessary scripts
are referenced in the proper directories.
 
<script src="js/dw_core.js" type="text/javascript"></script><script src="js/dw_clip.js" type="text/javascript"></script><script src="js/dw_util.js" type="text/javascript"></script><script src="js/dw_wipes.js" type="text/javascript"></script><script type="text/javascript"

window.onload=initDynLyrs

Should I include the script

----- Steve Easton wrote: ----

How are you calling the script?

--
Steve Easto
Microsoft MVP FrontPag
95isaliv
This site is best viewed.................
...............................with a compute

erik said:
I'm adding some cut and paste wipe javascript to my wesite
but when I try to add it to a new page (no other javascripts on that page) on m
PUBLISHED site (server extensions active) I continue to get errors. The necessary script
are referenced in the proper directories
 
No need to include it here.

Are you calling all of these into one page as separate scripts??

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer


erik said:
<script src="js/dw_core.js" type="text/javascript"></script><script src="js/dw_clip.js"
type="text/javascript"></script><script src="js/dw_util.js"
 
Steve

they are all called on as part of the wipe effects script I got from dyn-we

http://www.dyn-web.com/dhtml/wipes/banners

I'm implementing the "Wiping Banner with Effect Variation" scrip

It works when I use it in a new site (non-published
but not on a new page in a previouly published site.

thanks, erik
 
then you're putting something slightly different on the page it won't work
on.
does the page in question use any "include content" or anything like that?
can you provide a url to your failing page?

I just used a couple of scripts from dyn-web and liked them I guess that's
what caught my attention on your post. ;-)
 
chris,
http://www.pacificrip.com/wiping_banner_in_a_table_cell.htm

The page works before it becomes part of the www.pacificrip.com website--before it gets published or on my computer at home when it is part of another site. what happens when FP2003 publishes that changes the settings of the site?

I don't believe it's the page and script but , rather, I how I set-up my website.
What settings in FP could I have changed?

Other simpler javascripts work on my site.


thanks, erik
 
chris,
http://www.pacificrip.com/wiping_banner_in_a_table_cell.htm

I'm not putting anything different on the page.

This page that works on another simple site at my home no longer works when it gets published or becomes part of my published site on my computer at home.

There is something that I've done differently in FP when setting up my first site that I can't figure out.

What changes in setting up the site or publishing the site could cause this error.

As far as my knowledge goes, it could be anything.

Other simpler javascripts work on the published site.

thanks erik
 
if they are external js files have you uploaded them in the process of
publishing?
javascript doesn't require server extensions - it is a client side scripting
language.

erik said:
I'm adding some cut and paste wipe javascript to my wesite.

When I add the script to a new page in a new site (NON-Published) it works fine,
but when I try to add it to a new page (no other javascripts on that page) on
my PUBLISHED site (server extensions active) I continue to get errors. The
necessary scripts are referenced in the proper directories.
 
yes, I've uploaded the external js files.

Andrew Murray said:
if they are external js files have you uploaded them in the process of
publishing?
javascript doesn't require server extensions - it is a client side scripting
language.


my PUBLISHED site (server extensions active) I continue to get errors. The
necessary scripts are referenced in the proper directories.
 
The page throws several script debug errors when I open it, complaining about missing semicolons ;
and also says 'dynobj' is undefined, which must be in one of the external scripts because it's not
in the page source.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer

erik said:
chris,
http://www.pacificrip.com/wiping_banner_in_a_table_cell.htm

The page works before it becomes part of the www.pacificrip.com website--before it gets published
or on my computer at home when it is part of another site. what happens when FP2003 publishes that
changes the settings of the site?
 
Yes, I get these errors when the page becomes part of a site that has been published or is published. I do not get these errors (the script works) on a site that has not been published.

There is something in the publication process or the way I initially set up my site that causes these errors.

What in FP2003 publishing or set up could cause this?

thanks, erik
 
Back
Top