Does proc report support hover picture, which means, the picture is only eyeable when mouse is pointing to a specified cell?

As far I know, follwoing code will insert a picture in specified cell generted by proc report, :

compute &stories;
if(addFlag = 1) then do;
call define(col,'style','style={postimage=".\pic\new.png"}');
end;
endcomp;

In this way, the picture will always be displayed. What code change can make the picture hover?

asked 05 Dec '11, 03:50

beth%20zhao's gravatar image

beth zhao
1112
accept rate: 0%


I believe you'll need to use javascript here (assuming your output is in HTML). Once you have the javascript portion worked out, you should be able to modify the proc report template to include it so that the script executes onLoad and makes your pictures display only when they are hovered over.

link

answered 19 Dec '11, 04:18

MarkLamias's gravatar image

MarkLamias ♦
838215
accept rate: 20%

Fox Hints It Might Leave the Airwaves The owner of the Fox network, the News Corporation, raised the prospect Monday of one day moving its programming off the broadcast airwaves and exclusively onto cable in a stepped-up response to Aereo, a streaming TV service. Read and more: http://www.tauramall.com/Toddler-Boy-Cool-Set-with-Jean-Spring-Outwear-p1983.html

link

answered 12 Apr '13, 03:24

nanduda's gravatar image

nanduda
(suspended)
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×6
×1

Asked: 05 Dec '11, 03:50

Seen: 2,780 times

Last updated: 12 Apr '13, 03:24

powered by OSQA