Results 1 to 3 of 3

Thread: I think that i've asked this but....

  1. #1

    Thread Starter
    Fanatic Member chrismitchell's Avatar
    Join Date
    Jan 2001
    Location
    With Hobbes in New Zealand
    Posts
    568

    I think that i've asked this but....

    I think that i've asked this question but for the life of me I can't remember...

    I need to change an image in my site after clickin on a link... Its an image saying the title of the page that sits in a layer in topframe (which is where the buttons are)...

    Goto the site and have a look.. I need the image saying home etc to change to the different names of the various pages..

    www.a3designandprint.co.uk

    Any help would be greatly appreciated.

    Chris

  2. #2
    Addicted Member
    Join Date
    Nov 2001
    Location
    Yewston, Texis
    Posts
    240
    The top image could almost be treated like a rollover where javascript just changes the image to the appropriate one whenever a link is pressed. The advantage is that all of the top images could be pre-loaded which would make the loading of new pages that much faster.

    Another approach (this one's very simple) would be to cut up your topFrame so that it's two frames--an upper (where your image is) and a lower (where your nav bar is). Whenever anyone clicks on a nav bar button, not only does the content frame get changed, but also the upper topFrame is changed too.

    cudabean

  3. #3

    Thread Starter
    Fanatic Member chrismitchell's Avatar
    Join Date
    Jan 2001
    Location
    With Hobbes in New Zealand
    Posts
    568
    How would I do it in the JavaScript? I would prefer not to use any more frames if I can get away with it (cause it may be occasionally updated by my boss who has no idea)...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width