Oso Polar Posted April 13, 2006 Share Posted April 13, 2006 I'm trying to make a link that makes text appear in another frame, over the background that that frame already has. I guess it should be quite simple, but I can't find how to do it. This is what I tried:<html><head><base target="main"></head><body background="menubar.gif"><a href="photoshop.gif"><img border="0" src="pictures.gif"></a></body></html>This doesn't work since the background of the "main"frame gets replaced. Link to comment Share on other sites More sharing options...
scott100 Posted April 13, 2006 Share Posted April 13, 2006 This page should explain how using java script: http://www.diplok.com/1ppl/html/article011.htmlSee the demo on the left hand side. Link to comment Share on other sites More sharing options...
Oso Polar Posted April 13, 2006 Author Share Posted April 13, 2006 I'm not sure whether that's what I'm looking for, I'll try to explain it better...I have made pictures for links to different parts of my site. For example:I have made one saying "poetry" and put it in the left frame. When I click on it, I want to see my poems in the right frame, on top of the background. Link to comment Share on other sites More sharing options...
scott100 Posted April 13, 2006 Share Posted April 13, 2006 Like this: http://scott100.atspace.com/a.htm Link to comment Share on other sites More sharing options...
Oso Polar Posted April 13, 2006 Author Share Posted April 13, 2006 exactly and if the poems would be too long I'd have to scroll, and it would be cool if the background wouldn't move along... Link to comment Share on other sites More sharing options...
scott100 Posted April 13, 2006 Share Posted April 13, 2006 ok try it now: http://scott100.atspace.com/a.htm Link to comment Share on other sites More sharing options...
Oso Polar Posted April 13, 2006 Author Share Posted April 13, 2006 so how do you do that? when I view the source it only shows the main file, not how the link works Link to comment Share on other sites More sharing options...
scott100 Posted April 13, 2006 Share Posted April 13, 2006 If you right click on the frame itself and view source it gives you the code for that frame. Link to comment Share on other sites More sharing options...
Oso Polar Posted April 13, 2006 Author Share Posted April 13, 2006 thanks I think I'll be able to do it now Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now