• Resolved alessandr0

    (@alessandr0)


    Hi,

    I built a new page with one iframe that contanis a back-end page. i want to show the page in front-end but I want hide one div inside them (admin menu side bar).

    So my problem is to hide one div inside an iframe. I tried a long time but I did not succeed.

    I tried that way:

    Metabox:

    <iframe id=”myframe” style=”position: relative; left: -50px; top: -50px;” src=”http://10.0.0.***/***/wp/wp-admin/edit.php?post_type=event&page=calendar&#8221; width=”1400px” height=”1200px” frameborder=”0″></iframe>

    Script n Style:

    jQuery(document).ready(function($){
    $(document).getElementById(“#adminmenuwrap”).style.visibility = “hidden”
    });

    Thanks in advance
    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Hide div inside iframe’ is closed to new replies.