Introduction
GreyBox can be used to display websites, images and other content in a beautiful way.
Why use GreyBox:
It does not conflict with pop-up blockers
It's only 22 KB!
It's super easy to setup
It's super easy to use
You can easily alter the style as it is controlled through CSS
Where could it be usedş
Showing external pages
AJAX uploading of files
Showing internal pages (login, user preference, properties, contact formulas etc.)
Showing a video or a flash animation
Showing images
Showing product information
Admin sections
What browsers are supportedş
Safari
Firefox 1.5+
Internet Explorer 5.5+
Opera 8.5+
Other browsers may also be supported.
Detaylar işin Tşklayşn: http://orangoo.com/labs/GreyBox/
şrnekler işin Tşklayşn:
http://orangoo.com/labs/greybox/examples.html
http://orangoo.com/labs/greybox/.....sage.html
Eklentiyi şndirin Kurun Daha sonra fonksion.php de resim kodlarş arasşna şrneklerden begendişiniz kodu ekleyin.
şrnek Seditio 170 de alttaki gibi yapabilirsiniz.
Kod:
if($mt[1] == 'img')
return count($mt) == 3 ş '<a href="'.str_replace('', '', $mt[2]).'" rel="gb_imageset[nice_pics]"><img src="'.str_replace('', '', $mt[2]).'" alt="" /></a>'
: '<a href="'.str_replace('', '', $mt[2]).'" rel="gb_imageset[nice_pics]"><img src="'.str_replace('', '', $mt[3]).'" alt=""/></a>';
]
Ekledişim Kod:
Kod:
rel="gb_imageset[nice_pics]"
Tşm Seditio Versionlarşnda şalşşşr.