/    Sign up×
Community /Pin to ProfileBookmark

Create an iframe

hello,

I want to launch an external webpage on my website without clicking (only by browsing text). I think i can use an iframe and i saw something on W3Cschools.com about “onmouseover”

[URL=”http://www.w3schools.com/jsref/event_onmouseover.asp”]Link[/URL]

but i don’t know if i can use it with an iframe. I have difficulties to find some relevant informations.

Thanks for any help ?

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@theCoenAug 17.2012 — I'd recommend not using an iFrame at all. You could use a DIV:

[code=html]<div onmouseover="javascript:window.open('http://www.google.com/');">Hover over this text</div>[/code]
Copy linkTweet thisAlerts:
@hares7293authorAug 18.2012 — I managed to do what i wanted with help of a jquery plugin qtip.

Thanks for your help
×

Success!

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