1
ejykluang
How to solve this problem?
  • 2006/2/1 16:27

  • ejykluang

  • Just popping in

  • Posts: 24

  • Since: 2005/7/30


Resized Image

When I click on the button as shown in the picture, it can't minimize the notification window. I think it is caused by the theme because when I try other themes, it is working. The problem is , I don't know how to change. Can someone please help me? Thanks

2
Herko
Re: How to solve this problem?
  • 2006/2/1 16:40

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Can you check to make sure you have the <{$xoops_module_header}> code in your theme.html file?

Also, check what the other themes do have and yours lacks, there may be a clue there (it's a javascript somewhere). Also, you might want to check for stylesheets too, as this could be a styles issue.

Herko

3
mawi27
Re: How to solve this problem?
  • 2006/2/1 18:35

  • mawi27

  • Friend of XOOPS

  • Posts: 103

  • Since: 2006/1/1 1


Try this:

insert into your style.css:

#notifs_form {display: none;}


insert into your theme.html above the </head> Tag:
<script type="text/javascript">

function 
toggle(notifs_form
{
obj=document.getElementById(notifs_form);
obj.style.display=!(obj.style.display=="block")? "block" "none";  
}

function 
swapimage(swap)
{
img_plus="<{$xoops_imageurl}>images/plus.gif";
img_minus="<{$xoops_imageurl}>images/minus.gif";
obj=document.getElementById(swap);
obj.src=!(obj.src==img_minus)? img_minus img_plus;  
}

</
script>


plus.gif + minus.gif have to be in yourtheme/images directory, or you have to change the path accordingly.

Marco
--
Match Dart!
Darts Ranking, News, Videos, Forum and more

4
ejykluang
Re: How to solve this problem?
  • 2006/2/6 3:01

  • ejykluang

  • Just popping in

  • Posts: 24

  • Since: 2005/7/30


Thank you. It is working now!

5
ejykluang
Re: How to solve this problem?
  • 2006/2/6 3:01

  • ejykluang

  • Just popping in

  • Posts: 24

  • Since: 2005/7/30


Thank you. It is working now!

Login

Who's Online

163 user(s) are online (125 user(s) are browsing Support Forums)


Members: 0


Guests: 163


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits