Hi everybody:
I was trying use dom:loaded, but I read in the Api of prototype that
this function load all HTML code except the images. My problem is that
all my web is an image and I want that it were full loaded before the
webpage shows it, because that I want that it seems like a video and if
it isn´t fully loaded it doesn´t seem a video. Anyone can help me?? I
tried using the following:
<script type="text/javascript">
function lastSpy() {
var target = $('imagen');
if (!target) return false;
new Ajax.PeriodicalUpdater(target,
'http://localhost:3000/',{frequency:'0.25'})
}
Hi everybody:
I was trying use dom:loaded, but I read in the Api of prototype that
this function load all HTML code except the images. My problem is that
all my web is an image and I want that it were full loaded before the
webpage shows it, because that I want that it seems like a video and if
it isn´t fully loaded it doesn´t seem a video. Anyone can help me?? I
tried using the following:
<script type="text/javascript">
The event "dom:loaded" is added by Prototype specifically so you don't
have to wait for the entire page to fully load. The event get fired just
after the DOM is fully loaded, but before any other page assets are
loaded. This is usually what you want, but not always. If you really
want to wait for the entire page to load then use the window "load"
event which is what you are showing above.
I want to also make clear that you must include the Prototype JavaScript
files in order to use any of the Prototype features. Maybe you're doing
that and not showing it here, but just want to make sure you understand
that.
Hi everybody:
I was trying use dom:loaded, but I read in the Api of prototype that
this function load all HTML code except the images. My problem is that
all my web is an image and I want that it were full loaded before the
webpage shows it, because that I want that it seems like a video and if
it isn´t fully loaded it doesn´t seem a video. Anyone can help me?? I
tried using the following:
<script type="text/javascript">
The event "dom:loaded" is added by Prototype specifically so you don't
have to wait for the entire page to fully load. The event get fired just
after the DOM is fully loaded, but before any other page assets are
loaded. This is usually what you want, but not always. If you really
want to wait for the entire page to load then use the window "load"
event which is what you are showing above.
I´m looking that, if I have problems I said to you
I want to also make clear that you must include the Prototype JavaScript
files in order to use any of the Prototype features. Maybe you're doing
that and not showing it here, but just want to make sure you understand
that.
I included it time ago, but thanks for the conseil because sometimes I
forgot that