Kevin said:
The transitions apply to the loading of a page. So, when a link links
to a page having a transition, that transition is applied. A
hyperlink can not have a transition.
Kevin,
Hi again from me in Canberra, Australia.
I am interested in this. I set up a transition between images in a slide
show using Filters
if (document.all)
{ document.images.slide.filters[0].apply()
document.images.slide.filters[0].play() }
This works OK (in IE6). But a couple of questions
1. (More or less a side issue)
Is this syntax correct?
Shouldn't it be: document.images["slide"].filters[0].apply() ?
I seem to remember that I read somewhere that it is an IE6 peculiarity
that one can use syntax such as document.images.slide. It works (I read)
because IE6 sets up a variable (or is it a property - I am not sure of the
correct wording) named slide within document.images when there is an
element with that id, and that other browsers which follow more strict
HTML do not. (Of course, in this case it wouldn't matter, because filters
is also IE only.)
Is it valid syntax to mix using IDs e.g. "slide" and numbers e.g. 0?
I also note that sometimes one uses [] e.g. as above, and sometimes ()
e.g. getElementById. This can be confusing.
2. (This is my main question.)
When I added a preload, the transition effect did not work
I added this just after the filters statements:
FP_preloadImgs(Slides[ss_ImgNum+1])
FP_preloadImgs is the standard FP preload function
Slides is an array holding images names e.g. "pic1.jpg", "pic2.jpg", etc.
ss_ImgNum is a variable holding the number of the image just displayed. So
the code is intended to load the next image while the current one is being
displayed
Why would the transition not work?
Should the preload be elsewhere?
Or does transition only work during load, meaning that because the image
has been loaded, it doesn't work?