Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<Body Onload function on a template.....

Status
Not open for further replies.

TonyU

Technical User
Feb 14, 2001
1,317
US
I would like to add this function to the body of my template but only to apply to one page... would anyone know how to do it?

Everytime I try to apply it, it abviously it tries to apply it to every page created with this template and I can't apply it to the one page because the body is not an editable region. Thanks for helping.



<BODY onload=&quot;window.open('popup.asp','','toolbar=no,directories=no,status=no, scrollbars=no, width=320,height=375,left = 220, top =220')&quot;>
[tt]&quot;A Successful man is one who can build a firm foundation with the bricks that others throw at him&quot;[/tt]
[noevil]
 
You could make an editible region for every page - then just apply it to the one page. on the page itself - not the template. &quot;I like a man who grins when he fights.&quot;

-- Prime Minister Winston Churchill

Stuart
 
Thanks for your response schase.

What I ended up doing was loading a 1x1 clear .gif and adding the Onload event to to it.
[tt]&quot;A Successful man is one who can build a firm foundation with the bricks that others throw at him&quot;[/tt]
[noevil]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top