Dynamic Images

Dynamic Images on web like on mouseover and mouseout can be implemented for a
view column. I store the different images for mouse over and mouse out, say
picture1.gif and picture1_a.gif respectively, as image resources.

In the form I have a field called Link, where I store the name of the image.
I have the view type as "HTML" for web users.
text1 := @LowerCase(Link) ;
server := @subset(@dbname; 1);
db := @subset(@dbname; -1);

"&LTa href=\"http://" + server + "/" + db + "/" + "/Customer/" +
@Text(@DocumentUniqueID) + "?OpenDocument\" onMouseOver=\"document." + text1
+".src=\'" + text1 + "1_a.gif\';\" onMouseOut=\"document." + text1 +
".src=\'" + text1 + "1.gif\';\"> &LTimg src=\"" + text1 + "1.gif\" border=\"0\"
name=\"" + text1 + "\"></a>
"

This was first published in November 2000

Dig Deeper

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchDataCenter

SearchExchange

SearchContentManagement

Close