Textpattern Forum

You are not logged in. Register | Login | Help

#11 2005-04-15 15:48:57

andreas
Member
Registered: 2004-02-28
Posts: 452
Website

Re: [plugin] [ORPHAN] rss_admin_resize: Textarea Resizing

wilshire, no javascript errors – at least none in the javascript console. Are there any other places whare they might turn up?

I looked at the page source and found this

<code><pre>addLoadEvent(function() { ta = document.forms0.Body; ta.setAttribute(‘style’,’‘); ta.setAttribute(‘cols’,‘20’); ta.setAttribute(‘rows’,‘35’);

ta = document.forms0.Excerpt; ta.setAttribute(‘style’,’‘); ta.setAttribute(‘cols’,‘20’); ta.setAttribute(‘rows’,‘15’); ta = document.forms0.Title; ta.setAttribute(‘size’,‘50’);

});</pre></code>

Is this the JS used to resize the textarea? If so, the correct values are inserted because I used the 20 cols in the body area to test the plugin — but they don’t seem to get applied by Opera.

Last edited by andreas (2005-04-15 15:49:37)

Offline

#12 2005-04-15 15:55:40

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_admin_resize: Textarea Resizing

Is that really what the source looks like or did textile screw it up in the forum?

EDIT: And so I see its textile…

That’s the js that should be resizing. Do you have any other admin plugins that are modifying the article page?

Last edited by wilshire (2005-04-15 15:57:18)

Offline

#13 2005-04-15 16:14:59

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_admin_resize: Textarea Resizing

marz – You can use the quikpik plugin to override styles in the admin interface.

You could also modify the plugin source. Find the lines that read:
<code>
ta.setAttribute(‘style’,’‘);
</code>

and change to:
<code>
ta.setAttribute(‘style’,‘font-size:150%;’);
</code>

Thats just an example so change that to the font size you want (%, em, px, etc.).

Offline

#14 2005-04-15 17:51:20

andreas
Member
Registered: 2004-02-28
Posts: 452
Website

Re: [plugin] [ORPHAN] rss_admin_resize: Textarea Resizing

wilshire, I’ve also got quikpik. But disabling that doesn’t change anything.

Offline

#15 2005-04-15 17:58:34

marz
Plugin Author
From: Barbados
Registered: 2004-11-13
Posts: 43
Website

Re: [plugin] [ORPHAN] rss_admin_resize: Textarea Resizing

wilshire – thanks :)

Offline

#16 2005-04-16 17:35:32

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 491
Website

Re: [plugin] [ORPHAN] rss_admin_resize: Textarea Resizing

thank you wilshire, i was really looking for this one :)


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#17 2005-04-19 17:33:30

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_admin_resize: Textarea Resizing

andreas – Just tested this out with Opera 8 Final and its working fine for me. Does it work for you?

Offline

#18 2005-04-19 17:55:27

andreas
Member
Registered: 2004-02-28
Posts: 452
Website

Re: [plugin] [ORPHAN] rss_admin_resize: Textarea Resizing

It doesn’t — Opera 8 final. No idea why. I accept all cookies (even third party ones) and still no reaction apart from the title input field.

Offline

#19 2005-04-19 19:13:57

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_admin_resize: Textarea Resizing

Hmm…doesn’t make much sense to me either. I just did a base install. Maybe its something tied to some user preference. I don’t know much about Opera, so I’m at a loss.

Offline

#20 2005-04-19 19:25:27

andreas
Member
Registered: 2004-02-28
Posts: 452
Website

Re: [plugin] [ORPHAN] rss_admin_resize: Textarea Resizing

I can’t figure it out either. Nevermind, I don’t need it that badly. Thanks for the help, anymway.

Offline

Board footer

Powered by FluxBB