1
Chit Chat / Re: JavaScript + CSS = Nice Picture Display
« on: April 03, 2007, 07:05:37 PM »
Schade.
Gruß
Markus
Gruß
Markus
4images code on GitHub Click here to visit GitHub.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
<a href="{media_src}" target="_blank" rel="lightbox">{thumbnail}</a>
Im Quellcode tauchen dann natürlich beide hrefs auf und er nimmt den alten Link:<a href="./data/media/104/002.jpg" target="_blank" rel="lightbox"><a href="./image-3450.htm"><img src="./data/thumbnails/104/002.jpg" border="1" width="89" height="67" alt="002" /></a></a>
Inspired by this threadHat es einer bereits geschafft, die Lightbox in die categories.php einzubauen?
http://www.4homepages.de/forum/index.php?topic=9885.msg47995#msg47995
I got it to work on the details page by wrapping the {image} in the following tags
<a href="{media_src}" target="_blank" rel="lightbox">{image}</a>
However, I want it on the categories view that the lightbox opens if clicking on the thumbnail.
I tried the same trick with thumbnail_bit.html by wrapping the thumbnail in a href-tags and the rel="lightbox" tags but it won't work.
Any ideas how to get it work on the categories page?
Try to ask in the appropriated topic :
I've wrote a simple news system, easier than the one published by Fugazima.
MOD Demo : http://www.bestof-sexe.com/4images/
08/22/2004: Update to version 1.2.0
09/12/2004: Update to version 1.3.0
Installation Steps:
Download zip file containing all files and installation or upgrade from 1.2 instructions
@ v@no
Thanks v@no.QuoteLets do one step at a time: fix the javascript errors, then if the problem remains, we'll continue troubleshoot.How can find or see the javascript errors. I am using IE. In the status line there is no error to see.
Could you please help me to find. Thanks.
Hi, i would like to add the image name in the URL like this : www.mydomain.com/img,IMAGE-NAME,id.html
i can do it if i add an argument in the url function like thisCode: [Select]function url($url, $amp = "&", $name ) {
...
$url = str_replace('details.php', 'img,'.$name.','.$matches[1].'.html', $url);
}
then in details.php, i put this code for previous image link :Code: [Select]$prev_image_url = $site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$prev_image_id.((!empty($mode)) ? "&mode=".$mode : ""),0,$prev_image_name);
but, honnestly, its very boring to change every "$site_sess->url()" to add the third argument, so does anyone have an idea please ?
i would like to do the same for categories and search
thanks for help
how to insert search.php?search_keywords in the url friendly ?