Portal
Language
 
Home>Knowledge Base>Root Folder>SiteBuilder>672.15 Global Vision™ Sitebuilder - Modules: Inserting Scripts to Your Web Pages
User Login
Username
Password
 
 Login
Information
Article ID150
Created On4/25/2009
Modified9/8/2009
Share With Others

672.15 Global Vision™ Sitebuilder - Modules: Inserting Scripts to Your Web Pages

Inserting Scripts to Your Web Pages

Using the Script module you can insert ready code snippets in your web pages. You can use this module to:

  • Add functional elements to your site pages, in addition to the existing Sitebuilder modules. With the help of such elements you can
    • Insert video and audio files from YouTube and other streaming media providers
    • Display time and date
    • Display pop-up messages
    • Set up automatic forwarding to other web pages
    • Set up a variety of visual effects: change of background color, text effects on mouse hover, and more
    • Participate in banner networks
    • Place interactive elements on the page: games (for example, "Miner"), calculator, entertainment tests

    - and much more

Sitebuilder allows you to add code written in various scripting or other languages into the Script module: HTML, DHTML, XML, PHP, Perl/CGI, JavaScript, Java applets, and many more. You can find all kinds of third party scripts on popular webmasters' resources available on the Internet.

Note: PHP scripts will work only if the site is published as static HTML pages and the IIS web server is configured in such a way that HTML pages are treated as PHP.

To insert a piece of code to your site:

  1. Go to the Edit step.
  2. In the Modules area, click the Script Script module icon and keeping the left mouse button pressed drag the icon to the page.

    Or just double click the Script Script module icon.

  3. Click Change Script Source and replace the default text with the code of your script.

    For example, to insert a video clip from YouTube, copy the piece of HTML markup that accompanies the clip and paste it to the Script module editor.

  4. Click OK.