/    Sign up×
Community /Pin to ProfileBookmark

updating (2) iframes

Hi, I’ve used the anchor tag to create a reference to update an iframe, but I was wondering if there’s an HTML that can be used in the same tag to update another frame at the same time?

okham

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@CharlesOct 26.2003 — [font=georgia]It's quite simple, really. You just upload a different version of the frame set with different values for the "src" attributes and then link to this new document.[/font]
Copy linkTweet thisAlerts:
@okhamauthorOct 28.2003 — I think I understand what you're saying, Charles... but that would mean I'd have to create an extra source file, which I'd like to avoid. I'm wondering if I can define (2) targets in some fashion within the same link, just as one is defined in this example:

<a href="change.htm" target="frame1">Change Frame</a>

okham
Copy linkTweet thisAlerts:
@CharlesOct 28.2003 — [i]Originally posted by okham [/i]

[B] I'm wondering if I can define (2) targets in some fashion within the same link[/B][/QUOTE]
[font=georgia]No, you can't. You can use JavaScript but then you've made a page that doesn't work for the 13% of users who do not use JavaScript. If you have a large number of links then simply use a server side script to generate the frame sets on the fly.[/font]
×

Success!

Help @okham 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 4.29,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...