[development] kudos to Steven, and how to get rid of the resizing JS.

Gabor Hojtsy gabor at hojtsy.hu
Tue Jan 3 10:09:45 UTC 2006


Bèr Kessels wrote:
> Op maandag 02 januari 2006 23:49, schreef Gerhard Killesreiter:
> 
>>You can simple replace drupal.js by an empty file, I think. But I
>>actually like some of the JS stuff, but would like to maybe switch some  
>>of them off (depending on the site). How do I do that?
> 
> Yes, sorry. This is what I meant too. I know I can do it in an all or nothing 
> fashion. But I prefer to be able to roll out separate JS or AJAX (note that 
> in my original mail I used Js and AJAX, not just AJAX).
> 
> I have been thinking and reading code. It looks like a separate contrib module 
> to handle (switch on and off) core and additional (prototype.js) AJAX is the 
> route to take here. 

Ber I think this is a themeing issue. Whether someone likes to see some
JS in one theme and no JS in another used on the site is his decision.
So if you or someone else contributes a module to do it, it is logical
to do per theme settings (which shows that this is a themeing issue and
not something for a module). It is even possible that a theme providing
an admin and a public view turns JS magic on in the admin view while
turns off most of the JS magic on the end user view. So this can even
differ inbetween the different views provided by a single theme.

Goba


More information about the development mailing list