Website template.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Andy

    Website template.

    I would like to build a website using a template. I got one from internet
    but after I open it my new Internet Explorer gives me a warning : 'To help
    protect your security, Internet Explorer has restricted this file from
    showing active content that could access your computer. Click here for
    options....'
    And there are options : Allow Blocked Content. What's the risk ?
    Information Bar Help.
    Unfortunately I do not know any thing about those scripts, so maybe any kind
    person would help me and delete that malicious script and left just those
    part of script necessary to run that web page. Your help will be very
    appreciated.
    And this is a web page source :
    <html>
    <head>
    <meta http-equiv="Content-Language" content="en-us">

    <title>ÖйúÕ¾³¤ Õ¾</title>

    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" >
    <meta name="descripti on" content="FW MX FP HTML">

    <script language="JavaS cript">
    <!-- hide this script from non-javascript-enabled browsers

    function MM_findObj(n, d) { //v4.01
    var p,i,x; if(!d) d=document;
    if((p=n.indexOf ("?"))>0&&paren t.frames.length ) {
    d=parent.frames[n.substring(p+1 )].document; n=n.substring(0 ,p);}
    if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.fo rms.length;i++)
    x=d.forms[i][n];
    for(i=0;!x&&d.l ayers&&i<d.laye rs.length;i++)
    x=MM_findObj(n, d.layers[i].document);
    if(!x && d.getElementByI d) x=d.getElementB yId(n); return x;
    }
    function MM_nbGroup(even t, grpName) { //v6.0
    var i,img,nbArr,arg s=MM_nbGroup.ar guments;
    if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
    img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
    if ((nbArr = document[grpName]) == null) nbArr = document[grpName] =
    new Array();
    nbArr[nbArr.length] = img;
    for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) !=
    null) {
    if (!img.MM_up) img.MM_up = img.src;
    img.src = img.MM_dn = args[i+1];
    nbArr[nbArr.length] = img;
    } }
    } else if (event == "over") {
    document.MM_nbO ver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) !=
    null) {
    if (!img.MM_up) img.MM_up = img.src;
    img.src = (img.MM_dn && args[i+2]) ? args[i+2] :
    ((args[i+1])?args[i+1] : img.MM_up);
    nbArr[nbArr.length] = img;
    }
    } else if (event == "out" ) {
    for (i=0; i < document.MM_nbO ver.length; i++) { img =
    document.MM_nbO ver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
    } else if (event == "down") {
    nbArr = document[grpName];
    if (nbArr) for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src =
    img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) !=
    null) {
    if (!img.MM_up) img.MM_up = img.src;
    img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
    nbArr[nbArr.length] = img;
    } }
    }

    // stop hiding -->
    </script>
    <link rel="stylesheet " type="text/css" href="style.css ">
    </head>

    <body bgcolor="#fffff f" onload="" topmargin="0" leftmargin="0">

    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse:
    collapse; border-left-width:0" bordercolor="#C 0C0C0" id="AutoNumber1 ">
    <tr>
    <td width="100%" style="border-left-style: none; border-left-width:
    medium">
    <table border="0" cellpadding="0" cellspacing="0" width="760">
    <!-- fwtable fwsrc="C:\Nelso n\Lung templates\Paid\ 002\edittable\l ayout.png"
    fwbase="layout. jpg" fwstyle="FrontP age" fwdocid = "742308039"
    fwnested=""1" -->
    <script language="JavaS cript">
    <!-- hide
    if (document.image s) {
    layout_r2_c3_f2 = new Image(126 ,20); layout_r2_c3_f2 .src =
    "images/layout_r2_c3_f2 .jpg";
    layout_r2_c3_f2 = new Image(126 ,20); layout_r2_c3_f2 .src =
    "images/layout_r2_c3_f3 .jpg";
    layout_r2_c3_f1 = new Image(126 ,20); layout_r2_c3_f1 .src =
    "images/layout_r2_c3.jp g";
    layout_r4_c3_f2 = new Image(126 ,20); layout_r4_c3_f2 .src =
    "images/layout_r4_c3_f2 .jpg";
    layout_r4_c3_f2 = new Image(126 ,20); layout_r4_c3_f2 .src =
    "images/layout_r4_c3_f3 .jpg";
    layout_r4_c3_f1 = new Image(126 ,20); layout_r4_c3_f1 .src =
    "images/layout_r4_c3.jp g";
    layout_r6_c3_f2 = new Image(126 ,20); layout_r6_c3_f2 .src =
    "images/layout_r6_c3_f2 .jpg";
    layout_r6_c3_f2 = new Image(126 ,20); layout_r6_c3_f2 .src =
    "images/layout_r6_c3_f3 .jpg";
    layout_r6_c3_f1 = new Image(126 ,20); layout_r6_c3_f1 .src =
    "images/layout_r6_c3.jp g";
    layout_r8_c3_f2 = new Image(126 ,20); layout_r8_c3_f2 .src =
    "images/layout_r8_c3_f2 .jpg";
    layout_r8_c3_f2 = new Image(126 ,20); layout_r8_c3_f2 .src =
    "images/layout_r8_c3_f3 .jpg";
    layout_r8_c3_f1 = new Image(126 ,20); layout_r8_c3_f1 .src =
    "images/layout_r8_c3.jp g";
    layout_r11_c3_f 2 = new Image(126 ,20); layout_r11_c3_f 2.src =
    "images/layout_r11_c3_f 2.jpg";
    layout_r11_c3_f 2 = new Image(126 ,20); layout_r11_c3_f 2.src =
    "images/layout_r11_c3_f 3.jpg";
    layout_r11_c3_f 1 = new Image(126 ,20); layout_r11_c3_f 1.src =
    "images/layout_r11_c3.j pg";
    }
    // stop hiding -->
    </script>
    <tr>
    <td><table border="0" cellpadding="0" cellspacing="0" width="760">
    <tr>
    <td><table border="0" cellpadding="0" cellspacing="0" width="335">
    <tr>
    <td>
    <img name="layout_r1 _c1" src="images/layout_r1_c1.jp g" border="0"
    alt="" width="335" height="44"></td>
    </tr>
    <tr>
    <td><table border="0" cellpadding="0" cellspacing="0" width="335">
    <tr>
    <td>
    <img name="layout_r2 _c1" src="images/layout_r2_c1.jp g"
    border="0" alt="" width="209" height="104"></td>
    <td><table border="0" cellpadding="0" cellspacing="0" width="126">
    <tr>
    <td><a href="#" onMouseOut="MM_ nbGroup('out'); "
    onMouseOver="MM _nbGroup('over' ,'layout_r2_c3' ,'images/layout_r2_c3_f2 .jpg','images/layout_r2_c3_f3 .jpg',1);"
    onClick="MM_nbG roup('down','na vbar1','layout_ r2_c3','images/layout_r2_c3_f3 .jpg',1);">
    <img name="layout_r2 _c3" src="images/layout_r2_c3.jp g"
    border="0" alt="" width="126" height="20"></a></td>
    </tr>
    <tr>
    <td>
    <img name="layout_r3 _c3" src="images/layout_r3_c3.jp g"
    border="0" alt="" width="126" height="1"></td>
    </tr>
    <tr>
    <td><a href="#" onMouseOut="MM_ nbGroup('out'); "
    onMouseOver="MM _nbGroup('over' ,'layout_r4_c3' ,'images/layout_r4_c3_f2 .jpg','images/layout_r4_c3_f3 .jpg',1);"
    onClick="MM_nbG roup('down','na vbar1','layout_ r4_c3','images/layout_r4_c3_f3 .jpg',1);">
    <img name="layout_r4 _c3" src="images/layout_r4_c3.jp g"
    border="0" alt="" width="126" height="20"></a></td>
    </tr>
    <tr>
    <td>
    <img name="layout_r5 _c3" src="images/layout_r5_c3.jp g"
    border="0" alt="" width="126" height="1"></td>
    </tr>
    <tr>
    <td><a href="#" onMouseOut="MM_ nbGroup('out'); "
    onMouseOver="MM _nbGroup('over' ,'layout_r6_c3' ,'images/layout_r6_c3_f2 .jpg','images/layout_r6_c3_f3 .jpg',1);"
    onClick="MM_nbG roup('down','na vbar1','layout_ r6_c3','images/layout_r6_c3_f3 .jpg',1);">
    <img name="layout_r6 _c3" src="images/layout_r6_c3.jp g"
    border="0" alt="" width="126" height="20"></a></td>
    </tr>
    <tr>
    <td>
    <img name="layout_r7 _c3" src="images/layout_r7_c3.jp g"
    border="0" alt="" width="126" height="1"></td>
    </tr>
    <tr>
    <td><a href="#" onMouseOut="MM_ nbGroup('out'); "
    onMouseOver="MM _nbGroup('over' ,'layout_r8_c3' ,'images/layout_r8_c3_f2 .jpg','images/layout_r8_c3_f3 .jpg',1);"
    onClick="MM_nbG roup('down','na vbar1','layout_ r8_c3','images/layout_r8_c3_f3 .jpg',1);">
    <img name="layout_r8 _c3" src="images/layout_r8_c3.jp g"
    border="0" alt="" width="126" height="20"></a></td>
    </tr>
    <tr>
    <td>
    <img name="layout_r1 0_c3" src="images/layout_r10_c3.j pg"
    border="0" alt="" width="126" height="1"></td>
    </tr>
    <tr>
    <td><a href="#" onMouseOut="MM_ nbGroup('out'); "
    onMouseOver="MM _nbGroup('over' ,'layout_r11_c3 ','images/layout_r11_c3_f 2.jpg','images/layout_r11_c3_f 3.jpg',1);"
    onClick="MM_nbG roup('down','na vbar1','layout_ r11_c3','images/layout_r11_c3_f 3.jpg',1);">
    <img name="layout_r1 1_c3" src="images/layout_r11_c3.j pg"
    border="0" alt="" width="126" height="20"></a></td>
    </tr>
    </table></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td>
    <img name="layout_r1 2_c1" src="images/layout_r12_c1.j pg"
    border="0" alt="" width="335" height="75"></td>
    </tr>
    </table></td>
    <td>
    <img name="layout_r1 _c4" src="images/layout_r1_c4.jp g" border="0"
    alt="" width="136" height="223"></td>
    <td><table border="0" cellpadding="0" cellspacing="0" width="289">
    <tr>
    <td>
    <img name="layout_r1 _c5" src="images/layout_r1_c5.jp g" border="0"
    alt="" width="289" height="116"></td>
    </tr>
    <tr>
    <td><table border="0" cellpadding="0" cellspacing="0" width="289">
    <tr>
    <td>
    <img name="layout_r9 _c5" src="images/layout_r9_c5.jp g"
    border="0" alt="" width="215" height="107"></td>
    <td>
    <img name="layout_r9 _c6" src="images/layout_r9_c6.jp g"
    border="0" alt="" width="74" height="107"></td>
    </tr>
    </table></td>
    </tr>
    </table></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td><table border="0" cellpadding="0" cellspacing="0" width="760">
    <tr>
    <td>
    <img name="layout_r1 3_c1" src="images/layout_r13_c1.j pg" border="0"
    alt="" width="27" height="277"></td>
    <td width="100%" valign="top">
    <table border="0" cellpadding="0" cellspacing="0"
    style="border-collapse: collapse" bordercolor="#1 11111" width="710"
    id="AutoNumber3 ">
    <tr>
    <td width="130" valign="top">
    <img border="1" src="images/decoration012.j pg" width="128"
    height="92"></td>
    <td width="11">&nbs p;</td>
    <td width="569" valign="top">Ab out HTML<br>
    HTML stands for Hypertext Markup Language. HTML uses special
    markers,
    called tags, that indicate how Web browsers should display page
    elements such as text and graphics.<br>
    <br>
    About digital dashboard<br>
    A digital dashboard is a user-configurable Web page that
    functions as
    an information portal. A digital dashboard consolidates personal,
    team, corporate, and external information and provides
    single-click
    access to analytical and collaborative tools. It brings an
    integrated
    view of your organization's diverse sources of knowledge to your
    desktop, enabling better decision-making by providing immediate
    access to key information.<br ><br>About HTML<br>
    HTML stands for Hypertext Markup Language. HTML uses special
    markers,
    called tags, that indicate how Web browsers should display page
    elements such as text and graphics.<br>
    <br>
    About digital dashboard<br>
    A digital dashboard is a user-configurable Web page that
    functions as
    an information portal. A digital dashboard consolidates personal,
    team, corporate, and external information and provides
    single-click
    access to analytical and collaborative tools. It brings an
    integrated
    view of your organization's diverse sources of knowledge to your
    desktop, enabling better decision-making by providing immediate
    access to key information.</td>
    </tr>
    <tr>
    <td width="710" colspan="3">&nb sp;</td>
    </tr>
    </table>
    <br>
    <br>
    &nbsp;</td>
    <td>
    <img name="layout_r1 3_c7" src="images/layout_r13_c7.j pg" border="0"
    alt="" width="23" height="277"></td>
    </tr>
    </table></td>
    </tr>


    </table>

    <table border="0" cellpadding="0" cellspacing="0"
    style="border-collapse: collapse" bordercolor="#1 11111" width="100%"
    id="AutoNumber2 " bgcolor="#C0C0C 0" height="30">
    <tr>
    <td width="4%">&nbs p;</td>
    <td width="97%">Foo ter information.... </td>
    </tr>
    </table>

    </td>
    </tr>
    </table>

    </body>
    </html>


  • Randy Webb

    #2
    Re: Website template.

    Andy wrote:
    [color=blue]
    > I would like to build a website using a template. I got one from internet
    > but after I open it my new Internet Explorer gives me a warning : 'To help
    > protect your security, Internet Explorer has restricted this file from
    > showing active content that could access your computer. Click here for
    > options....'
    > And there are options : Allow Blocked Content. What's the risk ?
    > Information Bar Help.[/color]

    That is the default message presented by IE6 SP2 when running a page
    from local disk. Try uploading it and running it from a server.
    [color=blue]
    > Unfortunately I do not know any thing about those scripts, so maybe any kind
    > person would help me and delete that malicious script and left just those
    > part of script necessary to run that web page. Your help will be very
    > appreciated.
    > And this is a web page source :[/color]

    I snipped what you need to get rid of and can start with. Namely,
    nothing. Most of it is deprecated HTML3.2 and some awful Dreamweaver code.

    What exactly are you trying to do? A solution can probably be found that
    is a lot better than what you found on the internet.

    --
    Randy
    comp.lang.javas cript FAQ - http://jibbering.com/faq

    Comment

    • Andy

      #3
      Re: Website template.


      "Randy Webb" <HikksNotAtHome @aol.com> wrote in message
      news:ga-dnX1EHtDUGv3cRV n-ig@comcast.com. ..[color=blue]
      > Andy wrote:
      >[color=green]
      >> I would like to build a website using a template. I got one from internet
      >> but after I open it my new Internet Explorer gives me a warning : 'To
      >> help protect your security, Internet Explorer has restricted this file
      >> from showing active content that could access your computer. Click here
      >> for options....'
      >> And there are options : Allow Blocked Content. What's the risk ?
      >> Information Bar Help.[/color]
      >
      > That is the default message presented by IE6 SP2 when running a page from
      > local disk. Try uploading it and running it from a server.
      >[color=green]
      >> Unfortunately I do not know any thing about those scripts, so maybe any
      >> kind person would help me and delete that malicious script and left just
      >> those part of script necessary to run that web page. Your help will be
      >> very appreciated.
      >> And this is a web page source :[/color]
      >
      > I snipped what you need to get rid of and can start with. Namely, nothing.
      > Most of it is deprecated HTML3.2 and some awful Dreamweaver code.
      >
      > What exactly are you trying to do? A solution can probably be found that
      > is a lot better than what you found on the internet.
      >
      > --
      > Randy
      > comp.lang.javas cript FAQ - http://jibbering.com/faq[/color]

      Thank you Randy for a quick reply. I thought that this page has a malicious
      code, but you assured me that every thing is OK. I hope it will not show
      warnings after uploading to server. Thank you again.


      Comment

      • Geoff Cutter

        #4
        Mark of the Web - was Website template.

        On Sun, 3 Oct 2004 18:37:30 -0400, "Andy" <andy@xxx.inval idcom> wrote:

        Hi Folks,

        A page I found very useful is at:



        It's long, just skip to where you need to get to. Part reads:

        To give a web page a "Mark of the Web" add in "saved from url" comment text
        at the start of the file. There are two possible incantations:
        <!-- saved from url=(0014)about :internet -->
        <!-- saved from url=(0020)http://www.phdcc.com -->
        The number in brackets is the length of the string that follows it.

        [color=blue]
        >I would like to build a website using a template. I got one from internet
        >but after I open it my new Internet Explorer gives me a warning : 'To help
        >protect your security, Internet Explorer has restricted this file from
        >showing active content that could access your computer. Click here for
        >options....'[/color]

        --
        regds Geoff
        http://www.myweb.net.au/gcutter/ (FREE software and other stuff)
        http://www.eateries.com.au/ (lots places to eat at)

        Attachments to incoming mail will be deleted unopened.

        Comment

        • Andy

          #5
          Re: Mark of the Web - was Website template.


          "Geoff Cutter" <gcutter@melbpc .org.au> wrote in message
          news:0t31m0hiuq v264f2r5jkri8ua 42c25k50i@4ax.c om...[color=blue]
          > On Sun, 3 Oct 2004 18:37:30 -0400, "Andy" <andy@xxx.inval idcom> wrote:
          >
          > Hi Folks,
          >
          > A page I found very useful is at:
          >
          > http://www.phdcc.com/xpsp2.htm
          >
          > It's long, just skip to where you need to get to. Part reads:
          >
          > To give a web page a "Mark of the Web" add in "saved from url" comment
          > text
          > at the start of the file. There are two possible incantations:
          > <!-- saved from url=(0014)about :internet -->
          > <!-- saved from url=(0020)http://www.phdcc.com -->
          > The number in brackets is the length of the string that follows it.
          >
          >[color=green]
          >>I would like to build a website using a template. I got one from internet
          >>but after I open it my new Internet Explorer gives me a warning : 'To help
          >>protect your security, Internet Explorer has restricted this file from
          >>showing active content that could access your computer. Click here for
          >>options.... '[/color]
          >
          > --
          > regds Geoff
          > http://www.myweb.net.au/gcutter/ (FREE software and other stuff)
          > http://www.eateries.com.au/ (lots places to eat at)
          >
          > Attachments to incoming mail will be deleted unopened.
          >[/color]

          Thank You Geoff for a useful link. Now I know why I got this warning
          message.


          Comment

          Working...