Results 1 to 8 of 8

Thread: How can i change the high and width of Site_Ad?

  1. #1

    Default How can i change the high and width of Site_Ad?

    Hello,

    I want to change the pop advertisment window to be 486 x 60 , how ?

  2. #2
    Join Date
    May 2005
    Location
    China & France
    Posts
    6,492

    Default How to customsie the Popup Ads

    In the show.html or view.html template file,you can dind the below code:

    Code:
    var imagenames=new Array( '{imageurl}' );
    
    var yposition=200;                                  //POSITION OF LOAD BAR FROM TOP OF WINDOW, IN PIXELS
    var loadedcolor='gray' ;                // PROGRESS BAR COLOR
    var unloadedcolor='white';                   // BGCOLOR OF UNLOADED AREA
    var barheight=150;                                 // HEIGHT OF PROGRESS BAR IN PIXELS (MIN 25)
    var barwidth=350;                                // WIDTH OF THE BAR IN PIXELS
    var bordercolor='black';                       // COLOR OF THE BORDER
    var flash_ads_url='{baseWeb}/site_ads.html';
    var flash_ads_width=barwidth;
    var flash_ads_height=barheight-25;
    var wait_seconds=20;
    The below statement will define the width and height of ads.
    Code:
    var barheight=150;                                 // HEIGHT OF PROGRESS BAR IN PIXELS (MIN 25)
    var barwidth=350;                                // WIDTH OF THE BAR IN PIXELS
    This will define the postion of ads box:
    Code:
    var yposition=200;                                  //POSITION OF LOAD BAR
    The below code will define how much time to wait for showing the images:
    Code:
    var wait_seconds=20;

  3. #3

    Default

    Thank you

  4. #4

    Default

    But how do u change the color of the popup?

    I have tried color codes and they do not work.
    I know white, blue, and gray work, but how do you control the color exactly?

  5. #5
    Join Date
    May 2005
    Location
    China & France
    Posts
    6,492

    Default

    The below define the border color of ads box.
    Code:
    var loadedcolor='black' ;                // PROGRESS BAR COLOR
    The color for content is defined in the site_ads.html,you can do it at there by a HTML editor.

  6. #6

    Default

    Thanks that worked perfectly.

  7. #7

    Default I look everywhere in my server there is no show.html

    I look everywhere in my server, the script's folder, there is no show.html.

    All I see is show.php. Inside show.php, the code is very different from what you posted. Please help. I need to make the ads size bigger. Thanks..

  8. #8

    Default

    The *.html files are normally here: root/skin/default

    This is the path to your skin (admiting that you are using the deault one)

    But for this SPECIFIC FILE, it is on the root of your installation.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •