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"}');

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
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.


answered 19 Dec '11, 04:18

MarkLamias's gravatar image

MarkLamias ♦
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:


answered 12 Apr '13, 03:24

nanduda's gravatar image

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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



Asked: 05 Dec '11, 03:50

Seen: 3,917 times

Last updated: 12 Apr '13, 03:24

powered by OSQA