![]() |
Sergey Kornilov admin 11/17/2010 |
jQuery comes to rescue. Add the following code to 'List page: Javascript OnLoad' event. $('span[@id=record_controls1]').hide(); |
D
|
Dale author 11/17/2010 |
Perfect, works like a charm. I also added the style="display:none" to the id=record_controls{id} span in the list.htm template to hide the controls in the first place.I hate flickering pages. Works like a charm. |
![]() |
Sergey Kornilov admin 11/17/2010 |
Updated code. I highly recommend learning jQuery basics - make wonders with very little code involved. $('span[@id=record_controls1]').hide(); |
D
|
Dale author 11/17/2010 |
I see what your saying about Jquery. I will dig into that. |
![]() |
Sergey Kornilov admin 11/17/2010 |
You can try the following though I'm not sure if it's going to work well in your setup. $('span[@id^=record_controls]').hide(); |
D
|
Dale author 11/17/2010 |
Thanks Sergey. But the last snippet stopped what was working and had no effect as well on the other lists. |
![]() |
Sergey Kornilov admin 11/18/2010 |
Actually the latest code sample is supposed to do just that. It uses 'like' search instead of exact control ID to find controls need to be updated. |
D
|
Dale author 11/19/2010 |
Thanks Sergey, I will give it another go in the morning. Really appreciate it. |