dim session as new notessession
dim db as notesdatabase
dim docColl as notesdocumentcollection
dim doc as notesdocument
set db = ses.currentdatabase
set dbColl = db.alldocuments 'if all documents need to be checked
set doc = docColl.getFirstDocument
while not doc is nothing
if...
Unfortunalty some records holds more then one image. So finaly now all images will be resized when they are more then 700 px width;
<script type="text/javascript">
var oImgs=document.getElementById("Richtextcontent").getElementsByTagName("img");
var oTmp;
var oImg;
if(oImgs){
for(var...
The final solution I came up with after all your input:
<script type="text/javascript">
var oH2s=document.getElementById("Richtextcontent").getElementsByTagName("img")[0];
if (oH2s.width > 700) {
document.getElementById("Richtextcontent").getElementsByTagName("img")[0].width = 700;
}
</script>...
My code:
<div id="Richtextcontent"><br>
<img src="/2-Bergkamw/FIN/Comp-reg.nsf/30ceb851136ec96cc12571e70032dff9/7d6c71e6ee0d6b22c1256e4b004c356f/Signature/15.2702?OpenElement&FieldElemFormat=gif" width="784" height="142" alt=""><br>
</div>
This code is generated bij a webservice (IBM Lotus...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.