/    Sign up×
Community /Pin to ProfileBookmark

New Window in IE7

Hi,

I am currently trying this in [B]IE7[/B].
I am using this piece of code.

<a target=_top href=””http://www.google.com“” title=””Google””>Clickhere</a>

This opens the url in the same page itself. I want the Google page to open in a new window.

I tried with ‘blank’ and ‘new’ TARGET attributes. But it’s not working.
Can you please provide me with a solution that is supported in [B]Internet Explorer 7[/B]

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@KDLAAug 07.2009 — <i>
</i>&lt;a href="http://google.com" target="_blank" title="Google"&gt;Click&lt;/a&gt;
Copy linkTweet thisAlerts:
@kiwibritAug 09.2009 — [url=http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/081de670-62b8-4270-928a-e67390fb4571]target="_blank" and IE7[/url]. If the OP means that a new tab is acceptable, all is well. Otherwise I think I'd go for javascript, if a new window really is needed. Personally, I try to avoid requiring a new window (or tab).
×

Success!

Help @Wintel 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.20,
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,
)...