PDA

View Full Version : PDF in a web object and web.loadULR


cizzz
03-26-2004, 10:25 AM
Hi,

I have several PDF's I want to show everytime in the same web object.

Page 'Tutorials': This page holds buttons
Page 'Acrobat': This page shows the PDF

I have a page with several buttons. When clicked on one of these you get action:
PDF = "File1.pdf";
Page.Jump("Acrobat");

This goes from File1.pdf to File20.pdf

Then it opens the page 'Acrocat'. In the 'on naviagate' action I have put:

Web.LoadURL("Web Object", PDF);

But here's the tricky part this action does not accept the variable 'PDF' and says it needs a string at this place. Nevertheless PDF is a string.

How can I force this? Can anybody help or give me the correct code?

TIA


CIZZZ ;)