×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: BUGFIX: MTdefault-emotop

BUGFIX: MTdefault-emotop 15 years 1 month ago #3152

  • Helly
  • Helly's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 8
var JOSCmySlide = new Fx.Slide("JOSCMTtexttoogle");
$('JOSCMTstretchertoogleFORM').addEvent('click', function(e){
	e = new Event(e);
	JOSCmySlide.toggle();
	e.stop();
});
function JOSC_afterAjaxResponse(action) {
		switch(action) {
			case 'show':				
			case 'response_reply':
			case 'response_edit':
			case 'response_quote':
				JOSCmySlide.show();
				return 0;
				break;				
			case 'hide':
			case 'response_editpost':
			case 'response_posted':
			case 'response_approval':
    			JOSCmySlide.hide();
				return 0;
				break;
/* because of bug with IE ...(?)
			case 'response_searchform': 
			case 'response_getcomments':
				JOSCmySlide.show();
                JOSCmySlide.hide();
				return 0;
                break;
*/
			default:
				return 0;
		}
	}
	if (window.document.URL.indexOf("#CommentForm")<0) {
           if (JOSC_is_ie) window.onload = function(){JOSC_afterAjaxResponse("hide");}
           else JOSC_afterAjaxResponse("hide");
    }

Theire is a bug when javascript tries to open your slider. cause of the $ sign. Just put these 2 Code snippets into another .JS file and include it.
This should solve the probem. (myMTdefault emotop with 1 slider)
I am currently working on a 2slider myMTdefault emotop with the div version released this week

BUGFIX: MTdefault-emotop 15 years 1 month ago #3153

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081

BUGFIX: MTdefault-emotop 15 years 1 month ago #3154

  • Helly
  • Helly's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 8
ow , didnt see that one. started to work on my own template this morning and came up with this problem and didnt find it then so.

thx !

BUGFIX: MTdefault-emotop 15 years 1 month ago #3155

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Don't worry man :)
Please, for your new template use the template that I made this week. compojoom.com/blog/8-news/65-new-templat...ment-indent-fix.html

If you use it, then you won't have any problems with the comment indent. Oh, yeaa please share your template with us after that :)

BUGFIX: MTdefault-emotop 15 years 1 month ago #3156

  • Helly
  • Helly's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 8
im opening a topic real soon. It is almost finished only with some bugs in the display and hiding of the panels. As well as the indent isnt working anymore after i putted it the 2 sliders.
  • Page:
  • 1
Time to create page: 0.245 seconds