Support » Plugin: iframe » Modify stylesheet inside iframe

  • hi,
    Ive been using simple dom to modify content of my page.

    using this fonction on

    // call page //
    $html = file_get_html('');
    // modify content using simple dom//
    //here i modify the 2nd position content of a list that is modified to the value Author //
    $e = $html->find('option', 0) ->next_sibling ()->next_sibling ();
    $e->innertext = 'Author';
    // and getting the page //
    echo $html; 

    This echo the modified in The advantage is that stylesheets are modifiying stylesheets in the echo function.

    This is powerful enough but the links contained in bring me outside my function page.
    Is it possible to implement file_get_html, find, echo function to iframe plugin?

    Thank you for your help, and you’d be considered as a god if you help me doing this!

  • The topic ‘Modify stylesheet inside iframe’ is closed to new replies.