This forum is for assistance with theme development.

IE PNG alpha support

This works for me in Drupal 4.7 ( I am thinking of creating a module to handle this issue)

1. Download pngbehavior from: http://www.scss.com.au/images/pngbehavior.htc

2. upload a transparent 1x1 pixel gif called blank.gif to your theme I put mine in themes/bluemarine/images/blank.gif
Note: having non alphanumeric text in your theme dir name can cause problems

3. in pngbehavior.htc edit:
(line 7) to point to blank.gif

var blankSrc = "/site/themes/bluemarine/images/blank.gif";

and
(line 42) to use the image sizing method

      element.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" +
                                     src + "',sizingMethod='image')";

4. Add the following to the top of your style.css

/* Handle PNGs in IE */
img, input{
   behavior: url("/site/themes/bluemarine/pngbehavior.htc");
}

That should do the trick!
I do not think this method handles stylesheet images correctly, but will handle all images placed in any of the theme.php files, php files in site content, the logo etc.

If you really need css placed images to work, let me know.
Also, you can find more information on PNG images in IE here
http://www.scss.com.au/family/andrew/webdesign/pngbehavior/
and the reference for alphaimageloader here
http://msdn.microsoft.com/workshop/author/filter/reference/filters/alpha...

table view wish

Hello all,
I have recently been trying to create a new website called publicsandbox. While trying to implement the FAQs I have run into a bit of a snag. I am using the views module to organize and list my FAQ's and I like the table view but there aren't any links when the FAQs are displayed using the table format, only with teaser and full node. Is there any way that I can force the table view to supply links.

Best regards, Derek

Theming With Category Module

I've created a dynamic theme based on this article (which works great):
http://drupal.org/node/46027

However, how do I go about theming using the category module?

I would like to be able to change layouts based on the root container and also specific categories.

Also, are there any functions available from the cateogry module that will return the root container for a node?

Add a part of an image gallery in a page

I want to insert a part of a gallery (for example the first row) in a page. Is it possible?
I need to achieve something like this:

###############

PAGE
text text text text
text text text text
text text text text
text text text text
text text text text

[Some images]

Go to link for more image

################

Thanks in advance to all.

Display "local tasks" tabs like a menu tree

Hi,

Is there a way to display tabs like a classic menu structure (like the default navigation menu for instance, with submenus directly placed after the parent item) ? It could allow me to create a "local tasks" block.

For instance on admin/access/rules I would have a block which displays :
-(leaf)permissions
-(leaf)roles
-(expanded)access rules(active)
-(leaf)list
-(leaf)add rule
-(leaf)check rules

On api.drupal.org, i see :

different themes for different taxonomy

I am trying to use Taxonomy theme http://drupal.org/project/taxonomy_theme
It works fine, but i need to have different blocks for every theme, its doesn"t work, i enable theme and i assign enable/desable blocks in blocs admin configuration for every theme, it doesn't work

I want to make something like that http://www.theonion.com/content/sports

Pages

Subscribe with RSS Subscribe to RSS - Theme development