Results 1 to 2 of 2

Thread: Can your script be adapted to an array John

  1. #1
    Join Date
    Jan 2011
    Location
    Southeastern CT
    Posts
    612
    Thanks
    46
    Thanked 32 Times in 32 Posts

    Default Can your script be adapted to an array John

    John,can this code be adapted and used with an arry of images(say4-20)

    </head>
    <body>
    <script type="text/javascript">
    var headSrc="http://www."
    var pathName="megeddo.nightsplutonianshore.com/";
    var alienDoc="aliendoc01.gif";
    document.write('<img src="' + headSrc + pathName + alienDoc + '" width="344" height="222" alt="ace" title="" />');
    </script>

    </body>

    as posted in this forum:
    http://www.dynamicdrive.com/forums/s...sn-t-this-work
    Thanks,

    Bud

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Why not?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. Resolved Question about script by John
    By ajfmrf in forum Other
    Replies: 1
    Last Post: 08-29-2012, 06:52 AM
  2. another question John
    By ajfmrf in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 08-20-2011, 10:00 PM
  3. Resolved Thanks John.
    By robin9000 in forum JavaScript
    Replies: 25
    Last Post: 02-10-2009, 10:50 PM
  4. Apology - John Scheuer
    By Jonno in forum JavaScript
    Replies: 0
    Last Post: 08-10-2006, 01:47 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •