If I simply subdued the VKontakte widget, then it’s not possible to manipulate elements with css or with js. Maybe you can somehow upload somehow to your hosting, and then get the necessary elements out? Give a hint how this can be done.
- @Radik Kamalov, If you are given an exhaustive answer, mark it as correct (click on the check mark next to the selected answer). - Vfvtnjd
|
4 answers
It's much easier to do all this with the help of the .contents()
method in jquery
, just .contents()
that this is all done within the same site (domain, server).
For example, to get the contents of the #block_in_frame
block in the #block_in_frame
frame:
$('#my_iframe').contents().find('#block_in_frame').html()
|
fopenʻom open the link, cycle find what we need, pick up the output.
- Although this is unlikely to succeed in this situation, the task is not clear to me ... - avengerweb 2:26 pm
|
The parent frame cannot manage the child. Security policy. After all, you can frame anything.
- 2Within the framework of one site it is possible, in others there will be an error related to the security policy of browsers. - Crasher
|
Copy the frame code to a new file, upload it to the hosting and include it where necessary. Try it, it might work!
- It is necessary to load friends (people) for each person. - Radik Kamalov
- @ Radik Kamalov, which widget? - RollOver
- We are VKontakte - Radik Kamalov
|