PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Para620
Regular
Regular


Joined: Mar 16, 2004
Posts: 62

PostPosted: Sun Apr 03, 2005 12:40 am Reply with quote Back to top

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>
   
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Apr 03, 2005 7:58 am Reply with quote Back to top

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="">
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Para620
Regular
Regular


Joined: Mar 16, 2004
Posts: 62

PostPosted: Sun Apr 03, 2005 4:08 pm Reply with quote Back to top

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.
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Apr 03, 2005 4:34 pm Reply with quote Back to top

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 Laughing
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Para620
Regular
Regular


Joined: Mar 16, 2004
Posts: 62

PostPosted: Sun Apr 03, 2005 5:00 pm Reply with quote Back to top

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?
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Apr 03, 2005 5:17 pm Reply with quote Back to top

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?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Para620
Regular
Regular


Joined: Mar 16, 2004
Posts: 62

PostPosted: Sun Apr 03, 2005 8:42 pm Reply with quote Back to top

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. RavensScripts
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum