Version: 1.00, by midnz
Developer Last Online: Jan 2023
Category: BB Code Enhancements -
Version: 4.0.6
Rating:
Released: 08-17-2010
Last Update: Never
Installs: 19
Re-useable Code Translations
No support by the author.
Power Point Presentation BBCode
Description:
This BBCode allows you to place the address of any .pps file between the [pps] tags to automate the viewing of Power Point Presentations without needing to manually download those files to your desktop before playing them.
Internet Explorer will play .pps files in a pop-up window whereas Mozilla Firefox will allow you the option to either save the file or download and play the file using your default .pps viewing software. I have not tested the behaviour in any other browsers.
You may adjust the "height=" and "width=" parameters in the code below to change the size of the pop-up viewing window (for IE) to suit your individual requirements.
Instructions:
Open the BBCode Manager/Add New BBCode
Title: Power Point Presentation BB Code Tag Name: pps Replacement:
Code:
<script type="text/javascript">
function openPP() {
window.open("{param}","","height=600,width=600,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0,left=0,top=0");
}
</script>
<!{param}>
<div onClick="openPP()">Click to Start Presentation</div>
Example: [pps]web address of pps file[/pps]
Description: Allows viewing of .pps files without needing to manually download them first.
Use {option}: No Remove Tag If Empty: Yes Disable BB Code Within This BB Code: Yes Disable Smilies Within This BB Code: Yes Disable Word Wrapping Within This BB Code: Yes Disable Automatic Link Parsing Within This BB Code: Yes
In IE8 this doesnt work as it was probably designed... Window pops up but then windows asks if you want to open or save the file.
A great idea if we can get it working better.
I usually use Mozilla Firefox but tested it using IE8 and the pop-up window displayed the presentation without any further prompts from me.
I wondered if it had something to do with the 'compatibility view options', IE8 > Tools > Compatibility View Settings > Display all websites in Compatibility View ... I have that option unselected. I've just now tried using that option selected and it still works the same for me.
There must be a different setting between our IE8's that causes a different reaction after selecting the .pps link.
So, when you select to 'Open the file' rather than 'save the file' does it work for you? Are you given an option to 'do this for all files of this type' or similar option when you select to 'Open the file'?
I didn't have a Chrome browser but I've just downloaded and installed version 5.0.375.126 to test your issue. The BBCode should still work in Chrome if you select the drop-down panel and click "Always open files of this type". See the image below. Close the pop-up window and try the link once more. If you do that then your default .pps software will be used to view the presentation.