Page 1 of 1

Main page tweaking

PostPosted: Wed Apr 08, 2009 4:10 pm
by aphuey
Does anyone know how I might go about tweaking the layout on the main page? What I'd like to do is make the left frame (the frame with the folder index) run the entire height of the screen from top to bottom. I'd need to bump the top frame to the right to make this happen.

Does anyone know how difficult it would be to do this?

The reason for doing this is that I've placed a chat box in the left pane and I'd like to give it some more room to display messages.

Thanks!

PostPosted: Wed Apr 08, 2009 4:33 pm
by jigsaw
You want to look into editing SUBSONIC_HOME/WEB-INF/jsp/index.jsp

PostPosted: Wed Apr 08, 2009 5:10 pm
by aphuey
Looks like I found what I need to tweak... Just not sure exactly what needs changing. Any quick ideas? I need to educate myself on frame code I guess! Thanks!

Code: Select all
<frameset rows="70,*,0" border="1" framespacing="1" frameborder="1">
    <frame name="upper" src="top.view?">
    <frameset cols="15%,85%">
        <frame name="left" src="left.view?" marginwidth="10" marginheight="10">

        <frameset rows="70%,30%">
            <frame name="main" src="nowPlaying.view?" marginwidth="10" marginheight="10">
            <frame name="playlist" src="playlist.view?">
        </frameset>
    </frameset>
    <frame name="hidden" frameborder="0" noresize="noresize">

</frameset>

PostPosted: Wed Apr 08, 2009 7:32 pm
by soonerrob
try this...


Code: Select all
<frameset rows="*" cols="15%,85%" frameborder="1" border="1" framespacing="1">
  <frame src="left.view?" name="left">
  <frameset rows="70,*">
    <frame src="top.view?" name="upper">
    <frameset rows="70%,30%">
      <frame name="main" src="nowPlaying.view?" marginwidth="10" marginheight="10">
      <frame name="playlist" src="playlist.view?">
    </frameset>
  </frameset>
  <frame name="hidden" frameborder="0" noresize="noresize">
</frameset>