Hi all,
I wonder if someone could help me.
I am trying to put a background and an image on the radvert.html but it looks like i am missing something as it looks like the path is wrong.
I have uploaded the images in the img folder.
While on the PC when opening the html looks fine, when it comes at the mikrotik it doesn't show any image or background.
below is the html.
Thank you in advance
<html>
<head>
<meta http-equiv="refresh" content="2; url=$(link-orig)">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
<title>mikrotik hotspot > Wellcome to @Freewifi</title>
<style type="text/css">
body {
background-image: url("img/CaptureBackG.JPG");
}
>
<!--
textarea,input,select {
background-color: #FDFBFB;
border: 1px #BBBBBB solid;
padding: 2px;
margin: 1px;
font-size: 14px;
color: #808080;
}
body{ color: #737373; font-size: 12px; font-family: verdana; }
a, a:link, a:visited, a:active { color: #AAAAAA; text-decoration: none; font-size: 12px; }
a:hover { border-bottom: 1px dotted #c1c1c1; color: #AAAAAA; }
img {border: none;}
td { font-size: 12px; color: #7A7A7A; }
-->
</style>
<script language="JavaScript">
<!--
var popup = '';
function openOrig() {
if (window.focus) popup.focus();
location.href = unescape('$(link-orig-esc)');
}
function openAd() {
location.href = unescape('$(link-redirect-esc)');
}
function openAdvert() {
if (window.name != 'hotspot_advert') {
popup = open('$(link-redirect)', 'hotspot_advert', '');
setTimeout("openOrig()", 1000);
return;
}
setTimeout("openAd()", 1000);
}
//-->
</script>
</head>
<body onLoad="openAdvert()">
<p style="text-align: center"><img align="center" border="0" hspace="0" src="img/Capture.jpeg" style="height: 321px; width: 505px" /></p>
<table height="100%" width="100%">
<tbody>
<tr>
<td align="center" valign="middle"><span style="font-size: 48px">Wellcome to @Freewifi.<br />
<br />
Wellcome </span><span style="font-size: 48px"><span><a href="$(link-redirect)" style="font-size: 48px" target="hotspot_advert">Click here to connect CONNECT</a></span></span><span style="font-size: 48px"> manually.</span></td>
</tr>
</tbody>
</table>
</body>
</html>