guardian_angel: (Default)
Angela Ziegler ([personal profile] guardian_angel) wrote in [community profile] dreamcodes2017-10-26 08:31 pm
Entry tags:

Code help?

Hi, hope this is okay to post! I saw a post about asking for coding help but it had so few comments and was yeeears old so I don't think it's in use now?

Anyway, my question:
I found this code over on IJ and wanted to use it over here on DW for this account, but when moving it over to my journal it's... a mess. Usually changing the LJ-specific tags and raw to raw-code fixes it, but no dice. I'm a total code novice, so I have no clue where to go from here to figure out what's wrong/how to fix it. Any help would be greatly appreciated!
momijizukamori: Green icon with white text - 'I do believe in phosphorylation! I do!' with a string of DNA basepairs on the bottom (Default)

[personal profile] momijizukamori 2017-10-27 12:45 pm (UTC)(link)
I think we're a little stricter than IJ about what tags/css are allowed in entries, which is probably what it is - I'll try to have a look later today and see what I can do, though.
momijizukamori: Green icon with white text - 'I do believe in phosphorylation! I do!' with a string of DNA basepairs on the bottom (Default)

[personal profile] momijizukamori 2017-10-28 04:21 am (UTC)(link)

Ahahaha SO for some reason the original coder didn't bother specifying units for half the numbers they used? And the site style stuff on IJ cascaded down and made the unit-less numbers make sense and be renderable, but the site style stuff on DW did not (probably because we don't use px much). There were also a few spots where the default site style defs were affecting other bits here that weren't being affected on IJ, but I think I've got them all. Pastebin because it's a lot of text, haha: https://pastebin.com/thEvqWRu

Let me know how it works for you.

momijizukamori: Green icon with white text - 'I do believe in phosphorylation! I do!' with a string of DNA basepairs on the bottom (Default)

[personal profile] momijizukamori 2017-11-01 06:05 pm (UTC)(link)

Glad it worked! And that's fine :)