Skip to content

Partial Page Tweaks #35

@slominskir

Description

@slominskir
  • Allow marking a script file as partial page only or full page only. Currently only can mark as full page only by using inline script. Partial page init/onload must listen for event partial-page-init.
  • Add support for src-less script and link-less style tags. Perhaps only if an ID attribute is present. Using JSP to generate an Email HTML for example expects style tags without a link for optimal compatibility with email clients.
  • Need a way to mark elements as partial page only. We already have the opposite class: hide-in-dialog.

Example partial page only:

JAM
https://github.com/JeffersonLab/jam/blob/3e58db2d1ce4261e0260406ba6d949c6b1e7ab5a/src/main/webapp/resources/css/jam.css#L89-L94

JAWS
https://github.com/JeffersonLab/jaws-web/blob/d3b804bf3dffca07a3bb30900b1fd431814fac52/src/main/webapp/resources/css/jaws.css#L28-L33

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions