|
Practical Case: Is there a way to include a Web page
in the "Content" section when adding a new question (maybe with a PHP
include)? Otherwise, I would like to display a Web page when viewing a
question in the knowledgebase.
Solution: Yes, It is possible to include another
webpage inside the knowledgebase article. If you would like to display a webpage
within the content then you can switch to the HTML coding mode inside the
WYSIWYG Editor and add the code of an IFRAME in it manually with the URL of the
webpage as ?SRC? attribute of IFRAME tag.
IFRAME is a cool HTML 4.0 tag for embedding another page inside your web
page. Below is an example of how to add a webpage inside another page using
IFRAME.
Have a look at the example code below to see how the above page was embedded
inside this article.
<IFRAME
SRC="http://www.google.com" WIDTH=515
HEIGHT=200> If you can see this, your browser doesn't
understand IFRAME. However, we'll still <A HREF=http://www.google.com>link</A> you to the
file. </IFRAME>
More detailed information about IFRAME tag and its usage can be found at http://www.htmlcodetutorial.com/frames/_IFRAME.html
A total of 203 users are reading this article.
|