the reply box

Dec. 11th, 2009 10:44 am
kaigou: you live and learn. at any rate, you live. - doug adams (2 live and learn)
[personal profile] kaigou posting in [community profile] style_system
Where can I find the function that controls the reply box's layout and CSS? I can find references to what I think might be it, in DW's S2 basic source code, but I can't find anything that outlines the actual function. It doesn't seem logical (though it's possible) that it's entirely js-created entirely on-the-fly, seeing how there is CSS in there, but I can't find the mechanisms that would let me fiddle with the reply-box as a whole. Anyone have any ideas?

Date: 2009-12-11 07:38 pm (UTC)
foxfirefey: A guy looking ridiculous by doing a fashionable posing with a mouse, slinging the cord over his shoulders. (geek)
From: [personal profile] foxfirefey
It's in the JS I think. The ID for it is "qrdiv", and a rgrep through the code base finds:

htdocs/js/quickreply.js

With possible things in this:

cgi-bin/weblib.pl: de.id = "qrdiv";
cgi-bin/LJ/S2.pm: # unless we've already inserted the big qrdiv ugliness, do it.

Date: 2009-12-11 07:45 pm (UTC)
av8rmike: Text: Dreamwidth volunteer (dw_volunteer)
From: [personal profile] av8rmike
Actually, it's in weblib.pl, around line #645. The JS only pops up the quick reply box when the "Reply" link is clicked; the actual HTML is handled in the Perl I linked.

Profile

Dreamwidth style system discussion

April 2025

S M T W T F S
  12345
6 78910 1112
13 141516171819
2021 2223242526
27282930   

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 27th, 2025 05:19 pm
Powered by Dreamwidth Studios