Ticket #2529 (closed feature: fixed)
[html] Export image opacity
| Reported by: | deyan | Owned by: | antoni |
|---|---|---|---|
| Priority: | major | Milestone: | Y1 |
| Component: | uncategorized | Version: | 2.0 |
| Keywords: | Cc: | ||
| Category: | unknown | Effort: | |
| Importance: | Ticket_group: | ||
| Estimated Number of Hours: | 0 | Add Hours to Ticket: | 0 |
| Billable?: | yes | Total Hours: | 0 |
| Analysis_owners: | Design_owners: | ||
| Imp._owners: | Test_owners: | ||
| Analysis_reviewers: | Changelog: | Changelog | |
| Design_reviewers: | Imp._reviewers: | ||
| Test_reviewers: | Analysis_score: | 0 | |
| Design_score: | 0 | Imp._score: | 0 |
| Test_score: | 0 |
Description
Image opacity can be changed in Sophie, but cannot be exported in HTML.
Change History
comment:1 Changed 6 months ago by antoni
- Owner set to antoni
- Status changed from new to s1a_analysis_started
comment:2 Changed 6 months ago by antoni
- Status changed from s1a_analysis_started to s1b_analysis_finished
comment:3 Changed 6 months ago by antoni
- Status changed from s1b_analysis_finished to s1c_analysis_ok
comment:5 Changed 6 months ago by antoni
- Status changed from s2a_design_started to s2b_design_finished
comment:7 Changed 6 months ago by antoni
- Status changed from s2c_design_ok to s3a_implementation_started
comment:8 Changed 6 months ago by antoni
Value of visibility (opacity) of frames is exported in interval [0, 1], 0 for hidden, 1 for full visibility. Code is commited in revision [10049].
comment:9 Changed 6 months ago by antoni
- Status changed from s3a_implementation_started to s3b_implementation_finished
New exported visibility property in interval [0, 1] is read and properly interpreted. Now we change opacity of frames by changing opacity property in CSS. For implementing fade-in and fade-out effect in 1 second a hundred timeouts are executed which may cause lag in larger publication, that's why optimization of fade-in/fade-out effects after life cycles of book are exported may be needed.
Code is commited in revision [10051].
comment:10 Changed 5 months ago by antoni
Show, hide and toggle functions are refactored because addition of opacity channel. Built in jQuery functions are not used anymore.
When opacity is set to 0 (invisible) or 1 (fully visible) respectively FRAME_HIDDEN or FRAME_SHOWN event is dispatched.
Code is commited in revision [10059].
comment:11 Changed 5 months ago by antoni
Method used to dispatch FRAME_SHOWN and FRAME_HIDDEN event are updated and now event is dispatched in parent.window because otherwise frame element was unable to handle event.
Code is commited in revision [10061].
comment:12 Changed 5 months ago by antoni
Fix problem when invisible frames are on stage and handle events.
Now display property of frames with opacity equal to 0 is set to 'none' otherwise to 'block'.
Code is commited in revision [10064].
comment:13 Changed 5 months ago by todor
- Status changed from s3b_implementation_finished to s3c_implementation_ok
this is fixed
comment:14 Changed 4 months ago by todor
- Status changed from s3c_implementation_ok to closed
- Resolution set to fixed
