/    Sign up×
Community /Pin to ProfileBookmark

Open two frames with one click?

I’ve recently found this forum and it looks great. I will start here by asking a question.

I want to open two frames by clicking on one link. I don’t want to click on a button, I want it to look like a link and the mouse cursor should be a normal pointer so using a form, is not really working. How to do it with a button I know but not id it should look like a link???

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@JonaSep 11.2004 — [font=trebuchet ms]Use the [/font][font=courier new]onclick[/font][font=trebuchet ms] event handler in an anchor.[/font]
Copy linkTweet thisAlerts:
@CharlesSep 11.2004 — [i]Originally posted by Jona [/i]

[B][font=trebuchet ms]Use the [/font][font=courier new]onclick[/font][font=trebuchet ms] event handler in an anchor.[/font] [/B][/QUOTE]
Bad, very bad. You'll just end up with a JavaScript dependent site. You need to create a separate FRAMESET for each state and then just link to those pages. If you have a lot of states then you'll want to generate the FRAMESETS on the fly server side. And once you're done folks will be able to link to your pages.
Copy linkTweet thisAlerts:
@JonaSep 11.2004 — [font=trebuchet ms]Thanks, Charles. ? [/font]
Copy linkTweet thisAlerts:
@EszaraxeauthorSep 12.2004 — [i]Originally posted by Charles [/i]

[B]Bad, very bad. You'll just end up with a JavaScript dependent site. You need to create a separate FRAMESET for each state and then just link to those pages. If you have a lot of states then you'll want to generate the FRAMESETS on the fly server side. And once you're done folks will be able to link to your pages. [/B][/QUOTE]


Thanks, never thought of that. A very simple solution, which is often the best.
×

Success!

Help @Eszaraxe 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.5,
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,
)...