MyBB Community Forums

Full Version: Forum Indicators
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
	forumMarkedRead: function(fid, request)
	{
		if(request.responseText == 1)
		{
			$('mark_read_'+fid).src = $('mark_read_'+fid).src.replace("on.png", "off.png");
			Event.stopObserving($('mark_read_'+fid), "click", MyBB.markForumRead.bindAsEventListener(this));
			$('mark_read_'+fid).style.cursor = 'default';
			$('mark_read_'+fid).title = lang.no_new_posts;
		}
	},

I changed that in the general.js jscript file so i could use PNG's, this works on my localhost running php5, but not on my webhost which is php 4. Any ideas why?