main
side
curve
  1. In Memory of LAJ_FETT: Please share your remembrances and condolences HERE

suggestion

Discussion in 'Communications' started by Kerr_Plunk, Sep 12, 2002.

Thread Status:
Not open for further replies.
  1. Gandalf the Grey

    Gandalf the Grey Jedi Knight star 6

    Registered:
    May 14, 2000
    LOL.

    A respost from the depths of the Mod Squad! :eek:

    Date Posted: 9/16 4:46pm Subject: RE: 3SA (and others, starting with Literature) Forum Header Redesign

    I've just had a bit of a brainwave. I've got a solution to the character limit, for users with JavaScript enabled anyway (which must be 99.9% of all of us).

    In the theme header, you'd put this:

    <script language="JavaScript">
    <!--
    function buildForumHeader()
    {
    document.write('Your unlimited-character header goes here');
    }
    //-->
    </script>

    Then, you set this as the board header:

    <script language="javascript">buildForumHeader();</script><noscript>[<a class="MainMenuLink" href="http://www.theforce.net/episode3/">TheForce.net Episode III</a>] &nbsp;<a class="MainMenuLink" href="default.asp">Jedi Council Forums</a> &raquo; <a class="MainMenuLink" href="default.asp?cat=10001">The Star Wars Films</a> &raquo; <a class="MainMenuLink" href="board.asp?brd=10331">Episode III (Spoilers Allowed)</a> &raquo;</noscript>

    What that will do is call the JavaScript function 'buildHeader()' if JavaScript is enabled. That function will output the header just as normal, except give us an unlimited character length.

    If the user doesn't have JavaScript enabled (about 2 people over all the forums, probably) then the HTML between the <noscript></noscript> tags will be output instead. So, in the above example, it will only output the standard ' [TheForce.net Episode III] Jedi Council Forums » The Star Wars Films » Episode III (Spoilers Allowed) »' navigation.

    Assuming that the theme header can be of unlimited size, this is indeed of great help to us.


    :eek:

    The only explanation: Kadue is playing mind games with us!
     
  2. green_cross_code

    green_cross_code Jedi Knight star 5

    Registered:
    Jul 11, 2000
    And we've just started moving onto external JavaScript, which makes things easier all round.
     
  3. Night4554

    Night4554 Jedi Grand Master star 5

    Registered:
    Oct 9, 2000
    **gasp**

    Mod Squad material!

    QUICK! SCREENSHOTS!!!

    ;) :D

    _/¯¯'Anyway, cool'¯¯\____/¯¯'Like My Design Concept?'¯¯\__

    ;) *shrug*

    ¤Night
     
Thread Status:
Not open for further replies.