|
-
Feb 21st, 2002, 03:50 AM
#1
Thread Starter
Fanatic Member
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
-
Feb 21st, 2002, 09:55 PM
#2
Addicted Member
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
-
Feb 22nd, 2002, 03:05 AM
#3
Thread Starter
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|