Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Dreamweaver template - Body tag to be editable



11:04 pm on May 7, 2006 (gmt 0)

I have created a template in dreamweaver, which all works fine. The probelm is that on one page in my site I need to be able to edit the body tag to add an onload attribute. Rather than detaching the template from the page is there a way to make the body tab editable on every page?

I need to edit the "onload=" of the <body> tag in dreamweaver MX templated pages.


8:44 am on May 8, 2006 (gmt 0)

5+ Year Member

in this case i think u should edit outsite dreamweaver fot tat page only otherwise just use java script for the 1st load?


9:55 pm on May 8, 2006 (gmt 0)

10+ Year Member

You can make the onload attribute of the body tag editable (even though it's not in an editable region) by putting the cursor in the body tag, and choosing modify/template/make attribute editable.

DW will throw some code into the template, and the result is that when you go into a document based on the template, you can click modify/template properties, and set the appropriate action you want for onload.


Featured Threads

Hot Threads This Week

Hot Threads This Month