Forum Moderators: open
I am trying to find a way where a page created using Joomla can call/display another page loaded via DocMan.
I can edit the code of the created page to link to the uploaded page but I can't see how to do it without having a link the user has to click on.
Ideas, please.
I can edit the code of the created page.....
I don't know anything about the DocMan extension, and very little about Joomla (no more than what I've picked up doing some website repair work), but one option would be to bring in the page with an iframe.
If presenting 'full page' you'll probably have to work out a height declaration and put it in the CSS. Allow enough extra height that if someone zooms the text that the iframe doesn't create its own vertical scrollbar.
Or just put it up as regular frame.
W3C - Frames [w3.org]
If presenting as 'part' of the page, then iframe for sure.
Quick hack, full page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title></title>
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<style type="text/css">
html, body, iframe {
margin: 0; padding: 0;
}
iframe {
width: 100%; height: 300em; marginwidth: 0; marginheight: 0; frameborder: 0; display: block;
}
</style>
</head>
<body>
<iframe src="http://www.webmasterworld.com"></iframe>
</body>
</html>