Invisible buttons

ssneg
Community Member Posts: 1,466 ☆ Roadie ☆
In Lectora 12, invisible buttons are actually real image buttons set to 0% opacity. This means that for every invisible button, four state images are generated.
These images are annoying:
- they really slow down title publishing
- they clutter the /images/ folder
-they add notable size and load times to the published title (8.9Kb per button or 89Kb per page with 10 buttons or 890Kb per 10 pages with 10 buttons each).
Would it be possible to generate empty divs for invisible buttons? Or at least generate empty 1px gifs for buttons set to 0% opacity? Or something else along those lines?
Thanks!
These images are annoying:
- they really slow down title publishing
- they clutter the /images/ folder
-they add notable size and load times to the published title (8.9Kb per button or 89Kb per page with 10 buttons or 890Kb per 10 pages with 10 buttons each).
Would it be possible to generate empty divs for invisible buttons? Or at least generate empty 1px gifs for buttons set to 0% opacity? Or something else along those lines?
Thanks!
Comments
-
@Klaatu 63883 wrote:
What would be the benefit of an invisible button over a shape image with its fill style set to transparent and no outline?
Zero benefit in Lectora 12, because in Lectora 12 an invisible button IS IN FACT a shape image set to transparent.
But if an invisible button were just a div with no graphics (like in Lectora 11), it would have the benefit of not adding 4 useless images to your course with every single button. Not a huge deal though, anyway. -
@ssneg 63745 wrote:
These images are annoying:
I agree, Lectora should have a DIV Object and a make DIV button in the UI that requests an ID or class name before dropping it in your project!
- they really slow down title publishing
- they clutter the /images/ folder
-they add notable size and load times to the published title (8.9Kb per button or 89Kb per page with 10 buttons or 890Kb per 10 pages with 10 buttons each).
Would it be possible to generate empty divs for invisible buttons? Or at least generate empty 1px gifs for buttons set to 0% opacity? Or something else along those lines?
Thanks!
I currently have to use a HTML Extension object then edit (add html button with a class or ID)English
or give it's 'Appearance' a class name. Which they really should have ID and Class buttons in UI.
I then have to add another another HTML extension to add my Cascading Style Sheet.
Finally, this text editor in this Forum really SUCKS!!. Freezes, delays, flashes and lags behind omitting typed characters when using IE 11 ! -
Agreed, however I would say this is a big issue - not a minor one. My organisation has very strict limits on size of packages, and we already run close to that most of the time. This issue is pushing some courses over the limit and we are required to compromise on content to make them smaller again.
All because of what? Images that we do not need or even see? That's just crazy. -
@sprockets, I just tried deleting all the default unused blue button images from a published course and it still worked fine. Buttons clicked alright in Chrome and IE9, no visual artifacts. Of course, there were a lot of "file not found messages" in the Dev console in Chrome but learners aren't affected by it.
So you might try simply deleting those images instead of compromising on content.
Categories
- 4.8K All Categories
- 6 New Feature Releases
- The Training Arcade®
- Arcades™
- 125 ✫ Announcements
- 9 ✪ Contests
- 34.1K eLearning Brothers® Products
- 33.6K Lectora®
- 31.6K Lectora Discussions
- 1.9K Lectora Feature Requests
- 71 Lectora User Groups
- 17 Asset Library
- 10 AssetLibrary Discussions
- 7 AssetLibrary Feature Requests
- 304 CenarioVR®
- 178 CenarioVR Discussions
- 126 CenarioVR Feature Requests
- 40 Rockstar Learning Platform®
- 28 Rockstar Learning Platform Discussions
- 12 Rockstar Learning Platform Feature Requests
- 4 Off-the-Shelf Course Library
- 3 Off-the-Shelf Course Library Discussions
- 1 Off-the-Shelf Course Library Feature Requests
- 114 CourseMill®
- 107 CourseMill Discussions
- 44 ReviewLink®
- 32 ReviewLink Discussions
- 12 ReviewLink Suggestions
- 2 The Training Arcade®
- 1 The Training Arcade Discussions
- 1 The Training Arcade Feature Requests
- 10 Additional Learning Products
- 2 Adobe®
- 4 Articulate®
- 2 Camtasia®
- Docebo®
- 1 iSpring®
- 1 Microsoft® PowerPoint®
- 932 All Things eLearning
- 5 Course Development Showcase
- 1 eLearning Brothers® Downloads
- 1 Compliance Training
- 11 eLearning Development
- eLearning Game Design
- 7 Instructional Design
- 545 Learning Management System (LMS) Integration
- 3 Mobile Learning
- 22 Visual Design
- 331 Web Accessibility
- 1.2K ♪ The Green Room
- 8 ♡ Community Feedback
- 7 Community Tips