SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    May 2005
    Location
    London
    Posts
    96
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Changing frame contents on rollover

    Hi

    Could any kind soul tell me how to change this:

    <li><a href="<% =image %>" title="<% =title %>" target="mainFrame"><img src="<% =tn %>" border="0"/>&nbsp;</a></li>

    ...from a standard link into a rollover? I've got a batch of thumbnails (tn) in the left frame which load larger images (image) into the right-hand frame on click. I'm not sure of the syntax to do this. Would I, for example, have to use a Javascript or vbScript function, like this:

    <li><a href=# onmouseover imgFrame("<% =image %>","<% =title %>"><img src="<% =tn %>" border="0"/>&nbsp;</a></li>

    function {
    [Javascript to open image in right-hand frame]
    }

    ...or can I do it with HTML in the <a href>?

    Any pointers gratefully received.

    Thanks for your time.
    Soft and Sound

  2. #2
    SitePoint Guru
    Join Date
    Jun 2007
    Posts
    675
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    rollovers are a clientside coding issue. ASP is serverside coding.

    please move to appropriate forum


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
  •