close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Editable Body tag in a Template

Thread began 6/04/2009 4:34 am by Travis250923 | Last modified 6/04/2009 11:52 am by Justin Nemeth | 3080 views | 5 replies |

Travis250923

Editable Body tag in a Template

Any idea how to make the body tag editable in a template? I need to load a form from a cookie and need access to the body tag. I know I can add this by opening in notepad but would think there is an easy way to accomplish this.

Sign in to reply to this post

Joe Lowery

You can't turn the body tag into an editable region, but maybe there's another way to do what you want. You're trying to change something at design-time, not run-time, right?

Best- Joe

Sign in to reply to this post

Travis250923

I'm trying add the onload event to the body tag so that I can populate a form from a cookie.

Sign in to reply to this post

xag

showthread.php?t=1352

bottom of page 1

to top of page 2

Sign in to reply to this post

Travis250923

That should work and keep me from having to open in Notepad but seems silly there is not a way to place it in the body tag.

Sign in to reply to this post

Justin Nemeth

I would just use javascript to handle this....

window.onload = function() {
//your code
}


You can place that javascript in an external file, or in the head editable region.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...