• Where does the jscript go? (Front Page 2003)

    Home » Forums » Developers, developers, developers » Web design and development » Where does the jscript go? (Front Page 2003)

    Author
    Topic
    #455866

    While I have created a few webpages in my day, I have never had to insert script before and cant work out where it should go.

    The script is to create a menu and I have it in a file that can be called by all pages. If I put the tags in the header, the menu appears top left of the page which isnot where I want it to go.

    I have tried putting those script tags within the html at the place where I want the menu to go, but it still shows at the top left.

    Can anyone help?

    Johanna

    Viewing 0 reply threads
    Author
    Replies
    • #1136692

      Some scripts use document.write, which requires that you insert the script into your page exactly where you want the inserted text to go. Others use more flexible methods that allow you to use an external file but place some kind of placeholder in the document (e.g.,

      ). This is difficult to know without looking at the script. Also check the related style rules for positioning the menu and make sure the browser is seeing and applying them.

      • #1136729

        Thank you Jefferson,

        I think that what you have written is what I have been reading, but you have said it in a much simpler way.

        It is certainly enough for me to go on.

        Johanna

    Viewing 0 reply threads
    Reply To: Where does the jscript go? (Front Page 2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: