From fe3f5e8e8df2e9af808fab162d48ccd8c3cc0682 Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 7 Apr 2011 16:20:57 +0200 Subject: arrow zum aufklappen hinzugefĆ¼gt --- application/modules/user/views/scripts/bootos/index.phtml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'application/modules/user/views/scripts/bootos') diff --git a/application/modules/user/views/scripts/bootos/index.phtml b/application/modules/user/views/scripts/bootos/index.phtml index e4eb417..cb55a91 100644 --- a/application/modules/user/views/scripts/bootos/index.phtml +++ b/application/modules/user/views/scripts/bootos/index.phtml @@ -98,9 +98,19 @@ $(document).ready(function(){ if($('.element').find('.dispnone').length >= 1){ $(this).find('.title').css('cursor','pointer'); + $(this).find('.title').prepend(" "); + $(this).find('.title').data('toggle','0'); $('.title').click(function(){ $(this).siblings('.dispnone').toggle(); + if($(this).data('toggle') == '0'){ + $(this).data('toggle','1'); + $(this).find('.toggler img').attr('src','/media/img/down.png') + } + else{ + $(this).data('toggle','0'); + $(this).find('.toggler img').attr('src','/media/img/right.png') + } }); } }); -- cgit v1.2.3-55-g7522