HighDots Forums  

Body tag locked by template

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Body tag locked by template in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Siriunson
 
Posts: n/a

Default Body tag locked by template - 06-27-2004 , 02:12 PM






I have a page which is based on a template and the body tag is not accessible.
I wish to use a popup window and had thought that the Body onLoad method was
the route to go...

If possible, I don't want to detatch the page from the template so I wonder if
there is another option. I am using DMX04.
Thanx.


Reply With Quote
  #2  
Old   
Alan
 
Posts: n/a

Default Re: Body tag locked by template - 06-27-2004 , 03:02 PM






look at http://projectseven.com on their free extension page.
"RunEm" allows firing js functions from in the head of the doc, no need to
mess with the body tag.

Quote:
I have a page which is based on a template and the body tag is not
accessible.
I wish to use a popup window and had thought that the Body onLoad method was
the route to go...

If possible, I don't want to detatch the page from the template so I wonder if
there is another option. I am using DMX04.
Thanx.



Reply With Quote
  #3  
Old   
Siriunson
 
Posts: n/a

Default Re: Body tag locked by template - 06-28-2004 , 06:05 AM



Alan
Thanx. But how do you use this?

Reply With Quote
  #4  
Old   
Alan
 
Posts: n/a

Default Re: Body tag locked by template - 07-05-2004 , 09:25 AM



okay, in trying the RunEm extension- it seems the functions already have to
be in the body tag.

this will explain what you should do-
http://projectseven.com/support/answers.asp?id=129
It describes a way to use a simple js function named runit to move onLoad
events from the body tag to up in the head section. Put this in an editable
region in the head, and you can add/remove events as needed.



Quote:
Alan
Thanx. But how do you use this?


Reply With Quote
  #5  
Old   
Siriunson
 
Posts: n/a

Default Re: Body tag locked by template - 07-06-2004 , 03:19 PM



Thanx again Alan. This goes some way to solving my problem, but runEm seems to
generate extra lines of code that are quite different from the runIt function.
For some reason (quite likely me!) it doesn't seem to be working properly. I am
still working on this one.


Reply With Quote
  #6  
Old   
Alan
 
Posts: n/a

Default Re: Body tag locked by template - 07-06-2004 , 03:31 PM



i dont use a lot of extensions so am not sure.

guess i'd suggest is to use the RunIt code, and do it manually.

or- if it's just images you want to preload on a templated page- apply the
preload behavior to some image that's in an editable area of the page.

Quote:
Thanx again Alan. This goes some way to solving my problem, but runEm seems to
generate extra lines of code that are quite different from the runIt function.
For some reason (quite likely me!) it doesn't seem to be working properly. I
am
still working on this one.



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.