SidePanel Instances

More
8 years 4 months ago #795 by Kanefire
Replied by Kanefire on topic SidePanel Instances
/*edited topcss.php*/

<?php
/**
* @package SidePanel Module for Joomla 3.0 By Joomlatema.net
* @version $Id: mod_SidePanel_JT1.php 2012-07-07 Joomlatema.Net $
* @author Muratyil
* @copyright (C) 2010- Muratyil
* @license GPLv3 www.gnu.org/licenses/gpl-3.0.html
**/
header('content-type: text/css');
$moduleId = $_GET;
?>
#sidepanel_jt<?php echo $moduleId ?> {
}

#sidepanel_jt<?php echo $moduleId ?> .handle<?php echo $moduleId ?> {
}
#sidepanel_jt<?php echo $moduleId ?>.open .handle<?php echo $moduleId ?> {
/* background-image:url(../images/panel_close_top.png);
background-repeat:no-repeat;
background-position: 95% center; */
}
#sidepanel_jt<?php echo $moduleId ?> h2.title {
}
#sidepanel_jt<?php echo $moduleId ?> .content {
}
#sidepanel_jt<?php echo $moduleId ?> a.handle<?php echo $moduleId ?>{
/*background-image:url(../images/panel_open.png);
background-repeat:no-repeat;
background-position: 95% center; */
text-decoration:none;
width:90px;
height:35px;
left:-6px;
text-align:center;
}
#sidepanel_jt<?php echo $moduleId ?>.open .handle<?php echo $moduleId ?>,#sidepanel_jt<?php echo $moduleId ?> .handle<?php echo $moduleId ?>{
box-shadow:0px 3px 3px rgba(0, 0, 0, 0.3);
}

Please Log in or Create an account to join the conversation.

  • amuratyil
  • Visitor
  • Visitor
8 years 4 months ago - 8 years 4 months ago #797 by amuratyil
Replied by amuratyil on topic SidePanel Instances
Then change -350 try -330 or -320 etc.
Last edit: 8 years 4 months ago by amuratyil.

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #798 by Kanefire
Replied by Kanefire on topic SidePanel Instances
But that moves the handle. The handle is fine where it is, it is the slide box that is partially out.

Please Log in or Create an account to join the conversation.

  • amuratyil
  • Visitor
  • Visitor
8 years 4 months ago #799 by amuratyil
Replied by amuratyil on topic SidePanel Instances
Oh yes it is my mistake you should add the code under that element
#sidepanel_jt<?php echo $moduleId ?> {
}
it shpould be like this
#sidepanel_jt<?php echo $moduleId ?> {
top:-350px;
}

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #800 by Kanefire
Replied by Kanefire on topic SidePanel Instances
I have placed it as shown in code below, but still having the box drop 15px. It first loads correct, then as the page is rendering, it drops. I have also tried to increase to -400 and -40, but neither have an effect.

/* topcss.php */

<?php
/**
* @package SidePanel Module for Joomla 3.0 By Joomlatema.net
* @version $Id: mod_SidePanel_JT1.php 2012-07-07 Joomlatema.Net $
* @author Muratyil
* @copyright (C) 2010- Muratyil
* @license GPLv3 www.gnu.org/licenses/gpl-3.0.html
**/
header('content-type: text/css');
$moduleId = $_GET;
?>
#sidepanel_jt<?php echo $moduleId ?> {
top:-350px;
}

#sidepanel_jt<?php echo $moduleId ?> .handle<?php echo $moduleId ?> {
}
#sidepanel_jt<?php echo $moduleId ?>.open .handle<?php echo $moduleId ?> {
/* background-image:url(../images/panel_close_top.png);
background-repeat:no-repeat;
background-position: 95% center; */
}
#sidepanel_jt<?php echo $moduleId ?> h2.title {
}
#sidepanel_jt<?php echo $moduleId ?> .content {
}
#sidepanel_jt<?php echo $moduleId ?> a.handle<?php echo $moduleId ?>{
/*background-image:url(../images/panel_open.png);
background-repeat:no-repeat;
background-position: 95% center; */
text-decoration:none;
width:90px;
height:35px;
left:-6px;
text-align:center;
}
#sidepanel_jt<?php echo $moduleId ?>.open .handle<?php echo $moduleId ?>,#sidepanel_jt<?php echo $moduleId ?> .handle<?php echo $moduleId ?>{
box-shadow:0px 3px 3px rgba(0, 0, 0, 0.3);
}

Please Log in or Create an account to join the conversation.

  • amuratyil
  • Visitor
  • Visitor
8 years 4 months ago - 8 years 4 months ago #801 by amuratyil
Replied by amuratyil on topic SidePanel Instances
Please zip sidepanel module that you are edited and send it to me I will check it on my site and see what happens.
Last edit: 8 years 4 months ago by amuratyil.

Please Log in or Create an account to join the conversation.

Time to create page: 0.257 seconds