PHP Developers Network
http://forums.devnetwork.net/

Can you control an iframe that's hidden in a <div>?
http://forums.devnetwork.net/viewtopic.php?f=68&t=141666
Page 1 of 1

Author:  simonmlewis [ Tue Aug 18, 2015 4:58 am ]
Post subject:  Can you control an iframe that's hidden in a <div>?

Syntax: [ Download ] [ Hide ]
<div id=ROMAN_RDD_EMAILME></div>


This is a DIV that generates a popup when someone clicks on this:

Syntax: [ Download ] [ Hide ]
<script language="JavaScript">document.write(roc_rdd_emailme_$row->romancode);</script>

But the styling of the content ( a form and basic text ) is not right for the web site.
We cannot adjust it as it's remote, and because one site's look may differ from another.

Is there some way that you can control the input style and font style, from outside?
ie. you can do this for an input box inside a div:

Syntax: [ Download ] [ Hide ]
.mydiv input { font-size: 12px; }

Author:  Celauran [ Tue Aug 18, 2015 5:37 am ]
Post subject:  Re: Can you control an iframe that's hidden in a <div>?

No

Author:  simonmlewis [ Tue Aug 18, 2015 5:53 am ]
Post subject:  Re: Can you control an iframe that's hidden in a <div>?

Ta.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/