Hello,

Sorry foe reply late here. But still my hide and show effect is not
working in IE6

here is my code

<?
// this index file is with mootools login panel-slider format.
// Limitation- taking a time to get load.
ini_set('error_reporting', E_ALL);
ini_set('display_errors','Off');
set_time_limit(150);


ob_start();
include("includes/config.php");
include("includes/functions.php");



usersess();
$file = 'daily.xml';
if($_SERVER['REQUEST_METHOD'] == "POST"){
if($_POST['submit'] == "GO"){
 "this is post method";
  $username    =   $_POST['username'];
  $passwd          =   $_POST['passwd'];
  $redirectPage    =   $_POST['redirectPage'];
  if(($username != "") || ($passwd != "")){
 $err_msg = login();
  }else{
    $err_msg= "Please enter login/password.";
  }
}
}
else if($_SERVER['REQUEST_METHOD'] == "GET"){

  $blogtitle   = "";
  $feed        = "";
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en-US" lang="en-
US">
<head>
<title>BlogAdda: Indian Blog Portal - Discover Indian Blogs and Indian
Bloggers. </title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />



<style type="text/css">
body{font-family:Arial, Helvetica, sans-serif; font-size:13px;}
/* -------------------------------------------------------- */
/* BUTTON                                                                       
                                */
.button{
        background:url(img/button.png)  -32px right no-repeat;
        color:#FFFFFF;
        clear:both;
        display:block;
        float:left;
        font-size:13px;
        font-weight:bold;
        height:31px;
        line-height:31px;
        width:auto;
        margin-right:30px;
}
        a.button {
                text-decoration:none;
        }
        .button span {
                background:url(img/button.png) left top no-repeat;
                display:block;
                height:31px;
                line-height:31px;
                padding-left:10px;
                padding-right:8px;
                margin-right:20px;
        }
/* -------------------------------------------------------- */
/* MENU                                                                         
                                */
.v-menu{
        border:solid 1px #7F9FBF;
        width:200px;
        clear:both;
}
.hidden{display:none;}



        ul.v-menu, .v-menu li{
                padding:0;
                margin:0;
                list-style:none;
        }
        ul.v-menu{
                clear:both;
                margin-top:6px;
                padding:6px 10px;
        }
                .v-menu li a{
                        color:#555555;
                        font-weight:bold;
                        display:block;
                        border-top:solid 1px #DEDEDE;
                        padding:4px;
                        text-decoration:none;
                }
                .v-menu li a:hover{
                        color:#999999;
                }

</style>


<script type="text/javascript" src="<?=$retpath;?>/mootools-1.2.3.1-
more.js"></script>
<script type="text/javascript" src="<?=$retpath;?>/mootools-1.2.3-
core.js"></script>
<script type="text/javascript" src="<?=$retpath;?>/mootools.svn.js"></
script>


<!-- Mootools -->
<script type="text/javascript">
                window.addEvent('domready', function(){
                        //-vertical
var mySlide = new Fx.Slide('v-menu2').hide();
$('v-menu2').removeClass('hidden');

        $('toggle').addEvent('click', function(e){
                e = new Event(e);
                mySlide.toggle();
                e.stop();
        });
});
</script>
</head>
<?if(!$userid){?>
<body id="free">
<?}else{?>
<body>
<?}?>
<div id="wrapper">
<div id="header">


<div id="<? if(!$userid){echo "navTop";}else{echo "topNav";}?>">

<? include("templates/login2.tpl"); ?>

<ul><?if(!$userid){ ?>
<?=$navlogin;?>

<li><a href="/register" title="Register" <?=classkey("Register",
$classtitle);?> >Register</a></li>


<?}else{?>
<?=$navlogin;?>
<li><a href="/myaccount" title="My Account" <?=classkey("Myaccount",
$classtitle);?> >My Account</a></li>
<?}?>
<li><a href="/tags" title="contact" <?=classkey("contact",
$classtitle);?> >contact</a></li>
<li><a href="<?=$retpath;?>/" title="Home" <?=classkey("Home",
$classtitle);?> >Home</a></li>
</ul>
</div>

</div><!--  Header ends -->

</div></div><!-- footerwrapper ends --></div> <!-- Footer ends -->
</body>
</html>

function.php
/* this was for mootools slider  */
   $navlogin = "<li class='login'><a href='login.php'  id='toggle'
title='Login'".classkey('Login',$classtitle)."><span>Login</span> </
a></li>";


ITs working perfectly fine in mozilla but not working in IE6. can
anyone tell me how can i get it done in IE6 as well?

On Aug 20, 9:43 pm, orefalo <[email protected]> wrote:
> Have you tried Rpxnow ?
>
> http://www.rpxnow.com
>
> It saved me a bunch of time...
>
> On Aug 18, 5:50 am, deep <[email protected]> wrote:
>
> > Hello,
>
> > I want to build up log in system using mootools. I have goggled on net
> > and got this nice tutorial
>
> >http://web-kreation.com/demos/login_form_mootools_1.2/
>
> > But i want to do it something liketwitterhas on their home page.
> > When you clicks on login link, the login box  opens up there only. and
> > if someone clicks before the page is getting load it redirects you to
> > the login page.
>
> > Can we do this using mootools? Can anyone guide me how can i do that?
>
> > Thanks in advance.
>
> > Deepali

Reply via email to