rejetto forum

Define Image and Scripts Locations

Guest · 2 · 3029

0 Members and 1 Guest are viewing this topic.

Nick

  • Guest
I am somewhat new at creating HTML templates and gotten pretty far w/ my first template but am running into a problem that I can not find any documentation on but from what I see from others templates is probally just a matter of a few tweaks(or hopefully is)

Basically,  how do I modify a image src or script to only show on my initial page and not the subsequent pages.

<img src="SystemFolder/frr recovery.jpg"width="260" height="190"vspace="25" hspace="25">
<align="right" >

and


<TITLE>Page Titlex</TITLE>
<!--- Hide from old browsers
 {location.href =
list.options[list.selectedIndex].value}
// end hiding -->
   FRR Recovery Inc. Web Directory
   <font color=#000080>



Any help with this issue would be greatly,greatly appreciated.
« Last Edit: July 15, 2009, 08:36:41 AM by TSG »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
I am somewhat new at creating HTML templates and gotten pretty far w/ my first template but am running into a problem that I can not find any documentation on but from what I see from others templates is probally just a matter of a few tweaks(or hopefully is)

the template system is documented, although largely improvable
http://www.rejetto.com/wiki/index.php/HFS:_Template

Quote
Basically,  how do I modify a image src or script to only show on my initial page and not the subsequent pages.

you can use javascript (can't help with it right now), or use template macros if you are using HFS 2.3
with the latter, it's simple as

Code: [Select]
{.if|{.%folder% = /.}|
<img src='mypic.jpg'>
.}

Quote
<TITLE>Page Titlex</TITLE>
<!--- Hide from old browsers
 {location.href =
list.options[list.selectedIndex].value}
// end hiding -->
   FRR Recovery Inc. Web Directory
   <font color=#000080>


Any help with this issue would be greatly,greatly appreciated.

i don't understand anything by reading. just garbage.  :-\