Any one can help me how to Resize the Dolphin Promo Block
From
906px "width"
270px "hight"
To
700px "width"
270px "hight"
Thanks lior
Resize Promo Block
- Message
This is help I had before:
Sizing the flash banners:
In the file: yoursite.com/inc/js/jquery.dolPromo.js around line 5
.
change: $Img.css( { width: 'auto', height: 'auto', left: 0, top: 0 } );
.
To (example): $Img.css( { width: '940', height: '264', left: 0, top: 0 } );
.
.
You may have to adjust the width and height numbers if your sites width is different than the default 960px.
.
.
.
This fix is based on a post made by MrPowless You cannot fix this in CSS.
This is help I had before:
Sizing the flash banners:
In the file: yoursite.com/inc/js/jquery.dolPromo.js around line 5
.
change: $Img.css( { width: 'auto', height: 'auto', left: 0, top: 0 } );
.
To (example): $Img.css( { width: '940', height: '264', left: 0, top: 0 } );
.
.
You may have to adjust the width and height numbers if your sites width is different than the default 960px.
.
.
.
This fix is based on a post made by MrPowless You cannot fix this in CSS.
thanks a lot i will do this and tell u if that was good :)
thanks
ok i do that and it is work but where the picture area still big and this only resize the pictures itself.
what i will do?
I'm not sure, sorry. I just resized the pictures to fit it. :)
You can turn it off in Admin > Settings > Basic Settings and use HTML with a simple
rotator script instead ..... seems easier to me anyway .....
HTH
.
You can turn it off in Admin > Settings > Basic Settings and use HTML with a simple
rotator script instead ..... seems easier to me anyway .....
HTH
.
can you give me script?
Just google free image rotator php .....
HTH
.
Just google free image rotator php .....
HTH
.
i do it but when i insert the html code the site mess up, this is the code i try:
<html dir="rtl">
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Robert Bui (astrogate@hotmail.com) -->
<!-- Web Site: http://astrogate.virtualave.net -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
var interval = 2.5; // delay between rotating images (in seconds)
var random_display = 1; // 0 = no, 1 = yes
interval *= 1000;
var image_index = 0;
image_list = new Array();
image_list[image_index++] = new imageItem("http://bestime.co.il/index/media/images/promo/big01.jpg");
image_list[image_index++] = new imageItem("http://bestime.co.il/index/media/images/promo/big02.jpg");
image_list[image_index++] = new imageItem("http://bestime.co.il/index/media/images/promo/big03.jpg");
image_list[image_index++] = new imageItem("http://bestime.co.il/index/media/images/promo/big04.jpg");
var number_of_image = image_list.length;
function imageItem(image_location) {
this.image_item = new Image();
this.image_item.src = image_location;
}
function get_ImageItemLocation(imageObj) {
return(imageObj.image_item.src)
}
function generate(x, y) {
var range = y - x + 1;
return Math.floor(Math.random() * range) + x;
}
function getNextImage() {
if (random_display) {
image_index = generate(0, number_of_image-1);
}
else {
image_index = (image_index+1) % number_of_image;
}
var new_image = get_ImageItemLocation(image_list[image_index]);
return(new_image);
}
function rotateImage(place) {
var new_image = getNextImage();
document[place].src = new_image;
var recur_call = "rotateImage('"+place+"')";
setTimeout(recur_call, interval);
}
// End -->
</script>
</HEAD>
<BODY OnLoad="rotateImage('rImage')">
<center>
<img name="rImage" src="http://javascript.internet.com/img/image-cycler/01.jpg" width=960 height=240>
</center>
<p><center>
<font face="arial, helvetica" size="-2">ליאור<br>
</center><p>
</body>
</html>
I don't know about the javascript which was why I suggested you search for "PHP" that I've
never had any problems with .....
Perhaps someone else can help .....
HTH
.











