I want to replace all <body> to:
<body onload="mm_preloadimages('images/m_homeh.gif','images/
m_msgh.gif','images/m_galleryh.gif','images/m_wallh.gif','images/
m_membersh.gif','images/m_linksh.gif','images/m_abth.gif')">
I know there is no way to put stuff on CSS (would be nice) and can't use preg_replace or str_replace since <body> is html code, not variable...
Means I have to use "Search in Templates" > "Find and replace in Templates" But before I do it, do you have any other better solution for this? seem i can't put "onload" on somehwere else but <body>...
<body onload="mm_preloadimages('images/m_homeh.gif','images/
m_msgh.gif','images/m_galleryh.gif','images/m_wallh.gif','images/
m_membersh.gif','images/m_linksh.gif','images/m_abth.gif')">
I know there is no way to put stuff on CSS (would be nice) and can't use preg_replace or str_replace since <body> is html code, not variable...
Means I have to use "Search in Templates" > "Find and replace in Templates" But before I do it, do you have any other better solution for this? seem i can't put "onload" on somehwere else but <body>...
Comment