I
I
Igor Fedorov2015-11-14 12:10:44
JavaScript
Igor Fedorov, 2015-11-14 12:10:44

How is the portfolio made?

http://sites38.rf/#brn-portfolio - on this site, when you click on a job, a view appears. How is it done?

The fact that this is an IFrame is clear, how does the change of permissions happen?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir, 2015-11-14
@igor-fedorov

So there is no change in permissions, the height and width of the iframe are simply set there, if you go to any site and reduce the screen, you will have the same thing, and there according to this principle.
Example from your site:
There is a selector #iframelive.iphone-portrait iframe and it has style - height: 495px !important;
I hope everything is clear

D
Dima Pautov, 2015-11-14
@bootd

The iframe block is given a width using js. What is not clear then? Go to the console and see if it's hard?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question