HUGE PROMO IMAGE BUG

This bug existed in all versions of dolphin, and still exists even on in the latest dolphin beta 8, and its getting really frustrating, why cant anybody fix it??  PLease look at image, its the promo images that show out of place, in the right bottom corner every few times you refresh the page, or go to index page... I tested many times, with IE 8 , latest firefox, safari,etc...

 

Seems like a simple problem, but existed as long as I can remember.. I tested with laptom 14 inch screen, also same on 24 inch screen.. make the site look very ugly

promo bug

Quote · 29 Oct 2009

This fix is from Houstonlively:

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:    $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.

 

Ticket added: http://www.boonex.com/trac/dolphin/ticket/1387

 

 

Life is a fatal disease, sexually transmissible - Virginity is carcinogenic! Ask here for vaccine.
Quote · 30 Oct 2009

Michel what file are you using to make that code. I checked out the dolPromo.js andit does not have the line you reference.

Quote · 6 Nov 2009

That fix is for D6... not D7

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 6 Nov 2009

Oooops... Thank you Houston ;-)

A ticket is still open: http://www.boonex.com/trac/dolphin/ticket/1387#comment:2

Life is a fatal disease, sexually transmissible - Virginity is carcinogenic! Ask here for vaccine.
Quote · 6 Nov 2009

I had the same prob befor but long time i didn't notice that anyway i will double check if it did happen to me i will refer it here .

Eli

Proud Hosted by Zarconia.net
Quote · 6 Nov 2009

anybody else got this problem?

Quote · 24 Nov 2009

The Ticket on this shows closed... yet w/D7 it still occurs in IE7/8. 

Has anyone figured out a workaround? 

Is there another ticket out there that I'm not seeing?

Quote · 25 Mar 2010

You could try changing

$img.css({
position: 'absolute',
left: Math.round( ($img.parent().width()  / 2) - ($img.width()  / 2)),
top:  Math.round( ($img.parent().height() / 2) - ($img.height() / 2))
});

to

$img.css({
position: 'absolute',
left: 0,
top:  0,
width: '940',
height: '264'
});

It's just an update of HL's mod for D7 - not sure if it will work tho,  as my IE7's decided to go up the swanee.

/DM

Dolphin - Ajax Masturbation
Quote · 25 Mar 2010

Hi guys,

I still have this issue as well and would like to resolve..any updates? can anyone tell me in which file i might be able to find the $css image referece Dee emm refers to below? Thanks in advance

Quote · 29 Mar 2011

This is what worked for me on 7.05 and now 7.06

 

http://www.boonex.com/unity/forums/#topic/Here-Is-The-Fix-For-The-Promo-Images-Going-Out-Of-Bounds-On-Homepage.htm

Quote · 30 Mar 2011

Hi all.  I have a solution to this problem. Have a look at my site http://eastwestlove.com/, and if you want to know how I did it, send us your contact details using the CONTACT US at the bottom of our home page.

Cheers...Smile

Quote · 24 Apr 2011

 

Hi all.  I have a solution to this problem. Have a look at my site http://eastwestlove.com/, and if you want to know how I did it, send us your contact details using the CONTACT US at the bottom of our home page.

Cheers...Smile

Any reason why you can't share your knowledge with the rest of us here?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 24 Apr 2011

Yes, Magnussoft, contact me and I'll tell you why.

Quote · 24 Apr 2011

 @ DeeEmm:  Thank You DeeEmm!  Your idea (as follows) seems to be working so far...

@ MichelSwiss:  I followed that ticket and it was closed as unresolved because they were not able to reproduce the problem in IE8?  I understand but, I use IE 8 and it happened to at least one of my pictures every time my page was loaded.  VERY FRUSTRATING to see that the ticket was closed when the problem obviously remains in every new version.

---

In the file: yoursite.com/inc/js/jquery.dolPromo.js

 

Change

$img.css({
position: 'absolute',
left: Math.round( ($img.parent().width()  / 2) - ($img.width()  / 2)),
top:  Math.round( ($img.parent().height() / 2) - ($img.height() / 2))
});

to

$img.css({
position: 'absolute',
left: 0,
top:  0,
width: '940',
height: '264'
});

Done.

Quote · 13 Jul 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.