-
I'm not sure if this is possible...
I'm not sure if this is possible, or even if I'm posting this in the right forum. Now, this is hard to explain, so bare with me here.
I have a page with frames, and the top frame has an advertisement in it. I'm trying to get a banner I made to load into that frame when the page loads to replace the banner advertisement. I think I need to use the "OnLoad" command, but I'm not very good with Java, and I was wondering if any of you know if a code exists that'll load a page into the top frame of a page using the OnLoad java command. Jeez, I hope that made sense to someone, lol. Please help if you can!
PS - here is a test page I've set up with wat I want to happen. I know that in the pageframe, it says "File Not Found", so don't worry.
http://jn.8m.net/test.html
I hope someone understands!
-
actually this is pure html...
Every frame consists of an .html page, you can place the banner you want to load in the page that loads in the topbanner...
Example :
the topframe page = toppage.html
=> insert banner into toppage.html
If you want to use a link that opens a page in a different frame :
Code:
___________________
| topframe |
|___________________|
|l | |
|e | |
|f | main |
|t | |
|__|________________|
Set up your index.html page as displayed above.
you can do this very easily using frontpage, dreamweaver.
Be sure to name the different frames!
Now when you've done all that you can set up the links in one of your frame. Let's say you want to display your information in the 'main'-frame when somebody clicks a link 'My Information' in the 'left'-frame.
- Place a link in the left frame page (Ex. 'LeftFrame.html')
- => <a href="http://yourdomain.com/MainFrame.html" target="main">My Information</a>
- upload yr stuff and try it out...
hope this helps
greetz, ava
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
|