HIDomino 6.x change the views twistie image alt informatio to “Show more details …”.
Is there any way to desable this new feature?
HIDomino 6.x change the views twistie image alt informatio to “Show more details …”.
Is there any way to desable this new feature?
Subject: Views and twistie image alt information
Sure, using JavaScript in the browser:
function killTwistieAlts() {
var images = document.images;
var imgSource;
for (i=0;i<images.length;i++) {
imgSource = images[i].src.toLowerCase();
if ((imgSource.indexOf(‘expand.gif’)>-1)||(imgSource.indexOf(‘collapse.gif’)>-1) {
images[i].alt = ‘’;
}
}
}
Call the function from the onload of your $$ViewTemplate.
Subject: can you elaborate on why you want to do this?
The alt text with the twistie images is to aid accessibility. A web page reader will read the alt text – which is intended to provide a description of what the image does – rather than just reading the name of a .gif file.
Subject: RE: can you elaborate on why you want to do this?
We have add html tags to gategory field for:-stylesheet
-to change view default sort order
… and now html tags are shown as twistie alt information
And also the default text “Show more details …” is problem with different languages.
Subject: RE: can you elaborate on why you want to do this?
Yes, the alt text is generated from the category text so if you have any html in there you will see it in the alt text. There is no way to supress the alt text generation in Domino, so you will need to use the javascript solution offered in a previous response.
May I inquire as to the specific problem with different languages? My impression is that the text “show details for” is in a text resource which is translated and the appropriate translation will be served to the browser (assuming that the server and browser and configured properly). Unfortunately the order of the phrase is hard coded.
I am doing work for Domino 7 in this area and I want to understand the existing issues.
Subject: RE: can you elaborate on why you want to do this?
Well we use same design for different purpose and for different language. All the texts are configurated thrue brauser by user (not by designers).
Guess the JS is the only way to work around but it’s not very nice to put brauser clean up all the time the alt messages that domino creates… maybe we shoud stay on 5.x
Subject: RE: can you elaborate on why you want to do this?
An example where the auto generation of the alt text is an issue:
You may wish to add some html as part of your category column but the html also
shows in the alt text.
e.g. Category+" a href="" onclick="View(‘“+TreeID+”’); return
false;">Move]"