Closed (fixed)
Project:
Quick Tabs
Version:
5.x-1.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Jul 2008 at 00:57 UTC
Updated:
1 Aug 2008 at 15:50 UTC
prevents scrolling on with re sizable text boxes...
This appears to be a core object in drupal 5.9! I havent figured out how to turn them off
This originated from the http://drupal.org/node/118207 Issue, which I have closed due to not being clear. I assume quick tabs are the cause of this due to this post, however I cant remove quick tabs because I like it so much, so I am looking into a way to replace the re sizable text boxes with non-re-sizable ones.
The textarea.js stops working. Here is the cut from my aggregated file. I have excluded this from the aggregated...
/* AGGREGATED JS FILE: misc/textarea.js */
// $Id: textarea.js,v 1.11.2.1 2007/04/18 02:41:19 drumm Exp $
Drupal.textareaAttach = function() {
$('textarea.resizable:not(.processed)').each(function() {
var textarea = $(this).addClass('processed'), staticOffset = null;
// When wrapping the text area, work around an IE margin bug. See:
// http://jaspan.com/ie-inherited-margin-bug-form-elements-and-haslayout
$(this).wrap('<div class="resizable-textarea"><span></span></div>')
.parent().append($('<div class="grippie"></div>').mousedown(startDrag));
var grippie = $('div.grippie', $(this).parent())[0];
grippie.style.marginRight = (grippie.offsetWidth - $(this)[0].offsetWidth) +'px';
function startDrag(e) {
staticOffset = textarea.height() - Drupal.mousePosition(e).y;
textarea.css('opacity', 0.25);
$(document).mousemove(performDrag).mouseup(endDrag);
return false;
}
function performDrag(e) {
textarea.height(Math.max(32, staticOffset + Drupal.mousePosition(e).y) + 'px');
return false;
}
function endDrag(e) {
$(document).unmousemove(performDrag).unmouseup(endDrag);
textarea.css('opacity', 1);
}
});
}
if (Drupal.jsEnabled) {
$(document).ready(Drupal.textareaAttach);
}
BTW in your module description I stumbled onto a spelling mistake... "Jquery" not "Jquerry"
Comments
Comment #1
katbailey commentedErm, ok now I'm confused. That original issue was from a module called quicktags, not quicktabs - a totally different module.
Comment #2
MGParisi commentedyour right... funny thing is Im not using quicktags... Damn the confusing names... You can close this out because I cant tell you what is causing my problem!
Comment #3
katbailey commented