homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

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)

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)

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved