- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2014 05:02 AM
Hi,
I am trying to hide the attachment icon on header with below code in Eureka in an on load client script but it is not hiding the icon.
var attachment_header = document.getElementById('header_attachment_list');
attachment_header.style.display='none';
Any help or advise will be highly appreciated.
Sami.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2014 06:28 AM
Can you try hiding the attachment icon using below script
$$('img[title="Attachments..."]')[0].up().up().down().hide();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2015 10:07 PM
try following javascript code in a onLoad client script
function onLoad() {
document.getElementById('header_add_attachment').style.display = 'none';
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2015 07:27 PM
Awesome.. it works like charm. thanks lots..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2016 03:44 PM
Depending on a variable I want to hide attachments at the top. I wrote a client script onLoad function and tried various permutations of your recommendations in Helsinki
Not hiding!!
var div = document.getElementById( "header_attachment" );
div.style.display = "none";
div.innerHTML='';
var divq = document.getElementById( "header_attachment_list" );
divq.style.display = "none";
divq.innerHTML='';
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2016 04:54 PM
is this a scoped application ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2016 06:19 AM
yes, it is