Documentation other then provided allready.
The wrapper snippet can be used to show other webdocuments in an IFRAME in your content part so it will seem to be part of your website.
You could for instance show a gallery, forum, static pages or anything else this way.
You call the snippet with parameters:
- Variable list:
- $wurl = "http://www.etomite.com";
What would you like to show? Wich webpage must be wrapped
- $wname = "<b>Etomite</b>";
Name to show under the IFrame.
- $wshowname = "1";
Show the name? 1 yes, 0 no
- $wwidth = "100%";
- $wheight = "600";
Width and Height of the IFrame, width recommended 100% and height recommended 600 but it edpends on your pages.
- $wscroll = "auto";
Would you like to show scrollbars? auto, yes or no
- $wauto = "1";
auto resize 1 yes, 0 no, the wrapper will try to get maximum size
- $wframe = "1";
Show 1 or hide 0 the iframe borders
- $wlink = "1";
Would you like to show a direct link? 1 yes, 0 no
- $wwtext = "Click here";
Text for direct link
You can set defaults in the snippet, so you don't need to call the snippet with each variable.
That's basicly it.
Here are some examples on my testsite :
http://pcwacht.mine.nu/etomite62/wrapper.html
Good luck,
John