PC Review


Reply
Thread Tools Rate Thread

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

 
 
OPOLily
Guest
Posts: n/a
 
      15th Dec 2009
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[i]=new Image;
d.FP_imgs[i].src=a[i]; }
}

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?



 
Reply With Quote
 
 
 
 
Ronx
Guest
Posts: n/a
 
      15th Dec 2009
" 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.



"OPOLily" <(E-Mail Removed)> wrote in message
news:2CFFBC6A-268C-4584-A403-(E-Mail Removed)...
> 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[i]=new Image;
> d.FP_imgs[i].src=a[i]; }
> }
>
> 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?
>
>
>

 
Reply With Quote
 
Hot-text
Guest
Posts: n/a
 
      17th Dec 2009
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.




"OPOLily" <(E-Mail Removed)> wrote in message
news:2CFFBC6A-268C-4584-A403-(E-Mail Removed)...
> 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[i]=new Image;
> d.FP_imgs[i].src=a[i]; }
> }
>
> 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?
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pop-ups caused by 'browser aid' =?Utf-8?B?Q29sYnlNY0lyaXNo?= Windows XP Internet Explorer 3 7th Jul 2005 01:36 AM
Multiple OL Inbox in Win98 TaskBar Caused by VB olExp.Active John Gregory Microsoft Outlook VBA Programming 2 29th Jun 2005 05:48 PM
What caused this error on an ASP.net web site? Ed Willis Microsoft VB .NET 1 9th Mar 2005 08:42 AM
error message ( vbscript) browser doesn't trust site =?Utf-8?B?bWFpbGJveQ==?= Windows XP Security 2 15th May 2004 02:10 PM
IE6 - SP1 caused '?' marks to appear in browser Poornima Windows XP Internet Explorer 0 26th Feb 2004 09:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:51 PM.