/    Sign up×
Community /Pin to ProfileBookmark

How to run a .js from a parent in a chils frame

hi all –

I need some help please. I have an index,html that basically does a 100% frameset of a child page. Consider the parent to be in parent.com and the child in child.com of which I own both domains. Reason I do this is a use 1 WordPress installation for landing pages of different domains.

My auto responder provider is getresponse and they have a .js script to add to a page for the optnin popup to be invoked. I want to be able to add the getresponse javascript in the [U]parent and have the popup load in the child[/U]. Right now it is not working.

PARENT (this is how it looks right now):
<html>
<head>
</head>
<frameset rows=”100%,0″ border=”0″>
<frame src=”http://child.com” frameborder=”0″>
<frame frameborder=”0″>
</frameset>
<script type=”text/javascript” src=”https://app.getresponse.com/view_webform_v2.js?u=xxxxxi&webforms_id=zzzzzzzzz”></script>
</html>

I am not a developer, so give me detailed responses when you reply please πŸ™‚ If there is a better way to do this, I am open to it.

to post a comment
JavaScript

5 Comments(s) ↴

Copy linkTweet thisAlerts:
@rootJul 16.2017 β€”Β framesets have not been supported since HTML5 was fully released.
Copy linkTweet thisAlerts:
@jluyt123authorJul 16.2017 β€”Β framesets have not been supported since HTML5 was fully released.[/QUOTE]

I am open to a better way of doing it.
Copy linkTweet thisAlerts:
@rootJul 17.2017 β€”Β DIV elements can be used as containers that are positioned, sized and other size references, you also control colours of lines, texts and even background images or transparencies via CSS control.

framesets are depreciated, so the alternative is one HTML page with DIV elements set up to do the same as a frameset would do only without the scripting problems.
Copy linkTweet thisAlerts:
@jluyt123authorJul 17.2017 β€”Β I am open to a better way of doing it.[/QUOTE]

1) Can you give me an example of how to use DIV elements for a 100% framing?

2) How do I load the popup in the new div element, just from the parent?
Copy linkTweet thisAlerts:
@rootJul 17.2017 β€”Β Plenty of pre-existing example exist here and on the internet that shows you how to use a DIV element and CSS.
Γ—

Success!

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