Frontpage and javascript

S

spenn

I am using one web site that I want to use to display each report. I have the
report in snapshots. I have snapshotviewer on the web site. I need javascript
code to take the parameter out of the hyerlink and place it in the
snapshotviewer value property.

Can somebody help?
 
K

Kevin Spencer

I'm afraid it just doesn't work that way. You can't have SnapShot Viewer on
the web server and somehow allow people to use it. You will need to convert
your shapshots to JPGs or GIFs and insert them into pages as images.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
 
S

spenn

U can not change the value in the snapshotviewer. so that it can pull a
different snapshot in. why?

here is the code I have for the snapshotviewer:

<tr><a href = "Datacards Report.snp"></a>

<OBJECT ID="SnapshotViewer" WIDTH=737 HEIGHT=800

CLASSID="CLSID:F0E42D60-368C-11D0-AD81-00A0C90DC8D9">
<PARAM NAME="_ExtentX" VALUE="16722">
<PARAM NAME="_ExtentY" VALUE="11774">
<PARAM NAME="_Version" VALUE="65536">
<PARAM NAME="SnapshotPath"

VALUE="Datacards Report.snp">
<PARAM NAME="Zoom" VALUE="0">
<PARAM NAME="AllowContextMenu" VALUE="-1">
<PARAM NAME="ShowNavigationButtons" VALUE="-1">

</OBJECT>


</tr>
 
S

spenn

Sorry was saying that I was using one web page that I want to change the
Value property in the snapshotviewer by using a hyperlink from one page to
this page.
Somebody told me to use javascript?
Do u now how to do this?
 
K

Kevin Spencer

Well, if the user already has the snapshot viewer control installed on their
system, they will be able to view it, assuming that you create your tag
correctly. However, you can't download the viewer from your web site. I
found no references on the Microsoft site for using it in a public web page.

Some ActiveX controls can be downloaded when used. These are stored as .CAB
files on a web server, and you have to have the correct URL and syntax in
your OBJECT tag to make them downloadable. It seems, however, that the
Snapshot Viewer Control is not one of them.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
 
S

spenn

I am trying to use the same web page to display the reports. I have a
hyperlink and when the user clicks it should take them to this web page and
display the report.
I was thinking useing javascript to insert the value that you get for the
hyperlink parameters.

Can u do this?
 
K

Kevin Spencer

As I said, I don't think anyone can.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
 
S

Stefan B Rusynko

See http://irt.org/script/165.htm




| Sorry was saying that I was using one web page that I want to change the
| Value property in the snapshotviewer by using a hyperlink from one page to
| this page.
| Somebody told me to use javascript?
| Do u now how to do this?
| "Kevin Spencer" wrote:
|
| > I'm afraid it just doesn't work that way. You can't have SnapShot Viewer on
| > the web server and somehow allow people to use it. You will need to convert
| > your shapshots to JPGs or GIFs and insert them into pages as images.
| >
| > --
| > HTH,
| >
| > Kevin Spencer
| > Microsoft MVP
| > ..Net Developer
| > Ambiguity has a certain quality to it.
| >
| > | > >I am using one web site that I want to use to display each report. I have
| > >the
| > > report in snapshots. I have snapshotviewer on the web site. I need
| > > javascript
| > > code to take the parameter out of the hyerlink and place it in the
| > > snapshotviewer value property.
| > >
| > > Can somebody help?
| >
| >
| >
 
S

spenn

Can u make a snapshot report into a plug-in
I have a hyperlink on one web page. I have snapshot reports that I want to
use the same web page. I need somehow in the hyerlink to send over the file
path. I have that hyperlink link to the webpage. On the web page snapshot
viewer is on the webpage. I need the need to be able to chnage the path of
the file.

can u help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top