iScroll on an external site ? iScroll on an external site ?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

iScroll on an external site ?

Started by donsenilo, June 16, 2014, 08:30:45 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

donsenilo

hello

iScroll 2.1 works perfectly on my site http://www.mediahosting.at/cpg15x/index.php, but my Question is:
is it possible to use it on an external website (maybe inside an iFrame) ?

Thank you !

flapane

Maybe you're still looking for a solution, or maybe others are, so it's worth answering after so many months.
You can use "flow link", which is an-iScroll-like old plugin that can run standalone.
Indeed, I've been using it on my site for years.

Unzip root.zip in the root of cpg.

Then, put this code wherever you want, and change www.yourwebsite.com according to your website address:

<script type="text/javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
'width', '100%', <!-- era 560px -->
'height', '260',
'src', 'flow_link',
            'FlashVars', 'xmlPath=http://www.yourwebsite.com/gallery/flow_link.php', <!--Absolute path to 'flow.php'-->
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'transparent',
'devicefont', 'false',
'id', 'flow_link',
'bgcolor', '#F7F6F2',
'name', 'flow_link',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', '/gallery/flow_link',
'salign', ''
); //end AC code
}
</script>
Flapane
www.flapane.com

Gallery
www.gallery.flapane.com