Hallo,
Ich habe ein Problem mit dem oben genannten Template. Ich möchte den Reg.-Button an der Seite einfügen (hab den Button jetzt drin) und bekomme bei einem Klick auf diesen immer eine leere Box angezeigt. (Genau so groß wie bei Login) Allerdings möchte ich nun in dieser Box das Modul "Core Design Login module" einfügen. Wo liegt mein Fehler?
index.php:
PHP-Code:
<div id="loginform">
<div id="loginbt">
<div class="text-login"> <a href="#helpdiv" class="modal" style="cursor:pointer" title="Login" rel="{size: {x: 42, y: 147}, ajaxOptions: {method: "get"}}">
Login</a>
</div>
</div>
<div style="display:none;">
<div id="helpdiv" >
<jdoc:include type="modules" name="login" style="xhtml" />
</div>
</div>
</div> <!-- end loginform -->
<div id="regform">
<div id="regbt">
<div class="text-reg"> <a href="#helpdivreg" class="modal" style="cursor:pointer" title="reg" rel="{size: {x: 42, y: 147}, ajaxOptions: {method: "get"}}">
</a>
</div>
</div>
<div style="display:none;">
<div id="helpdivreg" >
<jdoc:include type="modules" name="reg" />
</div>
</div>
</div> <!-- end regform style="xhtml" -->
tdefaut.css:
Code:
#loginform{
position:absolute;
top:250px;
left:-5px;
background: url(../images/login.png) 0 0 no-repeat;
position:fixed;
width:42px;
height:147px;
}
#regform {
background: url("../images/register.png") no-repeat scroll 0 0 transparent;
height: 147px;
left: -5px;
position: fixed;
top: 410px;
width: 42px;
}
box.css:
Code:
#helpdiv{
margin-left: 10px;
margin-right: 10px;
}
#loginbt{
text-indent:-5000px;
float:left;
width: 42px;
height: 147px;
display:block;
}
.text-login {
float:left;
width: 42px;
height: 147px;
display:block;
}
.text-login a{
float:left;
width: 42px;
height: 147px;
display:block;
background: url(../images/login.png) 0 0 no-repeat;
}
.text-login a:hover{
background: url(../images/login-hover.png) 0 0 no-repeat;
}
#helpdiv .moduletable h3 {
text-transform:uppercase;
font-weight:bold;
text-align:left;
font-size:20px;
}
#helpdiv a {
color:#000;
}
#helpdiv .button {
background:#fff;
color:#000;
}
#helpdiv .moduletable fieldset {
border:none;
}
#helpdiv{
margin-left: 10px;
margin-right: 10px;
}
#regbt{
text-indent:-5000px;
float:left;
width: 42px;
height: 147px;
display:block;
}
.text-reg {
float:left;
width: 42px;
height: 147px;
display:block;
}
.text-reg a{
float:left;
width: 42px;
height: 147px;
display:block;
background: url(../images/register.png) 0 0 no-repeat;
}
.text-reg a:hover{
background: url(../images/register-hover.png) 0 0 no-repeat;
#helpdivreg .moduletable h3 {
text-transform:uppercase;
font-weight:bold;
text-align:left;
font-size:20px;
}
#helpdivreg a {
color:#000;
}
#helpdivreg .button {
background:#fff;
color:#000;
}
#helpdivreg .moduletable fieldset {
border:none;
}
Viele Grüße und besten Dank im vorraus
monumentum
Lesezeichen