Curz
Design Dabbler

K2 Smartforms: Freeze tabs at the top of the window

Please can someone advise how I can freeze the the tabs in a form to the top of the screen so when the form is scrolled this will always be visible.

 

I have searched and have been unable to find anything that is related.

Labels: (1)
0 Kudos
Reply
4 Replies
Prineel_V2
Canvas Initiate

Re: K2 Smartforms: Freeze tabs at the top of the window

There isnt any built in functionality in K2 to do this. I think you would have to use javascript to freeze tabs.
0 Kudos
Reply
Curz
Design Dabbler

Re: K2 Smartforms: Freeze tabs at the top of the window

Do you know what the javascript would be and exactly how to implement?

 

Thanks.

0 Kudos
Reply
P_M
Nintex Newbie

Re: K2 Smartforms: Freeze tabs at the top of the window

Hi,

Can you check using below code

<script>$("[name ='viewname']").find('div.scroll-wrapper').css({"height":"400px"}); </script>

Adjust height as per your requirement.

Hope this would help.

 

0 Kudos
Reply
Curz
Design Dabbler

Re: K2 Smartforms: Freeze tabs at the top of the window

Hi P_M,

 

I have tried this however I expect that this is looking more at the view rather than the form? Either way even after putting in the view name and form name nothing would freeze the top of the screen.

 

I tried with 'Prevent XSS' both Enabled and Disabled.

 

Many Thanks.

0 Kudos
Reply