Photo Slide Shows in Front Page 2003

T

Thomas A. Rowe

You can not run JavaScript from the FP Java Applets.

--
==============================================
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

Gil

Eleanor,

I have just tried implementing one using a script that was posted in one of
the references you gave me. In Front Page, I did

Insert / Web Component / Advanced Controls / Java Applet

and in the dialog box I set up a pointer to the Java Script I created in
Notepad.
When I run the page, I get a box where I inserted the Web Component and it
has an X in it. This is obviously not able to execute my script as I
expected. At the bottom of the web browser it gives the message

"exception: java.lang.NullPointerException."

Can you provide me any hints as to what I'm doing wrong?

I looked over your site, and I found many photo galleries. However, I
couldn't find any with automatic slide shows. Is there a place on your site
where I can find a script that implements an auto slideshow as you refered to?

By the way, you have a lot of terrific photos. I'm jealous with all your
travels.

Thanks,
 
R

Rob Giordano \(Crash\)

Java Applet is different than Java Script


| Eleanor,
|
| I have just tried implementing one using a script that was posted in one
of
| the references you gave me. In Front Page, I did
|
| Insert / Web Component / Advanced Controls / Java Applet
|
| and in the dialog box I set up a pointer to the Java Script I created in
| Notepad.
| When I run the page, I get a box where I inserted the Web Component and it
| has an X in it. This is obviously not able to execute my script as I
| expected. At the bottom of the web browser it gives the message
|
| "exception: java.lang.NullPointerException."
|
| Can you provide me any hints as to what I'm doing wrong?
|
| I looked over your site, and I found many photo galleries. However, I
| couldn't find any with automatic slide shows. Is there a place on your
site
| where I can find a script that implements an auto slideshow as you refered
to?
|
| By the way, you have a lot of terrific photos. I'm jealous with all your
| travels.
|
| Thanks,
| --
| Gil
|
| --
| Gil
|
|
| "E. T. Culling" wrote:
|
| > Which program are you referring to? Most will do the work for you once
you
| > have made a folder of images, optimized them etc.... all in one folder
is
| > best). For instance, work with JAlbum outside of FP, then when finished
| > IMPORT the whole folder into FP and link appropriately.
| > Eleanor
| > | > > Eleanor,
| > > The references you provided are most helpful. Being a novice, I'm
| > > unfamiliar with how to apply Java Scripts. I see a number of scripts
| > > posted
| > > that do exactly what I'm trying to do. But I'm not sure how to apply
them
| > > to
| > > my page. Is it possible to reference a directory of photos with a
| > > wildcard
| > > such that the script slideshow sequences through all of them or do I
need
| > > to
| > > explicity reference each photo file name in the script?
| > > Thanks,
| > > --
| > > Gil
| > >
| > >
| > > "E. T. Culling" wrote:
| > >
| > >> Some suggestions:
| > >> http://www.eleanorstravels.com/PhotoGalleryPrograms/index.htm
| > >> Eleanor
| > >> | > >> >I presently use Front Page 2003 to create photo galleries.
| > >> > Is there an add-in or other method for creating a slide show which
| > >> > sequentially displays each of the photos in a given web
| > >> > directory/folder?
| > >> > I would like a visitor to such a web page to be able to click on an
| > >> > icon
| > >> > to
| > >> > initiate a slide show rather than having to manually view each and
| > >> > every
| > >> > photo in a photo gallery.
| > >> > --
| > >> > Gil
| > >>
| > >>
| > >>
| >
| >
| >
 
E

E. T. Culling

Hi Gil ... Thanks for the nice comments. I think I need to have you define
what you mean by automatic, please. I've used it to imply that you can make
a folder of photos and then one of the programs will take them and build the
slide show 'automatically" using choices that you make along the way ...
such as using JAlum and all it's possibilities.
Java script is not a Java applet ... don't confuse them.
Do you possibily want the show to run 'automatically' after you have built
it.
Take a serious look at JAlbum!
It's probably best not to have to work directly with javascripts.
Some of the shows on my site were amde with programs that only work with
Dreamweaver, not FrontPage. As you know I haven't nothing good to say about
the FP slideshow component.
You might want to do a Google search for 'automatic' slideshows.
You can contact me personally if you wish.
Eleanor
 
G

Gil

Trevor,
Thanks for the code segment. How do I add this to my web page created from
Front Page? Another reply I received indicated that I couldn't do it by
using the FP Java Applets mechanism.
 
G

Gil

Eleanor,

What I was trying to accomplish is that when a visitor opened up one of my
photo webpages, they would have a button/link they could click on that would
then start sequencing through a display of all photos contained in one of my
photo directories. By automatic I mean that the visitor would not have to
click to advance to the next photo.

I must have misunderstood the prior guidance in that I thought I would need
to resort to a JavaScript (such as those posted on the various references) to
be able to accomplish the above.

What I was hoping to accomplish is that the only impact to the storage of my
website would be some small scripts or equivalent as opposed to the storage
required to host a flash or video file "copy" of my concatenated slideshow.
In other words I was of the impression that a JavaScript could "on the fly"
read and sequence through the existing photos in a directory.
 
T

Thomas A. Rowe

The site where your got the script should give you instructions for inserting the script into your
pages. If not then you need to contact the site/author of the script, as FP doesn't have any
components that would do this.

--
==============================================
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

Gil

Ahh, I thought Front Page would have provisions for utilizing JavaScripts.
I guess if I had HTML, I could manually edit the HTML generated by FP to
insert new capabilities. But it sounds like JavaScripts are useless to me
when using FP.
Thanks,
 
T

Thomas A. Rowe

You can easily add JavaScript based functions to FP, but you have to insert the script in HTML /
Code View per the instructions provided with the script.

--
==============================================
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.
==============================================
 
T

Trevor L.

Gil said:
Trevor,
Thanks for the code segment. How do I add this to my web page
created from Front Page? Another reply I received indicated that I
couldn't do it by using the FP Java Applets mechanism.

Gil,
After reading your reply and the posts over the last day or so, it look as
if you haven't got anything to work for you.

I thought JAlbum may have been of use, but I haven't actually tried it
myself

I am thinking therefore that you may like to try my code.

It is in several parts, so I will have to put it together in as sensible
manner and post it so that you can use it.

It will need JScript to be added into the <head> and HTML into the <body> of
our document.

This post is just to let you know it is coming, perhaps in a few hours time.
 
T

Trevor L.

Trevor said:
This post is just to let you know it is coming, perhaps in a few
hours time.

Gil,
I have looked at my code and it is far too complex to explain as a newsgroup
posting

If you are able to extract code from the internet, the various modules are

http://tandcl.homemail.com.au/album.html
http://tandcl.homemail.com.au/slideshow.html
http://tandcl.homemail.com.au/picture.html
http://tandcl.homemail.com.au/style.css
http://tandcl.homemail.com.au/external.js
http://tandcl.homemail.com.au/album.js
http://tandcl.homemail.com.au/slidelist.js
http://tandcl.homemail.com.au/slideshow.js

You can start at album.html and work from there. But the html files are all
frames which makes finding them a bit more difficult.
Sorry about that. I really should try to make it simpler so that I can share
the code.

The suggestion to use JAlbum may be worth investigating
 
G

Gil

Thomas,

Can JavaScript be inserted in-line with HTML? From past programming
experience (may years ago), the syntax for one programming language could
generally not be merged with the syntax for a different programming language
since a compiler or interpreter could only deal with one specific language.
I take it that JavaScript has been designed such that today's web
interpreters can deal with HTML and JavaScript in the same file? What
character or header/footer (if any) needs to be used as the delimiter between
lines of JS and HTML?

Thanks for helping this novice,
 
G

Gil

Mission Success!
I inserted a JavaScript in line using the HTML code mechanism in FP2003, and
it worked. I am getting some graphic artifacts that are not quite right so
now I'll have to understand better the specific code within the script I
started from to correct them.

Many Thanks to all that have helped me on this forum.
 
G

Gil

Mission Success!
I inserted a JavaScript in line using the HTML code mechanism in FP2003, and
it worked. I am getting some graphic artifacts that are not quite right so
now I'll have to understand better the specific code within the script I
started from to correct them.

Many Thanks to all that have helped me on this forum.
 
G

Gil

Mission Success!
I inserted a JavaScript in line using the HTML code mechanism in FP2003, and
it worked. I am getting some graphic artifacts that are not quite right so
now I'll have to understand better the specific code within the script I
started from to correct them.

Many Thanks to all that have helped me on this forum.
 
T

Trevor L.

Gil said:
Mission Success!
I inserted a JavaScript in line using the HTML code mechanism in
FP2003, and it worked. I am getting some graphic artifacts that are
not quite right so now I'll have to understand better the specific
code within the script I started from to correct them.

Many Thanks to all that have helped me on this forum.

Well, Gil

If you don't want ot use the automatic features of FP, you can add JS in the
HTML or Code view.

Inside the HTML code (between <body> and </body>), the Javascript is added
between these two tags
<script type="text/javascript">
/* javascript goes here */
</script>
 

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