Lytebox BBCode

Mod BBCode Database
BBCode che hanno bisogno di editing di file o extra file
Regole del forum
Immagine
Rispondi
Avatar utente
Galandas
Staff phpBB3World
Staff phpBB3World
Messaggi: 792
Iscritto il: 4 nov 2012, 9:18
Località: phpbb3world
Contatta:

Lytebox BBCode

Messaggio da Galandas » 4 dic 2012, 19:17

Lytebox BBCode

Autore: Stoker
Descrizione: Il BBCode Lytebox ti dà la possibilità di inserire immagini negli argomenti che si apre con lo script lytebox.
Immagine
Modifiche: scaricare lo script Lytebox qui: http://www.dolem.com/lytebox/
Carica lytebox.js nella cartella principale del forum (la stessa cartella dove si trova config.php
Carica il contenuto della cartella images in root/images e in styles/subsilver2/theme/images
Inserire il codice riportato di seguito nella parte inferiore (su nuova linea) di styles/prosilver/theme/colours.css e styles/subsilver2/theme/stylesheet.css

Codice: Seleziona tutto

    #lbOverlay { position: fixed; top: 0; left: 0; z-index: 99998; width: 100%; height: 500px; }
       #lbOverlay.grey { background-color: #000000; }
       #lbOverlay.red { background-color: #330000; }
       #lbOverlay.green { background-color: #003300; }
       #lbOverlay.blue { background-color: #011D50; }
       #lbOverlay.gold { background-color: #666600; }

    #lbMain { position: absolute; left: 0; width: 100%; z-index: 99999; text-align: center; line-height: 0; }
    #lbMain a img { border: none; }

    #lbOuterContainer { position: relative; background-color: #fff; width: 200px; height: 200px; margin: 0 auto; }
       #lbOuterContainer.grey { border: 3px solid #888888; }
       #lbOuterContainer.red { border: 3px solid #DD0000; }
       #lbOuterContainer.green { border: 3px solid #00B000; }
       #lbOuterContainer.blue { border: 3px solid #5F89D8; }
       #lbOuterContainer.gold { border: 3px solid #B0B000; }

    #lbDetailsContainer {   font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; width: 100%; line-height: 1.4em;   overflow: auto; margin: 0 auto; }
       #lbDetailsContainer.grey { border: 3px solid #888888; border-top: none; }
       #lbDetailsContainer.red { border: 3px solid #DD0000; border-top: none; }
       #lbDetailsContainer.green { border: 3px solid #00B000; border-top: none; }
       #lbDetailsContainer.blue { border: 3px solid #5F89D8; border-top: none; }
       #lbDetailsContainer.gold { border: 3px solid #B0B000; border-top: none; }

    #lbImageContainer, #lbIframeContainer { padding: 10px; }
    #lbLoading {
       position: absolute; top: 45%; left: 0%; height: 32px; width: 100%; text-align: center; line-height: 0; background: url(images/loading.gif) center no-repeat;
    }

    #lbHoverNav { position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
    #lbImageContainer>#lbHoverNav { left: 0; }
    #lbHoverNav a { outline: none; }

    #lbPrev { width: 49%; height: 100%; background: transparent url(images/blank.gif) no-repeat; display: block; left: 0; float: left; }
       #lbPrev.grey:hover, #lbPrev.grey:visited:hover { background: url(images/prev_grey.gif) left 15% no-repeat; }
       #lbPrev.red:hover, #lbPrev.red:visited:hover { background: url(images/prev_red.gif) left 15% no-repeat; }
       #lbPrev.green:hover, #lbPrev.green:visited:hover { background: url(images/prev_green.gif) left 15% no-repeat; }
       #lbPrev.blue:hover, #lbPrev.blue:visited:hover { background: url(images/prev_blue.gif) left 15% no-repeat; }
       #lbPrev.gold:hover, #lbPrev.gold:visited:hover { background: url(images/prev_gold.gif) left 15% no-repeat; }
       
    #lbNext { width: 49%; height: 100%; background: transparent url(images/blank.gif) no-repeat; display: block; right: 0; float: right; }
       #lbNext.grey:hover, #lbNext.grey:visited:hover { background: url(images/next_grey.gif) right 15% no-repeat; }
       #lbNext.red:hover, #lbNext.red:visited:hover { background: url(images/next_red.gif) right 15% no-repeat; }
       #lbNext.green:hover, #lbNext.green:visited:hover { background: url(images/next_green.gif) right 15% no-repeat; }
       #lbNext.blue:hover, #lbNext.blue:visited:hover { background: url(images/next_blue.gif) right 15% no-repeat; }
       #lbNext.gold:hover, #lbNext.gold:visited:hover { background: url(images/next_gold.gif) right 15% no-repeat; }

    #lbPrev2, #lbNext2 { text-decoration: none; font-weight: bold; }
       #lbPrev2.grey, #lbNext2.grey, #lbSpacer.grey { color: #333333; }
       #lbPrev2.red, #lbNext2.red, #lbSpacer.red { color: #620000; }
       #lbPrev2.green, #lbNext2.green, #lbSpacer.green { color: #003300; }
       #lbPrev2.blue, #lbNext2.blue, #lbSpacer.blue { color: #01379E; }
       #lbPrev2.gold, #lbNext2.gold, #lbSpacer.gold { color: #666600; }
       
    #lbPrev2_Off, #lbNext2_Off { font-weight: bold; }
       #lbPrev2_Off.grey, #lbNext2_Off.grey { color: #CCCCCC; }
       #lbPrev2_Off.red, #lbNext2_Off.red { color: #FFCCCC; }
       #lbPrev2_Off.green, #lbNext2_Off.green { color: #82FF82; }
       #lbPrev2_Off.blue, #lbNext2_Off.blue { color: #B7CAEE; }
       #lbPrev2_Off.gold, #lbNext2_Off.gold { color: #E1E100; }
       
    #lbDetailsData { padding: 0 10px; }
       #lbDetailsData.grey { color: #333333; }
       #lbDetailsData.red { color: #620000; }
       #lbDetailsData.green { color: #003300; }
       #lbDetailsData.blue { color: #01379E; }
       #lbDetailsData.gold { color: #666600; }

    #lbDetails { width: 60%; float: left; text-align: left; }
    #lbCaption { display: block; font-weight: bold; }
    #lbNumberDisplay { float: left; display: block; padding-bottom: 1.0em; }
    #lbNavDisplay { float: left; display: block; padding-bottom: 1.0em; }

    #lbClose { width: 64px; height: 28px; float: right; margin-bottom: 1px; }
       #lbClose.grey { background: url(images/close_grey.png) no-repeat; }
       #lbClose.red { background: url(images/close_red.png) no-repeat; }
       #lbClose.green { background: url(images/close_green.png) no-repeat; }
       #lbClose.blue { background: url(images/close_blue.png) no-repeat; }
       #lbClose.gold { background: url(images/close_gold.png) no-repeat; }

    #lbPlay { width: 64px; height: 28px; float: right; margin-bottom: 1px; }
       #lbPlay.grey { background: url(images/play_grey.png) no-repeat; }
       #lbPlay.red { background: url(images/play_red.png) no-repeat; }
       #lbPlay.green { background: url(images/play_green.png) no-repeat; }
       #lbPlay.blue { background: url(images/play_blue.png) no-repeat; }
       #lbPlay.gold { background: url(images/play_gold.png) no-repeat; }
       
    #lbPause { width: 64px; height: 28px; float: right; margin-bottom: 1px; }
       #lbPause.grey { background: url(images/pause_grey.png) no-repeat; }
       #lbPause.red { background: url(images/pause_red.png) no-repeat; }
       #lbPause.green { background: url(images/pause_green.png) no-repeat; }
       #lbPause.blue { background: url(images/pause_blue.png) no-repeat; }
       #lbPause.gold { background: url(images/pause_gold.png) no-repeat; }
Aggiungere il seguente codice a destra prima di </head> in styles/prosilver/template/overall_header.html

Codice: Seleziona tutto

<script type="text/javascript" src="lytebox.js"></script>

BBCode:

Codice: Seleziona tutto

[lytebox={URL1}]{URL2}[/lytebox]
HTML:

Codice: Seleziona tutto

<a href="{URL1}" rel="lytebox"><img style="border: 1px solid black;" src="{URL2}" alt="" /></a>
Aiuto in linea:

Codice: Seleziona tutto

Lytebox: [lytebox=Url per la grande immagine]Url alla miniatura[/lytebox]
Esempio:

Codice: Seleziona tutto

[lytebox=http://phpbb3world.com/images/billede8.jpg]http://phpbb3world.com/images/billede8lille.jpg[/lytebox]    [lytebox=http://phpbb3world.com/images/billede1.jpg]http://phpbb3world.com/images/billede1lille.jpg[/lytebox]
Demo:

BBCode:

Codice: Seleziona tutto

[lyteboxgroup={URL1}]{URL2}[/lyteboxgroup]
HTML:

Codice: Seleziona tutto

<a href="{URL1}" rel="lytebox[group]"><img style="border: 1px solid black;" alt="" title="" src="{URL2}" /></a>
Aiuto in linea:

Codice: Seleziona tutto

Lyteboxgroup: [lyteboxgroup=Url per la grande immagine]Url alla miniatura[/lyteboxgroup]
Esempio:

Codice: Seleziona tutto

[lyteboxgroup=http://phpbb3world.com/images/billede16.jpg]http://phpbb3world.com/images/billede16lille.jpg[/lyteboxgroup]    [lyteboxgroup=http://phpbb3world.com/images/billede6.jpg]http://phpbb3world.com/images/billede6lille.jpg[/lyteboxgroup]
    [lyteboxgroup=http://phpbb3world.com/images/billede8.jpg]http://phpbb3world.com/images/billede8lille.jpg[/lyteboxgroup]    [lyteboxgroup=http://phpbb3world.com/images/billede1.jpg]http://phpbb3world.com/images/billede1lille.jpg[/lyteboxgroup]
Demo:

BBCode:

Codice: Seleziona tutto

[lyteshow={URL1}]{URL2}[/lyteshow]
HTML:

Codice: Seleziona tutto

<a href="{URL1}" rel="lyteshow[group]"><img style="border: 1px solid black;" alt="" title="" src="{URL2}" /></a>
Aiuto in linea:

Codice: Seleziona tutto

Lyteshow: [Lyteshow=Url per la grande immagine]Url alla miniatura[/Lyteshow]
Esempio:

Codice: Seleziona tutto

[lyteshow=http://phpbb3world.com/images/billede16.jpg]http://phpbb3world.com/images/billede16lille.jpg[/lyteshow]    [lyteshow=http://phpbb3world.com/images/billede6.jpg]http://phpbb3world.com/images/billede6lille.jpg[/lyteshow]
    [lyteshow=http://phpbb3world.com/images/billede8.jpg]http://phpbb3world.com/images/billede8lille.jpg[/lyteshow]    [lyteshow=http://phpbb3world.com/images/billede1.jpg]http://phpbb3world.com/images/billede1lille.jpg[/lyteshow]
Demo:
Menu Forum ha scritto:

Rispondi

Torna a “Mod BBCode”

Chi c’è in linea

Visitano il forum: Nessuno e 4 ospiti