titleExBB: Forum flat-db in italiano

ExBB logo

ExBB (Exclusive Bulletin Board) è un potente script forum scritto in PHP open source. E' altamente configurabile, sono disponibili inoltre molti MOD. Non necessita di nessun tipo di database come MySql o PostgreSQL.


  
Un nuovo blocco per xSPB, o per un qualsiasi altro sito.

Aggiungete un blocco con il seguente codice html:
<TABLE width="100%\ height="100%" border=0 cellPadding=0 cellSpacing=0>
<TBODY><TR><TD align=left><center><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/
flash/swflash.cab#version=6,0,0,0"
WIDTH="130" HEIGHT="130" id="relog" ALIGN="">
<PARAM NAME=movie VALUE="blocks/relog.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<param name="wmode" value="transparent">
<param name="menu" value="false">
<EMBED src="blocks/relog.swf" quality=high bgcolor=#FFFFFF WIDTH="130" HEIGHT="130" wmode="transparent" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" menu="false">
</EMBED></OBJECT></center></TD></TR></TBODY></TABLE>
tra i tags [ html] e [ /html].

Create una cartella di nome 'blocks' nella cartella principale di xSPB, e caricateci questo file: relog.swf .

P.S.: il link in codebase è tutto attaccato (non spezzato come lo io)
lunedì, 24 ottobre 2005 -- 18:46
  |  Rating starRating starRating starRating starRating star ( 0 / 0 )


  
In collaborazione con SPBItalia, è in atto una riscrittura completa e più dinamica e conforme di SPB (Simple Php Blog ).

I files con documentazione non sono ancora disponibili al pubblico, ma potete dare uno sguardo al progetto qui:Files del progetto.


venerdì, 21 ottobre 2005 -- 18:56
  |  Rating starRating starRating starRating starRating star ( 0 / 0 )


  
title
CSS, JavaScript
Immagini semitrasparenti
Compatibilità:

# For IE we can set: this.filters.alpha.opacity=50
# For Mozilla we set: this.style.MozOpacity=0.5
<img
src="data/thumbs/Art/ponte.jpg.jpg"
width="105" height="140"
alt="solar-radar (7K)"
style="-moz-opacity:0.5; filter:alpha(opacity=50); cursor:hand"
onmouseover="this.style.MozOpacity=1; this.filters.alpha.opacity=100"
onmouseout="this.style.MozOpacity=0.5; this.filters.alpha.opacity=50"
>

Al passaggio del mouse l'immagine si "illumina".

solar-radar (7K)


giovedì, 13 ottobre 2005 -- 16:51
  |  Rating starRating starRating starRating starRating star ( 0 / 0 )


  
CSS Transparency for Internet Explorer (IE), Mozilla and Safari.
<style type="text/css">
<!--
/* This is the background image */

div.prova {
padding:20px;
background: url(albums/Art/elfo.jpg);
border: 2px solid blue;}

/* This is the transparent box 50% */
div.prova0 {
width: 300px;
border: 2px solid blue;

background-color: #fff;
filter:alpha(opacity=50);
opacity: 0.5;
-moz-opacity:0.5;
}

-->
</style>

Ecco un esempio:
<div class="prova">
<div class="prova0">
50% Lorem ipsum dolor sit amet, consectetuer adipiscing etc. etc.
</div>

</div>

Produrrà una cosa di questo tipo:
50% Lorem ipsum dolor sit amet, consectetuer adipiscing etc. etc.
80% Lorem ipsum dolor sit amet, consectetuer adipiscing etc. etc.
Lorem ipsum dolor sit amet, consectetuer adipiscing etc. etc.

Viene però applicato anche al testo:

50% Lorem ipsum dolor sit amet, consectetuer adipiscing etc. etc.
80% Lorem ipsum dolor sit amet, consectetuer adipiscing etc. etc.
Lorem ipsum dolor sit amet, consectetuer adipiscing etc. etc.


ATTENZIONE!: Potrebbero esserci incompatibilità con alcuni browser.
giovedì, 13 ottobre 2005 -- 03:06
  |  Rating starRating starRating starRating starRating star ( 0 / 0 )


  
title
PHP, JavaScript
Risoluzione schermo
Se avremo per qualche motivo bisogno di conoscere la risoluzione schermo dei visitatore, ecco un semplice script che integra PHP a Javascript:

get_resolution.php


Download this script 1:  <?
 2:  
if(isset($HTTP_COOKIE_VARS["users_resolution"]))
 3:      
$screen_res = $HTTP_COOKIE_VARS["users_resolution"];
 4:  else
//means cookie is not found set it using Javascript
 5:  
{
 6:  
?>
 7:  
<script language="javascript">
 8:  <!--
 9:  writeCookie();
10:  
11:  function writeCookie()
12:  {
13:   var today = new Date();
14:   var the_date = new Date("December 31, 2023");
15:   var the_cookie_date = the_date.toGMTString();
16:   var the_cookie = "users_resolution="+ screen.width +"x"+ screen.height;
17:   var the_cookie = the_cookie + ";expires=" + the_cookie_date;
18:   document.cookie=the_cookie
19:      
20:   location = 'get_resolution.php';
21:  }
22:  //-->
23:  </script>
24:  <?
25:  
}
26:  
?>
27:  
</HEAD>
28:  <BODY>
29:  <?php
30:  
echo "Hai una risoluzione di: $screen_res";
31:  
?>

Produrrà: un risultato di questo tipo: esempio
martedì, 11 ottobre 2005 -- 14:01
  |  Rating starRating starRating starRating starRating star ( 0 / 0 )



Indietro Altre notizie