/    Sign up×
Community /Pin to ProfileBookmark

linking to and inline frame on page

Hi my site is made up from a table and in one of the cells is a i-frame. I have menu buttons running alongside of it in different cells. I want to be able to click one of the buttons and it loads content into the inline frame. I am working in Adobe GoLive, and if you can provide me with the code that when I click the button a page loads and replaces the contents in the inline frame with new contents. Thank you very much and I think you all are awesome the way you help out people like us with limited knowledge of html and javascript. Thanks for helping.

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@PineSolPirateAug 18.2006 — Give the iframe a name attribute and the link a target attribute like so:
[code=html]<a href="targetpage.htm" target="frame">Go</a>
<iframe name="frame" src=""></iframe>[/code]
Copy linkTweet thisAlerts:
@qgibbsauthorAug 18.2006 — Thank you so much. IT WORKED!!!!! After hours of trying other things, this worked so well. Thanks.
×

Success!

Help @qgibbs spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...