Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2006-03-19 04:49:23

Finnish
Member
From: Russia, Vladivostok
Registered: 2005-11-02
Posts: 13

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

the lightbox acts wierdly in Opera 9 build 8265.
anyone noticed same behavior?


have a nice day :)

Offline

#38 2006-03-24 13:08:34

maarten
Member
From: Netherlands
Registered: 2005-02-19
Posts: 130
Website

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

As this is related to the CSS supplied with this plugin I’m posting it here. The plugin’s CSS messes up my validation. Anyone experienced the same problem and knows how to get rid of it?

Line: 108 Context : * html #overlay

attempt to find a semi-colon before the property name. add it
  • Line: 108 Context : * html #overlay
Property progid doesn’t exist : DXImageTransform
  • Line: 108 Context : * html #overlay
Parse Error – DXImageTransform.Microsoft.AlphaImageLoader(src=“http://www.xpressit.nl/images/lightbox_overlay.png”, sizingMethod=“scale”);
  • Line: 109 Context : * html #overlay

Parse error – Unrecognized : }

Offline

#39 2006-03-24 13:43:58

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

maarten, you are right. Lightbox CSS is not valid. Damm IE and its PNG support

But i dont know how to change that. Perhaps the IE & PNG should be handled by JS?

Offline

#40 2006-03-24 16:09:27

Skubidu
Archived Plugin Author
Registered: 2004-10-23
Posts: 611
Website

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

You could use conditional comments to serve the invalid CSS only to IE.

Offline

#41 2006-03-24 16:40:42

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

If we think about valid and semantic markup and styling:
Comment-tag should contain comments.

So i would prefer the JS-method. If you come with IE and JS is disabled you get the large-image as link,
if JS enable, you see the large image in a Lightbox, managing PNG support with JS.

Offline

#42 2006-03-24 17:39:56

maarten
Member
From: Netherlands
Registered: 2005-02-19
Posts: 130
Website

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

I’ve searched the web everywhere to find a CSS solution but couldn’t find one. Don’t know if JS would solve it, goes beyond my knowledge.

Offline

#43 2006-03-24 22:23:13

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

I’ve searched the web everywhere to find a CSS solution but couldn’t find one.

You didn’t find a valid solution to show PNG in IE, because there is none!
Microsoft didn’t implement the alpha-transperency.
You can use this <code>AlphaImageLoader</code> filter, but it’s proprietary and it’s function is limited.

Offline

#44 2006-03-24 23:50:06

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

Bastian,Maarten

Have you seen this plugin? It may be of service for what you are talking about. I have a copy somewhere in it’s original form if you would like to have a look.

Last edited by soulship (2006-03-24 23:50:55)

Offline

#45 2006-03-24 23:51:52

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

I’ll give it a shot…

<pre><code><?php $plugin=‘YTo4OntzOjc6InZlcnNpb24iO3M6MzoiMC4xIjtzOjY6ImF1dGhvciI7czoxNjoiSmFzcGF1bCBBZ2dhcndhbCI7czoxMDoiYXV0aG9yX3VyaSI7czoyMzoiaHR0cDovL3d3dy5qYXNwYXVsLmNvbS8iO3M6MTE6ImRlc2NyaXB0aW9uIjtzOjE1MzoiVGhlICdnZXRfYnJvd3Nlcl9wbmcnIHBsdWdpbiBhbGxvd3MgdHJhbnNwYXJlbnQgaW1hZ2VzIHdpdGggdGhlICdwbmcnIGV4dGVuc2lvbiB0byBiZSBkaXNwbGF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mdW5jdGlvbiBqYV9icm93c2VyX3BuZygkYXR0cykgewoKCWlmIChpc19hcnJheSgkYXR0cykpIHsKCQlleHRyYWN0KCRhdHRzKTsKCX0gZWxzZSB7CgkJIyBlcnJvciBjaGVjay4KCQlyZXR1cm4gIkVycm9yOiBnZXRfYnJvd3Nlcl9wbmcgbXVzdCBoYXZlIGEgcGljdHVyZSBhdHRyaWJ1dGUuICBQbGVhc2UgZWRpdCB0aGUgcGx1Z2luIGNhbGwuPGJyLz4iOwoJfQoKCSR2aWV3ZXIgPSBnZXRlbnYoIkhUVFBfVVNFUl9BR0VOVCIpOwoJaWYgKHByZWdfbWF0Y2ggKCAiL01TSUUvaSIsICIkdmlld2VyIiApICkKCXsKCQkjSWYgaW50ZXJuZXQgZXhwbG9yZXIKCQlyZXR1cm4gImZpbHRlcjpwcm9naWQ6RFhJbWFnZVRyYW5zZm9ybS5NaWNyb3NvZnQuQWxwaGFJbWFnZUxvYWRlcihzcmM9JyRwaWN0dXJlJyk7IjsKCX0gZWxzZQoJewoJCSNPdGhlcndpc2UgZm9yIG90aGVyIGJyb3dzZXJzCgkJcmV0dXJuICJiYWNrZ3JvdW5kLWltYWdlOnVybCgnJHBpY3R1cmUnKTsiOwoJfQp9CiI7czozOiJtZDUiO3M6MzI6IjUxM2NiM2I4ZGU2MWIwM2ZlYzJhMGFkODJiYWFlODRkIjt9’ ?></code><pre>

Last edited by soulship (2006-03-24 23:53:04)

Offline

#46 2006-03-25 00:05:23

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

Thanks Soulship,

But the PNG support works for IE. It is not valid CSS, thats the problem.
The workaround with Mircosoft’s own filters in CSS displays the alpha-transperency,
but this <code>filters</code> and <code>AlphaImageLoader</code> stuff is not part of CSS

My goals for Lightbox are:

  • Valid XHTML and CSS
  • Work out of the box
  • Easy to implement to txp and easy to use
So i will add to next version:
  • PNG support for IE within JS not longer by CSS
  • I wrote a function that imports images to txp: I don’t have to upload the images, the plugin does.

Offline

#47 2006-03-25 10:32:30

maarten
Member
From: Netherlands
Registered: 2005-02-19
Posts: 130
Website

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

Soulship, thanks for thinking along.

Bastian, solving this in the next version would me great!

Last edited by maarten (2006-03-25 10:35:00)

Offline

#48 2006-03-29 23:15:34

Papuass
Member
From: Rīga, Latvija
Registered: 2006-03-28
Posts: 21
Website

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

There is a new version of lightbox from its developer Lightbox 2. Still pretty light with back – forward navigation and some scrolling effects (do you likie them?).

Offline

Board footer

Powered by FluxBB