a helping hand please

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

    #1

    a helping hand please

    Hey all,

    Please give a hand writing a javascript.

    I need a js that does the folowing.
    I have a random list of pictures, name changes reguarly
    the only stable factor is that it is an .jpg file.
    Name and number of pictures changes reguarly.
    The only thing is there are max. 30 pictures.

    Now i want my script to do the folowing;
    Display all current images that have the .jpg extension.
    There is no need to sort them in any order.

    I would be very pleased if someone can help me.

    Reg.
    Robin


  • Nick Howes

    #2
    Re: a helping hand please

    "robin" <dikkie65-verwijder-@home.nl> wrote in message
    news:cavcii$dd2 $1@news5.tilbu1 .nb.home.nl...[color=blue]
    > Hey all,
    >
    > Please give a hand writing a javascript.
    >
    > I need a js that does the folowing.
    > I have a random list of pictures, name changes reguarly
    > the only stable factor is that it is an .jpg file.
    > Name and number of pictures changes reguarly.
    > The only thing is there are max. 30 pictures.
    >
    > Now i want my script to do the folowing;
    > Display all current images that have the .jpg extension.
    > There is no need to sort them in any order.
    >
    > I would be very pleased if someone can help me.
    >[/color]

    You would be much better off doing this server-side, eg with JSP, PHP, or
    ASP or similar. This way it will work in all browsers because the server
    will make the required HTML dynamically and transparently to the user.
    Otherwise, people without javascript would get no pictures at all.


    Comment

    • robin

      #3
      Re: a helping hand please

      Hi,

      Thanks for answer but part of the problem is my isp does not allow
      anything.
      So the only solution is using a javascript..... ...... :-(

      Robin,

      "Nick Howes" <n.j.howes@warw ick.ac.uk> schreef in bericht
      news:cavfeb$khe $1@wisteria.csv .warwick.ac.uk. ..[color=blue]
      > "robin" <dikkie65-verwijder-@home.nl> wrote in message
      > news:cavcii$dd2 $1@news5.tilbu1 .nb.home.nl...[color=green]
      > > Hey all,
      > >
      > > Please give a hand writing a javascript.
      > >
      > > I need a js that does the folowing.
      > > I have a random list of pictures, name changes reguarly
      > > the only stable factor is that it is an .jpg file.
      > > Name and number of pictures changes reguarly.
      > > The only thing is there are max. 30 pictures.
      > >
      > > Now i want my script to do the folowing;
      > > Display all current images that have the .jpg extension.
      > > There is no need to sort them in any order.
      > >
      > > I would be very pleased if someone can help me.
      > >[/color]
      >
      > You would be much better off doing this server-side, eg with JSP, PHP, or
      > ASP or similar. This way it will work in all browsers because the server
      > will make the required HTML dynamically and transparently to the user.
      > Otherwise, people without javascript would get no pictures at all.
      >
      >[/color]


      Comment

      • Hywel

        #4
        Re: a helping hand please

        In article <cavjfa$qe0$1@n ews4.tilbu1.nb. home.nl>, robin says...[color=blue]
        > "Nick Howes" <n.j.howes@warw ick.ac.uk> schreef in bericht
        > news:cavfeb$khe $1@wisteria.csv .warwick.ac.uk. ..[color=green]
        > > "robin" <dikkie65-verwijder-@home.nl> wrote in message
        > > news:cavcii$dd2 $1@news5.tilbu1 .nb.home.nl...[color=darkred]
        > > > Hey all,
        > > >
        > > > Please give a hand writing a javascript.
        > > >
        > > > I need a js that does the folowing.
        > > > I have a random list of pictures, name changes reguarly
        > > > the only stable factor is that it is an .jpg file.
        > > > Name and number of pictures changes reguarly.
        > > > The only thing is there are max. 30 pictures.
        > > >
        > > > Now i want my script to do the folowing;
        > > > Display all current images that have the .jpg extension.
        > > > There is no need to sort them in any order.
        > > >
        > > > I would be very pleased if someone can help me.
        > > >[/color]
        > >
        > > You would be much better off doing this server-side, eg with JSP, PHP, or
        > > ASP or similar. This way it will work in all browsers because the server
        > > will make the required HTML dynamically and transparently to the user.
        > > Otherwise, people without javascript would get no pictures at all.[/color][/color]
        [color=blue]
        > Hi,
        >
        > Thanks for answer but part of the problem is my isp does not allow
        > anything.
        > So the only solution is using a javascript..... ...... :-([/color]

        Considering that the JavaScript will be running client-side, do you
        realise that the script won't be able to determine how many files ar
        available, and what the names of those files are?

        --
        Hywel I do not eat quiche


        Comment

        • robin

          #5
          Re: a helping hand please

          Hi,

          I did not realy realize that, it is my firttime trying anything real in js.
          I realy thought is was posible to get a list out of my isp his ftp server
          and
          display the pics.
          So i gus i have to run my own server then or cancel the page i was creating
          ......
          One option is even worse as the other :-)
          But thanks anyway

          Reg.
          Robin,

          "Hywel" <hyweljenkins@h otmail.com> schreef in bericht
          news:MPG.1b3d84 415cc154aa9897b 6@news.individu al.net...[color=blue]
          > In article <cavjfa$qe0$1@n ews4.tilbu1.nb. home.nl>, robin says...[color=green]
          > > "Nick Howes" <n.j.howes@warw ick.ac.uk> schreef in bericht
          > > news:cavfeb$khe $1@wisteria.csv .warwick.ac.uk. ..[color=darkred]
          > > > "robin" <dikkie65-verwijder-@home.nl> wrote in message
          > > > news:cavcii$dd2 $1@news5.tilbu1 .nb.home.nl...
          > > > > Hey all,
          > > > >
          > > > > Please give a hand writing a javascript.
          > > > >
          > > > > I need a js that does the folowing.
          > > > > I have a random list of pictures, name changes reguarly
          > > > > the only stable factor is that it is an .jpg file.
          > > > > Name and number of pictures changes reguarly.
          > > > > The only thing is there are max. 30 pictures.
          > > > >
          > > > > Now i want my script to do the folowing;
          > > > > Display all current images that have the .jpg extension.
          > > > > There is no need to sort them in any order.
          > > > >
          > > > > I would be very pleased if someone can help me.
          > > > >
          > > >
          > > > You would be much better off doing this server-side, eg with JSP, PHP,[/color][/color][/color]
          or[color=blue][color=green][color=darkred]
          > > > ASP or similar. This way it will work in all browsers because the[/color][/color][/color]
          server[color=blue][color=green][color=darkred]
          > > > will make the required HTML dynamically and transparently to the user.
          > > > Otherwise, people without javascript would get no pictures at all.[/color][/color]
          >[color=green]
          > > Hi,
          > >
          > > Thanks for answer but part of the problem is my isp does not allow
          > > anything.
          > > So the only solution is using a javascript..... ...... :-([/color]
          >
          > Considering that the JavaScript will be running client-side, do you
          > realise that the script won't be able to determine how many files ar
          > available, and what the names of those files are?
          >
          > --
          > Hywel I do not eat quiche
          > http://kibo.org.uk/
          > http://kibo.org.uk/mfaq.php[/color]


          Comment

          Working...