OK, no grand promises here, only a note to say "I've started." . . . posting stuff that may be useful to some else, as it has been to me.

  • Force Frame (Javascript Pair)
  • Browser and Platform Detection (Javascript-in-HTML page)
  • Please let me know if I've goofed something up, or if you have questions, improvements, or kudos.
    Dan Feather
    dan@danfeather.com

    29 JUN 2000


    Force Frame (Javascript Pair)

    Two pieces of javascript code for your site that will take care of the frame thing; one for your frameset pages, the other for your frame pages: (my own modification -- revised to trap js bug in Explorer 3 -- of a routine learned in "Javascript for the WWW, 3rd ed.", (Negrino and Smith))

    . . . Adapting to your pages is as simple as doing a single URL replacement when you insert the first script, and setting up the second script to take the place of your current frameset page.

    View WWW Example Download autoframeload.zip (Mac users: Stuffit software handles .zip like .sit.)

    This script (copy from the text area below) goes in every frame page:

    This script (copy from the text area below) becomes your frameset page:


    To top of page


    Browser and Platform Detection (Javascript-in-HTML page)

    This code will give you the basic info of the browser viewing the page. In this instance, the information is written out to the page itself, but you can do WHATEVER YOU WANT to do with it!

    View WWW Example  

    This code (copy from the text area below) is an entire HTML page:


    To top of page



    Dan Feather    dan@danfeather.com
    Desktop publishing and prepress services
    Website and product development and testing
    Telephone troubleshooting and 'puter crisis counselling
    615-385-2812

    [  HOME  ]