Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [JavaScript][HTML][PHP] Konwersa skryptu Highslide JS
Sniper512
post
Post #1





Grupa: Zarejestrowani
Postów: 7
Pomógł: 0
Dołączył: 30.12.2008

Ostrzeżenie: (0%)
-----


Witam serdecznie. Posiadam skrypt Highslide wykorzystany w galerii (php-fusion):
http://farcry.gry-online.pl/infusions/hsga....php?album_id=1

Chciałbym go zamienić na
http://farcry.gry-online.pl/gallery-floating-caption.html

Abu podmienić na "nowszą" wersje potrzebuje zamienić skrypt html oto ten:

Kod
<script type="text/javascript">
    hs.graphicsDir = '../highslide/graphics/';
    hs.align = 'center';
    hs.transitions = ['expand', 'crossfade'];
    hs.wrapperClassName = 'dark borderless floating-caption';
    hs.fadeInOut = true;
    hs.dimmingOpacity = .75;

    // Add the controlbar
    if (hs.addSlideshow) hs.addSlideshow({
       //slideshowGroup: 'group1',
       interval: 5000,
       repeat: false,
       useControls: true,
       fixedControls: 'fit',
       overlayOptions: {
          opacity: .6,
          position: 'bottom center',
          hideOnMouseOut: true
       }
    });
</script>


na php. A oto stary php:

Kod
<script type='text/javascript'>
             hs.registerOverlay(
                {
                   thumbnailId: null,
                   overlayId: 'controlbar',
                   position: 'center',
                   hideOnMouseOut: false,
                   opacity: 1.00
                }
             );
             hs.graphicsDir = '".INFUSIONS."hsgallery_panel/highslide/graphics/';
             hs.outlineType = 'rounded-white';
             window.onload = function() { hs.preloadImages(); }
             hs.fullExpandTitle = '".$locale['hsg110']."';
             hs.restoreTitle = '".$locale['hsg112']."';
             hs.focusTitle = '".$locale['hsg121']."';
             hs.loadingText = '".$locale['hsg111']."';
             hs.loadingTitle = '".$locale['hsg120']."';
             hs.creditsText = '".$locale['hsg118']."';
             hs.creditsTitle = '".$locale['hsg119']."';
             </script>


Proszę też podpowiedzieć co oznaczają te '".$locale['hsg121']."'

Aha czyli to aż tak bardzo trudne? (IMG:style_emoticons/default/sadsmiley02.gif)
Może tylko jakieś wskazówki? Proszę.
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 23.08.2025 - 16:17