Announcement

Collapse
No announcement yet.

HTML Dashboard integration, Background issue

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • HTML Dashboard integration, Background issue

    Hello.
    I want to use my own dashboard witch i created as html webpage, actually i failed to figure out how to embed HTML page inside SC application. i know everything about (container) application but it does not fit my requirements. actually (container) is very poor in this area.

    another issue: i want to use a background image in one of my applications in the body of the app. i know how to use image in header and footer but i could not find anyway to use image as background.
    by the way i tried this code and works perfectly in form but not in menu as (OnApplicationInit) event:

    print ("
    <style type='text/css'>
    body { background-image:url('../_lib/img/post.jpg'); } </style>
    ");

    Appreciate your help..
    Scriptcase V8.1 Enterprise Edition.

  • #2
    Look into the samples. I.e. the project management or webshop use a background image. It is added as html code in the onapplicationinit event.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Thanks Albert. following code fix the problem (used with blank application) :

      ?>
      <html>

      <style type='text/css'>

      </style>
      <body>
      <table width='100%' height='100%'>
      <tr>
      <td width='100%' height='100%' valign='middle' align='center'>

      ،،،،،،،،،،،،، CODE HERE ،،،،،،،،،،

      </td>
      </tr>
      </table>
      </body>
      </html>
      <?php
      Scriptcase V8.1 Enterprise Edition.

      Comment


      • #4
        OK. Blank application accept the mentioned code for background image but refuse the whole code for my external html page witch contains reference code to some external CSS and JS files.
        any suggestions?
        Scriptcase V8.1 Enterprise Edition.

        Comment

        Working...
        X