Bobo--just_East_of_Madison
asked on
Expand or collapse an iframe
I have a line of code to support an iframe:
<iframe src="https://xxxxxx.xxx.xxxxxx.xxx/xxxxxx/" width="100%" height="50%"></iframe>
Very simple, nothing fancy.
What I need is js (or jquery) to allow the user to expand or collapse it, since what loads in the frame is kind of heavy and not needed outright.
I've seen examples but they seem overly complicated, especially considering my needs.
<iframe src="https://xxxxxx.xxx.xxxxxx.xxx/xxxxxx/" width="100%" height="50%"></iframe>
Very simple, nothing fancy.
What I need is js (or jquery) to allow the user to expand or collapse it, since what loads in the frame is kind of heavy and not needed outright.
I've seen examples but they seem overly complicated, especially considering my needs.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If not lots of luck cross domain scripting just triggers security measures that prevent it.
Cd&