Active-x browser message caused by what in my FP site

O

OPOLily

I'm new to site creation. I've made extensive changes to
www.firstparishbeverly.org which show up in IE8 ok but not in Safari. IE8
gives me the Active-x warning msg but seems to function the same whether I
accept the active-x app or not.
Is this code
<script language="JavaScript">
<!--
function FP_swapImg() {//v1.0
var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2;
n<args.length;
n+=2) { elm=FP_getObjectByID(args[n]); if(elm) {
doc.$imgSwaps[doc.$imgSwaps.length]=elm;
elm.$src=elm.src; elm.src=args[n+1]; } }
}

function FP_preloadImgs() {//v1.0
var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
for(var i=0; i<a.length; i++) { d.FP_imgs=new Image;
d.FP_imgs.src=a; }
}

function FP_getObjectByID(id,o) {//v1.0
var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById)
el=o.getElementById(id);
else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return
el; } }
return null;
}
// -->
</script>

causing that? I seems to arrive I insert a 'back' button on the page.
Is this also what causes Safari to not show the text on the home page?
 
R

Ronx

" Is this code ... causing that?"
Possibly - if you are viewing from a file system location, then probably.
If you are viewing the page from a server, then No.

"Is this also what causes Safari to not show the text on the home page?"
Probably not. Safari's rendering of a page will not be affected by that code
on it's own, but what it's called by is another matter. That combination of
Javascript functions is usually the result of inserting an Interactive
Button - Safari has no problems with Interactive Buttons.

Rendering problems can only be solved by guesswork, unless we see the page
with all the scripts, CSS and HTML that affects the rendering.
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.
 
H

Hot-text

Look Good and working on a Xp Netscape Browser
Look Good and working on a Xp Opera Browser
Look Good and working on a Xp Internet Explorer 7 Browser
Look Good and working on a win98 Internet Explorer 6 Browser


main page Look Bad, But working In MSN TV Browser
Can not have it all.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top