easy problem 4U

Discussion in 'HTML' started by steve32880, Jun 29, 2003.

  1. steve32880

    steve32880 Guest

    I'm building a website.

    I have 25 *.gif files, all of the same exact dimensions, and all of which i
    would like to display on the same exact background in the same exact spot,
    but i don't want to make 25 web pages. I want to make one page that has 25
    links (the titles of each *.gif file), each of which, when clicked, will
    display the appropriate *.gif in the spot in the middle of the page, so the
    viewer can view each *.gif one at a time.

    Can I do this in html?
    steve32880, Jun 29, 2003
    #1
    1. Advertising

  2. steve32880

    brucie Guest

    brucie, Jun 29, 2003
    #2
    1. Advertising

  3. steve32880

    brucie Guest

    In post <>
    Lorne Cameron said...


    > <SCRIPT LANGUAGE="javascript"

    ^^^^^^^^^
    delete it 'language' is deprecated in favor of 'type'

    > TYPE="text/javascript">

    ^^^^
    which you have here anyway

    > <!--
    > var imageURL = location.search.substring(1);
    > document.write("<IMG SRC='" + imageURL + "' ALT='ALT_TEXT_HERE'>");
    > -->
    > </SCRIPT>


    > <A HREF="openImage.html?IMAGE_URL">IMAGE_NAME/thumbnail/etc</A>


    what happens without JS?


    --
    brucie a. blackford. 30/June/2003 06:36:33 am kilo.
    http://loser.brucies.com/
    brucie, Jun 29, 2003
    #3
  4. "brucie" <> wrote in message
    news:bdnimk$upmod$...
    <snip>
    >><A HREF="openImage.html?IMAGE_URL">IMAGE_NAME/thumbnail/etc</A>

    >
    >what happens without JS?


    The traditional completely blank page of course.

    It might be possible to arrange that JavaScript was used to introduce
    the JavaScript dependant openImage.html page into the equation in a way
    that might still leave the user looking at the image if JS was not
    available.

    <a href="theImage.jpg"
    onclick="this.href = 'openImage.html?img='+escape(this.href);">
    IMAGE_NAME/thumbnail/etc</A>

    Though a server-side script could produce reliable and consistent
    results for everyone, for an equivalent authoring effort.

    Richard.
    Richard Cornford, Jun 29, 2003
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hazzard
    Replies:
    2
    Views:
    623
    Hazzard
    Apr 6, 2004
  2. Kai Henry

    Codebehind Problem -> Easy solution...

    Kai Henry, Apr 12, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    286
    Kai Henry
    Apr 12, 2004
  3. Luis Esteban Valencia

    Very Easy Dropdownlist Problem

    Luis Esteban Valencia, Jan 6, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    385
    Patrice
    Jan 6, 2005
  4. Arsalan

    Easy multi form problem

    Arsalan, Feb 22, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    351
    Arsalan
    Feb 22, 2006
  5. Bruno Desthuilliers
    Replies:
    5
    Views:
    371
    Bruno Desthuilliers
    Aug 29, 2007
Loading...

Share This Page