Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: iScroll on an external site ?  (Read 4666 times)

0 Members and 2 Guests are viewing this topic.

donsenilo

  • Coppermine regular visitor
  • **
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 93
    • Bookmarks (Links), Grafik, Musik, Movies (Filme), DVD's, CD's, Amazon-Shop by Starmaker - Mark Tailor
iScroll on an external site ?
« on: June 16, 2014, 08:30:45 am »

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 !
Logged

flapane

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 251
    • Flavio's page
Re: iScroll on an external site ?
« Reply #1 on: February 12, 2015, 10:09:51 pm »

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:
Code: [Select]
<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>
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.