HighDots Forums  

template object nside the <body> tag?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss template object nside the <body> tag? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Aloosenation
 
Posts: n/a

Default Re: template object nside the <body> tag? - 11-24-2003 , 10:52 AM






Murray *TMM* wrote:

Quote:
Misha:


So having <body onload=""> is fine?


It's OK. It would be better if there were a dummy js function that it
called by default, but it's OK.

On the child page where you want something to happen, you use MODIFY |
Template Properties, select the Parameter and make that change. Then when
you click OK, It'll be there.

Ah thanks. What are potential problems with having a blank onload? Can
you write a dummy function for me?

function
donothing () { //v1.0
}

like such?

Thanks



Reply With Quote
  #12  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: template object nside the <body> tag? - 11-24-2003 , 11:42 AM






Misha:

Clutter is the worst problem I can think of when you have a blank onLoad
event! 8)

function
donothing () { //v1.0
return false;
}


--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.DreamweaverFAQ.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Aloosenation" <noreply (AT) news (DOT) com> wrote

Quote:
Murray *TMM* wrote:

Misha:


So having <body onload=""> is fine?


It's OK. It would be better if there were a dummy js function that it
called by default, but it's OK.

On the child page where you want something to happen, you use MODIFY |
Template Properties, select the Parameter and make that change. Then
when
you click OK, It'll be there.


Ah thanks. What are potential problems with having a blank onload? Can
you write a dummy function for me?

function
donothing () { //v1.0
}

like such?

Thanks




Reply With Quote
  #13  
Old   
Aloosenation
 
Posts: n/a

Default Re: template object nside the <body> tag? - 11-24-2003 , 11:59 AM



Thanks. That's why I was having such a hard time; I didn't have a
default onload statement, and I wanted to avoid using one to keep it
simple. This will work though.

Murray *TMM* wrote:

Quote:
Misha:

Clutter is the worst problem I can think of when you have a blank onLoad
event! 8)

function
donothing () { //v1.0
return false;
}




Reply With Quote
  #14  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: template object nside the <body> tag? - 11-24-2003 , 12:00 PM



Well, it *should* work! 8)

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.DreamweaverFAQ.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Aloosenation" <noreply (AT) news (DOT) com> wrote

Quote:
Thanks. That's why I was having such a hard time; I didn't have a
default onload statement, and I wanted to avoid using one to keep it
simple. This will work though.

Murray *TMM* wrote:

Misha:

Clutter is the worst problem I can think of when you have a blank onLoad
event! 8)

function
donothing () { //v1.0
return false;
}






Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.