rejetto forum

java script, need help

0 Members and 1 Guest are viewing this topic.

Offline mzmegang

  • Occasional poster
  • *
    • Posts: 5
    • View Profile
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?


Offline maverick

  • Tireless poster
  • ****
    • Posts: 1052
  • Computer Solutions
    • View Profile

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.
maverick


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
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


Offline mzmegang

  • Occasional poster
  • *
    • Posts: 5
    • View Profile
how can I use different template for different folder?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
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