http://de.selfhtml.org/javascript/objekte/location.htm#protocol
MfG ChrisB
Wäre dann mein Anfängerversuch hier korrekt?
<script>
if (window.location.protocol == "http:" )
{
$(function () {
var COOKIE_NAME = 'thickbox-cookie';
$go = cookie(COOKIE_NAME);
if ($go == null) {
cookie(COOKIE_NAME, 'popup', { path: '/', expires: 6 });
tb_show('Gratis-Downloadbereich - Jetzt anmelden!','<?php echo $this->baseurl ?>/wmhtml/thickbox/download_area.html?height=360&width=550',null);
}
else {
}
});
}
else
{
}
</script>
Grüße