2 Attachment(s)
Use of buttons to change data object content
I'm trying to create a webpage that can display several information pages stored in Word (HTM) files.
In my example I use a rectagle containing a placeholder with this htm-code for the body:
<object data="....(path & filename)..." type="text/html" width=100% height=100%></object>
But this is static information displayed when the page is opened.
Is it possible to have something like this static example but where the content of the rectagle is changed when pressing a button.
Thanks
Frank
Re: Use of buttons to change data object content
couldn't say whether that would work as the url links to a drive on your computer, not on a web server. Try uploading the file to your webserver and create the link to point at that GK5
Re: Use of buttons to change data object content
The solution is in three parts:
- Change the Placeholder code to
Code:
<iframe src="" width="100%" height="100%" frameborder="0" scrolling="auto" name="infopage" ><p>Your browser does not support iframes.</p></iframe>
- Change your buttons' links to match the following example: "file:\\\e:\TestMap\Xara\InfoViaKnop\Helpdesktest1. htm", without the double quotes.
- Crucial: type in "infopage" into the Web Properties > Link > Open link in: infopage.
Acorn
Re: Use of buttons to change data object content
@Acorn
Thank you very much. It's working perfect!!!
Frank
Re: Use of buttons to change data object content
Quote:
Originally Posted by
GK5
@Acorn
Thank you very much. It's working perfect!!!
Frank
Frank, you are welcome.
Few come back and report success or failure.
Acorn