| Author |
Message |
Para620 Regular


Joined: Mar 16, 2004 Posts: 62
|
Posted:
Sun Apr 03, 2005 12:40 am |
|
I am trying to get the title of each block to show up automatically. I can get the title to show up on the picture propierties when you right click but the image wont show up it self. Here is the code for it below.
| Code: | <TABLE WIDTH=160 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD COLSPAN=3>
<IMG SRC="themes/ParaRegiment/images/block_01.gif$title" WIDTH=160 HEIGHT=52 ALT="">
</TD>
</TR>
|
|
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sun Apr 03, 2005 7:58 am |
|
| Code: | | <IMG SRC="themes/ParaRegiment/images/block_01.gif$title" WIDTH=160 HEIGHT=52 ALT=""> | That code will break the image because you are appending the title to the "gif" extension. Is this what you mean? | Code: | | <IMG SRC="themes/ParaRegiment/images/block_01.gif" title="&title" WIDTH=160 HEIGHT=52 ALT=""> |
|
|
|
|
 |
Para620 Regular


Joined: Mar 16, 2004 Posts: 62
|
Posted:
Sun Apr 03, 2005 4:08 pm |
|
| Code: | | <IMG SRC="themes/ParaRegiment/images/block_01.gif" title="$title" WIDTH=160 HEIGHT=52 ALT=""> |
If i use this above, when I right click the image in Firefox and hit propierties, the correct title shows up under Misc. Propierties, however I am wanting the title to go onto the block/image. For example, your Donate o Meter, the title is automaticaly placed there, I am trying to get it to do this through that blocks.html page and I cant seem to figure it out. If I use flash I can get teh code to work but not with just a .gif file. Here is the test site I am trying to get it to work on, you can see in teh middle that I got it to work with the flash but nothing on the left and right blocks.
|
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sun Apr 03, 2005 4:34 pm |
|
I'm sorry, but I am totally not understanding what you are trying to do. The titles for the blocks are either derived from the block name or from the customized title field. Maybe it's the med's I'm on, I don't know  |
|
|
|
 |
Para620 Regular


Joined: Mar 16, 2004 Posts: 62
|
Posted:
Sun Apr 03, 2005 5:00 pm |
|
I am just trying to get the block title to show. I am probaly going about it all wrong. Sould I just run the blocks totally through my index.php instead of a block.html? |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sun Apr 03, 2005 5:17 pm |
|
The blocks are built off of the block name in the block folder. And/or through the Blocks admin control panel for both html blocks and block files. Whay don't you just use the standard method? |
|
|
|
 |
Para620 Regular


Joined: Mar 16, 2004 Posts: 62
|
Posted:
Sun Apr 03, 2005 8:42 pm |
|
I was trying to simple it up by making it editable from a .html file but I guess it didnt get much simpler. I will give the standard method a shot. Thanks for the input Raven.  |
|
|
|
 |
|
|
|
|