0
Welcome Guest! Login
0 items Join Now

Running rokie6warn.js on a normal framed html site?

  • Running rokie6warn.js on a normal framed html site?

    Posted 16 years 7 months ago
    • I wish to use the rokie6warn.js script on my html-site. I also use some javascript. Here is the link to my site: http://kromblom.com/ . Thx for helping me out...
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Running rokie6warn.js on a normal framed html site?

    Posted 16 years 7 months ago
    • Copy rokie6warn.js into /js/ folder

      You would need to add this to your HTML:

      <script type="text/javascript" src="/js/rokie6warn.js"></script>

      Copy these images into the images directory:

      close.png
      close_hover.png
      error.png

      Create template_ie7.css and add this code:

      /* ie6 warning */

      #iewarn {
      background: #C6D3DA url(../images/error.png) 10px 20px no-repeat;
      position: relative;
      z-index: 1;
      opacity: 0;
      margin: -150px auto 0;
      font-size: 110%;
      color: #001D29;
      }

      #iewarn div {
      position: relative;
      border-top: 5px solid #95B8C9;
      border-bottom: 5px solid #95B8C9;
      padding: 10px 80px 10px 220px;
      }

      #iewarn h4 {
      color: #900;
      font-weight: bold;
      line-height: 120%;
      }

      #iewarn a {
      color: #296AC6;
      font-weight: bold;
      }

      #iewarn_close {
      background: url(../images/close.png) 50% 50% no-repeat;
      display: block;
      cursor: pointer;
      position: absolute;
      width: 61px;
      height: 21px;
      top: 25px;
      right: 12px;
      }

      #iewarn_close.cHover {
      background: url(../images/close_hover.png) 50% 50% no-repeat;
      }

      /* end ie6 warning */

      Now let's hope that works :D
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
    • Joomla AZ's Avatar
    • Joomla AZ
    • Jr. Rocketeer
    • Posts: 49
    • Thanks: 0

    Re: Running rokie6warn.js on a normal framed html site?

    Posted 15 years 9 months ago
    • Hello,

      I tried this on www.mobimark.com and it doesn't seem to be working. Since the design already had a CSS style sheet called style.ie6.css, I inserted the warning at the end of that file. I've copied the images to /templates/<my_template>/images. The js file is at /templates/js
      It could be that I just have some files in the wrong place. The CSS file is at /templates/<my_template>/css
    • OnewayPublishing
      OnewayHosting

Time to create page: 0.071 seconds