Javascript ImageList & iframes prob....I think?

Discussion in 'HTML' started by Steve R., Feb 13, 2004.

  1. Steve R.

    Steve R. Guest

    digdug wrote in message ...
    I'm not entirely sure whether this is your answer but you don't have
    "quotes" around the names as in

    <IFRAME name="content" src="menu.html" width="168" height="400"
    frameborder="0"
    but you do have quotes around all the other markup.

    You just have ...

    <IFRAME name=content src=menu.html width=168 height=400 frameborder=0
    scrolling=auto>
     
    Steve R., Feb 13, 2004
    #1
    1. Advertisements

  2. digdug

    from adp?
     
    Weyoun the Dancing Borg, Feb 13, 2004
    #2
    1. Advertisements

  3. Steve R.

    digdug Guest

    Hi there

    need some help with a prob and will do my best to make it clear....

    My "hmpage.html" has an "iframe" that calls up diffrent pages using th
    nav buttons on the "hmpage.html"

    one of those pages It calls up is "gallery.html" & on this page:

    I have a table split in 2

    1) cell 1 is an iframe
    2) cell 2 has a placeholder

    in cell2, the iframe calls up "image_list.html"

    When you click on the image link, a image shows in "place holder".

    My prob is.....it only works in NE/Safari/MoZ/etc.....But NOT i
    IE5!!!!....nuts:(

    In IE5 when u click on a link in the image list (cell 1, iframe)
    image1.jpg shows up in the iframe instead of the place holder.

    messed up, I think it's how Im targeting the links, not sure.....min
    boggled, need to wk in IE

    I know basic concept of "iframes" and I followed a javascipt tutoria
    on "image lists", tried to tie the 2 together, but just not quit
    there. This is the javascript in the head of:

    \"GALLERY.HTML\


    <script type="text/javascript" language="javascript">
    function showPic (whichpic) {
    if (document.getElementById) {
    document.getElementById('placeholder').src = whichpic.href;
    if (whichpic.title) {
    document.getElementById('desc').childNodes[0].nodeValue
    whichpic.title;
    } else {
    document.getElementById('desc').childNodes[0].nodeValue
    whichpic.childNodes[0].nodeValue;
    }
    return false;
    } else {
    return true;
    }
    }
    </script>
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_reloadPage(init) { //reloads the window if Nav4 resized
    if (init==true) with (navigator) {i
    ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight
    onresize=MM_reloadPage; }}
    else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH
    location.reload();
    }
    MM_reloadPage(true);
    //-->
    </script>

    THIS IS THE IFRAME CODE IN 'GALLERY.HTM

    <IFRAME name=content src=menu.html width=168 height=400 frameborder=
    scrolling=auto>
    </IFRAME></td>


    THIS IS THE LINK CODE IN \"MENU.HTML\


    <a href="image1.jpg" title="family photo" target="content
    onclick="return showPic(this)"><img src="/images/images1.jpg
    width="75" height="57" border="0"></a>


    thanks:

    digdu
     
    digdug, Feb 13, 2004
    #3
  4. Steve R.

    digdug Guest

    digdu
     
    digdug, Feb 13, 2004
    #4
  5. Steve R.

    digdug Guest

    not sure what you mean?.....

    from adp? [/B

    digdu
     
    digdug, Feb 13, 2004
    #5
  6. Steve R.

    digdug Guest

    forgot to add this in the first post

    *gallery.html*



    Code
     
    digdug, Feb 13, 2004
    #6
  7. Steve R.

    Mark Parnell Guest

    Do you realize that you are not posting to a website forum when you use
    this site? They are passing your posts on to the usenet newsgroup
    alt.html

    alt.html is a publicly available newsgroup. The website you are using is
    stealing its content directly from there and pretending that it is their
    own. There is no original material at all on the website you are looking
    at now. It is all coming directly from usenet.

    This web site ruins the threading of the messages - making it very
    confusing for us to follow, as your posts are not in the right place in
    the thread. Also, because you can see all the previous posts on the
    screen, you don't quote the text you are replying to - breaking one of
    the foremost conventions on Usenet.

    If you are posting from this 'forum' and have included any CSS then be
    aware that the software the forum uses will strip any leading dots from
    your CSS rules, making them invalid.

    If you are reading a usenet post using this 'forum' then be aware that
    any javascript examples you may see will have the indented formatting
    removed and will be quite hard to read, and not what the author of those
    examples intended.

    I suggest you obtain a newsreader and visit us at
    If you have no access to a newsreader, then try groups.google.com where
    they allow you to sign up, post, receive replies, but they don't lie and
    claim the content as there own.

    People will listen to you if you do. We are all starting to ignore any
    post from http://www.forum4designers.com
     
    Mark Parnell, Feb 16, 2004
    #7
  8. Steve R.

    Whitecrest Guest

    Who gives a shit. Some people use a reader, some people use google,
    some people use forum4designers.

    Stop being a dildo, who cares how someone posts here.
     
    Whitecrest, Feb 17, 2004
    #8
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.