Solved

I want to change the picture on a form authomatically

Posted on 2011-03-03
3
670 Views
Last Modified: 2013-12-18
We have a lotus domino 8.5.2 ,and we have a lotus application.I want to change the picture on the opening form every two months.

there are 24 pictures( they have hotspot links on them) and there is one form.

In the current method I have to go to the form and change the picture every two weeks,instead of for instance image1 I need to replace with image2 and two weeks later again I need to change the picture on the form to image3

What I want to achieve is I have the 24 pictures and make an agent and when I run the agent it can pick the next image which I know it in advance from the image resources and replace it with the current . and two more weeks later i can again run the agent it can replace the image on the form again with for instance image3.


How achiavable is that? if you know how to can you post the lotusscript,javascript, code for this?
0
Comment
Question by:fatihdi
  • 2
3 Comments
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 250 total points
ID: 35031934
I wouldn't do it like that.

Two other ways for you to think about:
- put all images in the form, each in its own paragraph or table-cell, and use hide-when formulas to allow only one image to be seen
- use a computed resource

Do this for the computed resource:
- store all images in the resources of the database,
- in the form, click Create/Insert Resource, pick any, then open the Picture Properties, click the @ and set a formula for the image you want.
0
 
LVL 10

Assisted Solution

by:larsberntrop
larsberntrop earned 250 total points
ID: 35035521
You could also use one image resource, design your stuff using that, and use an agent to change the image in the image resource. If people then op en the form, the new image is used.  Makes form design a lot simpler.
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 35035661
@Lars: this is a kind of duplicate question...

See http://www.experts-exchange.com/Q_26860936.html
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now