Skip to main content
November 4, 2009
Answered

Change Horizontal Template to Vertical RH 7

  • November 4, 2009
  • 1 reply
  • 1185 views

Hello,

I'm wanting to just move the TOC in a horizontal template to the top to make it vertical. What files do i need to edit? I couldn't find a similar topic or relevant information. The skin I'm using is Titanium in RH 7.

Forgive me if this is a repeat or blatantly obvious.

Regards,

Eric

    This topic has been closed for replies.
    Correct answer Willam van Weelden

    Hi,

    Open whskin_frmset01.htm in your output directory. Use find and replace to replace all instances of 'cols' with 'rows', there are nine occurences.

    Then, go to line 109 and replace 'nPos=oWnd.document.body.offsetWidth;' with 'nPos=oWnd.document.body.offsetHeight;'

    Last, go to line 111 and replace 'nPos=oWnd.document.body.offsetHeight;' with 'nPos=oWnd.document.body.offsetWidth;'

    Save your file and paste it in every ouput you want a vertical TOC.

    You can also set the size of the TOC in whskin_frmset01.htm. there are several instances of 220,* (or another value than 220) in the file. Replace all instances of 220 with height you want the TOC to have.

    Greet,

    Willam

    1 reply

    Willam van Weelden
    Inspiring
    November 5, 2009

    Hi,

    I'm not sure what you want to do. Do you want to move the TOC so it's positioned above the topic? Please be a more specific.

    Greet,

    Willam

    November 5, 2009

    Yes, I want to move the TOC above the topic.

    Regards,

    Eric

    Willam van Weelden
    Willam van WeeldenCorrect answer
    Inspiring
    November 5, 2009

    Hi,

    Open whskin_frmset01.htm in your output directory. Use find and replace to replace all instances of 'cols' with 'rows', there are nine occurences.

    Then, go to line 109 and replace 'nPos=oWnd.document.body.offsetWidth;' with 'nPos=oWnd.document.body.offsetHeight;'

    Last, go to line 111 and replace 'nPos=oWnd.document.body.offsetHeight;' with 'nPos=oWnd.document.body.offsetWidth;'

    Save your file and paste it in every ouput you want a vertical TOC.

    You can also set the size of the TOC in whskin_frmset01.htm. there are several instances of 220,* (or another value than 220) in the file. Replace all instances of 220 with height you want the TOC to have.

    Greet,

    Willam