SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Dec 2001
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    want to swith images onClick in navbar in NS4


    I want to swith images onClick in navbar.
    x = eval('document.'+imgName);
    x.src='images/'+imgName+'_1.gif';

    It doesn't work in NS when I do it from another frame,
    more over: src has new value but image remains the same.
    And it works in the same frame.

    But when I open another window which covers modified image(s), they disappear.
    Any ideas???

  2. #2
    SitePoint Guru Vincent Puglia's Avatar
    Join Date
    Feb 2000
    Location
    where the World once stood
    Posts
    700
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi apant90,

    Are you including the DOM (window.top.framename...)?
    Can't tell what's really going on without some code -- or better yet the URL.

    Vinny
    Where the World Once Stood
    the blades of grass
    cut me still


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
  •