PDA

View Full Version : How can i change the high and width of Site_Ad?


Dellow
11-03-2005, 01:55 PM
Hello,

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

yabsoft
11-03-2005, 02:37 PM
In the show.html or view.html template file,you can dind the below 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.
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:
var yposition=200; //POSITION OF LOAD BAR

The below code will define how much time to wait for showing the images:
var wait_seconds=20;

Dellow
11-04-2005, 05:09 AM
Thank you :)

profezor
11-11-2005, 08:35 AM
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?

yabsoft
11-11-2005, 03:12 PM
The below define the border color of ads box.
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.

profezor
11-11-2005, 05:28 PM
Thanks that worked perfectly.

argh2xxx
11-13-2005, 06:17 PM
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..

blogmaster2003
11-27-2005, 05:55 PM
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.