/    Sign up×
Community /Pin to ProfileBookmark

accessing another page’s javascript

On my page i have an iframe

i’d like to access a function that’s on the main page from within the iframe

if this cannot be done i can remove the contents from the file the iframe accesses and paste them into the main page and it won’t change anything with my layout but its less messy the way i have it now

well…it might actually be better with the iframe’s contents in the table cell on the main page…that’s for another post though ??

~John

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@SearedIceauthorJun 15.2003 — very cool, thanks

~John

(it works...lol)
Copy linkTweet thisAlerts:
@SearedIceauthorJun 15.2003 — incase you were wondering, i'm scripting a drop-down (more like a drop-over) menu for my website and the list of links is in an iframe...i quickly learned that i could not have my <div> based menu in the iframe because it would be positioned in the iframe but i need it to overlap everything, including other iframes not just make it so i can scroll over the links iframe which shouldn't really have a scrollbar anyway

~John

my site is www14.brinkster.com/drakej but don't be surprised if the link drop-over menus aren't working for a couple days...i'm going to be busy for the next couple days with visiting relatives and my school district has to make up a day because of snow so i have to go to school on monday! what a "bummer"!
×

Success!

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