Show More
@@ -36,6 +36,6 b'' | |||
|
36 | 36 | |
|
37 | 37 | |
|
38 | 38 | .mergely-margin #compare-lhs-margin, |
|
39 | .mergely-margin #compare-rhs-margin{ | |
|
39 | .mergely-margin #compare-rhs-margin { | |
|
40 | 40 | cursor: pointer |
|
41 | 41 | } |
@@ -59,20 +59,20 b" var orig1 = '${(c.orig1)|n}';" | |||
|
59 | 59 | var orig2 = '${(c.orig2)|n}'; |
|
60 | 60 | |
|
61 | 61 | $(document).ready(function () { |
|
62 |
|
|
|
62 | $('#compare').mergely({ | |
|
63 | 63 | width: 'auto', |
|
64 |
|
|
|
64 | height: '600', | |
|
65 | 65 | fgcolor: {a:'#ddffdd',c:'#cccccc',d:'#ffdddd'}, |
|
66 | 66 | bgcolor: '#fff', |
|
67 | 67 | viewport: true, |
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 | }, | |
|
72 |
|
|
|
73 |
|
|
|
74 | }, | |
|
75 | }); | |
|
68 | cmsettings: {mode: 'text/plain', readOnly: true, lineWrapping: false, lineNumbers: true}, | |
|
69 | lhs: function(setValue) { | |
|
70 | setValue(orig1); | |
|
71 | }, | |
|
72 | rhs: function(setValue) { | |
|
73 | setValue(orig2); | |
|
74 | }, | |
|
75 | }); | |
|
76 | 76 | }); |
|
77 | 77 | </script> |
|
78 | 78 |
General Comments 0
You need to be logged in to leave comments.
Login now