Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently November 7th, 2024, 8:37 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Passing a parameter to open a specific text file
PostPosted: August 7th, 2007, 7:29 pm 
Offline

Joined: July 6th, 2005, 9:54 am
Posts: 7
Location: UK
I have a client who has a number of documents for users to view and wants to do this from within the publication, i.e. in a text box on a page.

I know that it is possible to load a specific file into a text box when a page loads butis it possible to do this when moving to that page from a different page?

For example, is it possible to set up buttons on a page which when pressed display a page called, say, info, which has a text box on it. Button one when clicked would launch the page and display text file 1 and button two the same page but with text file 2 displayed.

Would a script be the answer and if so how would I start to find out how to do this?

_________________
Ricky

Intel Core 2 duo, WinXP sp2, Opus Pro v6.0 2 Gb, 2 x 350 GB hard drives. ATI graphics


Top
 Profile  
 
 Post subject: Re Passing a parameter to open a specific text file
PostPosted: August 7th, 2007, 9:15 pm 
Offline

Joined: January 19th, 2005, 7:14 pm
Posts: 20
Location: Bromsgrove, Worcs, UK
Sounds like a job for Multiframes. Load text into the frames and navigate using Multiframe actions on the button(s)


Regards

Ken Hubble


Top
 Profile  
 
 Post subject:
PostPosted: August 7th, 2007, 10:20 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
1. create a global variable
2. for each button pass the name + path of the file to be open to the variable and then goto the docview page.
3. On the docview page add the variable from step 1 instead of a path/name.

When you click the button, the file will be loaded into docview frame. You can even use a lookup to browse for the file if necessary.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject:
PostPosted: August 13th, 2007, 11:30 am 
Offline

Joined: July 6th, 2005, 9:54 am
Posts: 7
Location: UK
Thanks for the help. The variable method worksa fine and does exactly wehat I needed.

_________________
Ricky

Intel Core 2 duo, WinXP sp2, Opus Pro v6.0 2 Gb, 2 x 350 GB hard drives. ATI graphics


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group