Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Plain href around javascript href: possible?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29377
    dougitect
    Member

    This is my first post here. I’m just an amateur trying to edit my own company site. See:
    http://dougcoe.com/laddition.html

    I want to be able to click on an image (bigger one on the left) and have it open another window with a larger image. Problem is my website designer used javascript in an <a href> for a mouseover image change like this:

    <tr>
    <td class="thumb1"><a href="javascript:;" onmouseover="changepic(‘one’,’images/projects/laddition1.jpg’,’caption’,’Before – back of house’)"><img src="images/thumbs/laddition1th.jpg"></a></td>
    <td><a href="javascript:;" onmouseover="changepic(‘one’,’images/projects/laddition2.jpg’,’caption’,’After – back of house’)"><img src="images/thumbs/laddition2th.jpg"></a></td>
    </tr>

    Is it possible to do what I want, or do you have a suggestion for what I could do instead?

    Thank you for any help or clues,
    Doug

    #78156
    dougitect
    Member

    Eric,
    Thank you for the suggestion. I don’t see how to use that <a href> with the <a href> I already have, which is used to change the main image onmouseover. I don’t think it’s possible to have nested <a href> tags, is it?

    If you know what I’m trying to do is impossible, feel free to say so and I’ll stop banging my head against this wall!

    Doug

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.