slide show not working / error code

  • Thread starter Thread starter Pam
  • Start date Start date
P

Pam

can someone tell me what I have wrong -
1. I have the js in the html part of my homepage - but it doesn't seem to
be working - it was now it isn't and I can't figure out what I messed up.

2. when I try to go to view from design an error script pops up an
error box - twice with the same error - that line 2 character 1 ...- is an
invalid character - for the life of me I can't figure out what
the error is

thanks!
Pam
 
Without opening the external script files and taking a look at them,

I would first, in code view correct the doctype:
This :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

should be:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

then this:
<SCRIPT SRC='script.js'></SCRIPT>
needs to be: <SCRIPT type="text/javascript" SRC='script.js'></SCRIPT>

But most important is that you haven't told the browser to launch the slideshow.

If you want the slide show to be automatic when the page opens, you need to edit
the opening body tag.
Change this:
<body style="background-image: url('images/backgrounds/light/brown.jpg')">
to:
<body style="background-image: url('images/backgrounds/light/brown.jpg')"
Onload="runSlideShow();">

runSlideShow() is the function contained in the gallery.js file that actually runs /
starts the slide show

hth


--
Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm
 
It looks to me that you've inserted the script in the wrong place. Put
it in the body section where you want it to appear... mot in the head
section where it now resides.
 
thank you so much!

the slide show is now working - thank you so much for that! although when I
go to preview it I get a error code for line 25, char 1 - error is object
expected .??

and even though I changed the doctype, I still get the error for line 2,
char 1, invalid character

however, it is working :-)

if you have any clues to what I'm still doing that is causing the error
codes, would appreciate another look

Pam
http://www.rafterjsbuckingbulls.com
 
In your salvator.css file:
change this:
p { COLOR #CC6666; FONT: 14px "Times New Roman", verdana, arial, sans-serif; }
to:
p { COLOR: #CC6666; FONT: 14px "Times New Roman", verdana, arial, sans-serif; }
note the : after COLOR

The scrollbar color: scrollbar-base-color:#B7D7F5;
isn't working, and when it does it only works in Internet Explorer.

As for the script error, I can't seem to find it.
It "could" be from the external hit counter, or it "could" be from the script
that runs the status bar text.

That said, in my humble opinion, kill the status bar text.
You put a lot of work into a web page / site, why draw the users attention to
a spot 20 pixels high at the bottom left of the screen??

Additionally, the status bar text hides the url when a visitor scrolls over a link.
People are prone to "Not" click links they can't see.

Also, move the midi control down a line or two, it is partially hidden at the top of the
page.

hth.


--
Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm
 
Just a note on the Midi control. This is an ActiveX control that may not
work in some browsers and won't work for people running Windows XP SP2 if
they have Active X disabled. Personally I don't think it adds value to the
site (which looks well done) and will just cause headaches for people
visiting the site.

Dave
 
Thank you Dave for your comments - I don't like the midi control either ....
will probably take it out as you suggest
 
Again - thank you so much Steve! I will make the changes and in the css file
I appreicate your opinion o n the status bar text...but they want me to
leave it - so will live with it I guess (they saw it on another site :->)

blessings to you for your continued help!
Pam
 
Back
Top