Support Spidean

Do you like our FREE downloads? How about the FREE support for the FREE downloads? Please help us out and donate any amount! It's fast and easy through PayPal.

Spidean Forums

Board Index > Questions? > Set Class Attribute of Topic Images > Post Reply


Post Reply
Icon:
Message:



[More smilies...]
Bold   Italic   Underline   Code   Email   Quote   Url   Image   
Rights

HTML is Off
Smilies are On
BB Code is On
[img] Code is On

Disable smileys?
Use signature?
Turn BBCode off?
Receive email notification of new replies?

Topic Review


posted on 12/28/2006 at 10:41 PM

1. You can try wrapping it in a DIV with that class but I don't know about your application.
2. You can edit the topic-image command in modules/AutoTheme/includes/postnuke/atCommands.php
3. You can look at the command in #2 and use the code to define a Custom Command and add the class attribute.
4. You can build the image tag in the template using other news commands from the User Guide instead of using the topic-image command, for example:

<a href="{news:url:searchtopic}"> <img src="{news:text:topicimage}" class="reflect" /> </a>


-Shawn




posted on 12/28/2006 at 09:53 PM

Hello,

I was wondering where or how to set the class attribute for topic images?

I wanted to set up the image reflection script o­n the topic images and to make it work you need to set the class attribute to class="reflect". Currently my AutoTheme just uses the call for the topic image. How do I set the class attribute for this image to make the reflections script work?

Reflection.js script­: http://cow.neondragon.net/stuff/reflection/



Main Menu

Get AutoTheme

Featured Item

Poll

How do you like the new look?

[ Results | Polls ]

Votes: 103
Comments: 0

Powered by the AutoTheme HTML Theme System
Page created in 0.105201 Seconds