• Resolved dominicc2003

    (@dominicc2003)


    I’m using the template “MyJournal Hypereal” and I want to edit the template so that each page loads with the body tags being:
    <body onLoad="change_link()"> and </body>.
    but I can’t figure where to put it!
    The files I can edit are:

    * Stylesheet
    * Main Index Template
    * 404 Template
    * Archives
    * Archives Page
    * attachment.php
    * author.php
    * Category Template
    * Comments
    * Footer
    * functions.php
    * Header
    * Links Page
    * Page Template
    * Search Results
    * Sidebar
    * Single Post
    * Sitemap

    Could someone hold my hand and help me? ??

    Also, I’m having trouble adding <script src="exit_bar.js"></script> to the header. I pasted it in to header.php and it doesn’t load with the body as yet (the html source doesn’t contain “<script src=”exit_bar.js”></script>”

    Thanks,
    Dom

Viewing 1 replies (of 1 total)
  • “<script src=”exit_bar.js”></script>” should come before the </head>

    Add “onLoad=”change_link()”>” after <Body>.

Viewing 1 replies (of 1 total)
  • The topic ‘How to make “<body onLoad=”change_link()”>” automatic (integrated) in template?’ is closed to new replies.