/    Sign up×
Community /Pin to ProfileBookmark

Big Javascript challenge

Gentlemen,

I need help rather urgently. I have a page that contains popups, the popups are iframes set in the middle of the page and 100px from the top. There is no knowing the content and therefore the height of the popup.

What I would like to do is place an arrow that is on the main page (not the popup iframe) to go ontop of the iframe and point at something. The reason why this is such a challenge is because I need the arrow to point at a specific button that may move around as new popups are opened. This is why I mentioned that I do not know the height of the popup.

If this is not possible, is it possible if I do have the height of each popup?

I also need it to be as browser compatible as possible.

Thanks in advance,

Ben

[upl-file uuid=e2168701-a5db-499a-aeb6-8508e0f9226f size=60kB]arrow.jpg[/upl-file]

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@WolfShadeNov 03.2010 — Would it be possible to hard-code the height/width of the pop-up and set the overflow to auto or scroll? At least that way you would know the height of the pop-up.

^_^
Copy linkTweet thisAlerts:
@Benji6996authorNov 03.2010 — I have now done that. I completed the script successfully after four hours of work on it and then managed to delete it. Very pissed off!!

Will have to do it again.

Thanks for the reply
×

Success!

Help @Benji6996 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 6.17,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

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