Convert all relative links within string to absolute
composer install
vendor/phpunit/phpunit/phpunit tests
- Url to get the document of as a string and convert all of its resources from relative to absolute.
- Default:
<iframe id="ifr" src="../proxy.php?url=http://www.example.com" width="100%" height="100%"></iframe>
- Controls the vertical positioning of the marker relative to the marker location. The change only affects markers subsequently inserted
- Valid Values: {url string}
- Default: "" - fetches the Document Root
<iframe id="ifr" src="../proxy.php?url=http://www.example.com&rooturl=http://www.example.com/" width="100%" height="100%"></iframe>
- When a link starts with slash, on a Linux system this typically means go to root while Windows is the current directory. Convert relative link to the appropriate absolute link.
- Valid Values: true, false
- Default: true
<iframe id="ifr" src="../proxy.php?url=http://www.morrisville.edu/academics/&slashisroot=true" width="100%" height="100%"></iframe>
- Output as JSON for $.getJSON() or as html for an iframe .
- Valid Values: json, iframe
- Default: json
<iframe id="ifr" src="../proxy.php?url=http://www.morrisville.edu/academics/&format=html" width="100%" height="100%"></iframe>
<script>
$(document).ready(function(){
$('.alert').alert();
$('#ifr').load(function(){
$('#ifr').contents().find('#content .rightcontent').html("<h1>Example preview changes.</h1>");
});
});
</script>