Java Script Ad Rotator - Does it wait on All Pic's ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • tmb

    Java Script Ad Rotator - Does it wait on All Pic's ?

    I want to do a slide show with a script something like


    My Question: Will the client wait on all pic's in the slice show to be
    downloaded before it starts or will it show in the forground and continue
    downloading in the background?

    I have a lot of pic's but many will try to view on 56k dial-up.

    thanks for any help - tmb


  • Thomas 'PointedEars' Lahn

    #2
    Re: Java Script Ad Rotator - Does it wait on All Pic's ?

    tmb wrote:[color=blue]
    > I want to do a slide show with a script something like
    > http://www.abiglime.com/webmaster/ar...ipt/021298.htm
    >
    > My Question: Will the client wait on all pic's in the slice show to be
    > downloaded before it starts[/color]

    With *this* script, yes. All resources will be "preloaded" as far
    as the client's cache settings permit it.
    [color=blue]
    > or will it show in the forground and continue downloading in the
    > background?[/color]

    No, that would require asynchronous requests.
    [color=blue]
    > I have a lot of pic's but many will try to view on 56k dial-up.[/color]

    Don't do it then. Besides, rotating banners have become an increasing
    annoyance on the Web and are therefore filtered by many people along with
    the other ads. And rotation will not work if J(ava)Script is disabled
    or not even present and/or images are disabled or unsupported (common
    among users with 56k dial-up and below).


    PointedEars

    Comment

    • tmb

      #3
      Re: Java Script Ad Rotator - Does it wait on All Pic's ?

      PointedEars,

      Thanks but... :)

      We _have_ to put up pic's of the clients products.

      Is there a way to do asynchronous request with Java Script?

      And, the linked script shows a single image if Java Script is not installed
      or inabled... they say... is there a better way to do this? If so, please
      let me know.

      thanks again - tmb

      "Thomas 'PointedEars' Lahn" <PointedEars@nu rfuerspam.de> wrote in message
      news:410E9365.9 050308@PointedE ars.de...[color=blue]
      > tmb wrote:[color=green]
      > > I want to do a slide show with a script something like
      > > http://www.abiglime.com/webmaster/ar...ipt/021298.htm
      > >
      > > My Question: Will the client wait on all pic's in the slice show to be
      > > downloaded before it starts[/color]
      >
      > With *this* script, yes. All resources will be "preloaded" as far
      > as the client's cache settings permit it.
      >[color=green]
      > > or will it show in the forground and continue downloading in the
      > > background?[/color]
      >
      > No, that would require asynchronous requests.
      >[color=green]
      > > I have a lot of pic's but many will try to view on 56k dial-up.[/color]
      >
      > Don't do it then. Besides, rotating banners have become an increasing
      > annoyance on the Web and are therefore filtered by many people along with
      > the other ads. And rotation will not work if J(ava)Script is disabled
      > or not even present and/or images are disabled or unsupported (common
      > among users with 56k dial-up and below).
      >
      >
      > PointedEars
      >[/color]


      Comment

      • Randy Webb

        #4
        Re: Java Script Ad Rotator - Does it wait on All Pic's ?

        tmb wrote:[color=blue]
        > PointedEars,
        >
        > Thanks but... :)
        >
        > We _have_ to put up pic's of the clients products.[/color]

        Then put them up.
        [color=blue]
        > Is there a way to do asynchronous request with Java Script?[/color]

        Maybe.
        [color=blue]
        > And, the linked script shows a single image if Java Script is not installed
        > or inabled... they say... is there a better way to do this? If so, please
        > let me know.[/color]

        Image rotation scripts are a dime-a-dozen on the web. The one you
        reference is utter junk though.

        And yes, you can start the slideshow before all images are loaded, and
        pause the slideshow if the next image isn't loaded yet, on most browsers
        anyway.

        --
        Randy

        Comment

        • Thomas 'PointedEars' Lahn

          #5
          Re: Java Script Ad Rotator - Does it wait on All Pic's ?

          tmb wrote:[color=blue]
          > We _have_ to put up pic's of the clients products.[/color]

          Hm.
          [color=blue]
          > Is there a way to do asynchronous request with Java Script?[/color]

          First of all, the language is called JavaScript. It has nothing to do with
          Java, see the FAQ.

          Second, there is a way to do that using the XMLHttpRequest object. But that
          host object is only available in newer Gecko-based browsers and Windows IE
          with enabled ActiveX, so I doubt this will be a viable solution.
          [color=blue]
          > And, the linked script shows a single image if Java Script is not installed
          > or inabled... they say...[/color]

          Exactly.
          [color=blue]
          > is there a better way to do this?[/color]

          You could use animated images. The formats of choice would be GIF89a or MNG.
          [color=blue]
          > [...][/color]

          And please don't top-post, see the FAQ.


          PointedEars

          Comment

          Working...