Ruby Chang Posted July 25 Share Posted July 25 Hi, I'm creating a long page where I can scroll up and down. On the left hand side, I have a TextArea with all filters I need, and a crosstable showing each well name for me to do any marking. Is there any way like javascript I can add to the page to do the following: The TextArea and Crosstable scroll up with the page until they reach the top and then stay there as I continue scrolling down. Link to comment Share on other sites More sharing options...
David Boot-Olazabal Posted July 29 Share Posted July 29 (edited) Hi Ruby, I don't think this is possible, but I'll ask my colleagues if they know a way to achieve this, otherwise you can file an enhancement request for this. Kind regards, David Edited July 29 by David Boot-Olazabal Link to comment Share on other sites More sharing options...
David Boot-Olazabal Posted July 31 Share Posted July 31 Hi Ruby, This may or may not help you out, but you can lock visualizations in a page: You can try to see if this fits your use case. Kind regards, David Link to comment Share on other sites More sharing options...
barchiel33 Posted August 1 Share Posted August 1 There should be a way to do this using Javascript. You should be able to target the visualizations container element and set it's position to sticky. Not sure the exact coding though. I believe you'll want to use a query selector for the sf-visual-id attribute, since that value doesn't seem to change (whereas the element's id value does). The part I'm iffy on is getting the position to switch from absolute to sticky and stay on sticky. There might be some javascript that's part of the Spotfire built-in scripting that keeps the position property from changing for whatever reason. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now