rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: mzmegang on November 05, 2006, 06:17:42 AM

Title: java script, need help
Post by: mzmegang on November 05, 2006, 06:17:42 AM
I try to make a certain banner(image) for certain folder.. ANyone can help.. I want the image to be at the top of the file list.. meaning that, let say for movie folder, i want a picture of superman, and for music folder, i want a picture of metallica to be displayed.. anyone can helP?
Title: Re: java script, need help
Post by: maverick on November 05, 2006, 06:42:53 AM

You could use the 'comment' function ...

For example:  Right click on your movie folder and select comment.  Then add the appropriate html code like -> <img src="/superman.jpg"> .  Then in your virtual file system, right click on / and select add files and add superman.jpg.  Once the jpg is added to the file system, right click on it and hide it.  Done.   You might have to refresh your browser screen to see the change.
Title: Re: java script, need help
Post by: rejetto on November 05, 2006, 11:25:53 AM
if he doesn't want to show the banner also on the list, but only on the content page, then he can use diff template, the new feature introduced in 2.1
Title: Re: java script, need help
Post by: mzmegang on November 05, 2006, 12:38:19 PM
how can I use different template for different folder?
Title: Re: java script, need help
Post by: rejetto on November 05, 2006, 01:27:59 PM
right click on the folder -> diff template

you must be in expert mode

remember you don't have to enter the full template, just the sections you want to change