align script


Author Message
dang

Posted: 12/29/2011
Quote message 

Hello I have a problem with this website:
http://pozycjonowaniestronv.pl/

I don't know how to move slideshow javascript to the left a bit so it's aligned to the text below.

Firebug suggests that

element style
{
margin: -9px;
}
should do the job

But I don't know where to insert this property.
I'm not that CSS wise, so any help would be appreciated.

Thanks Peter
 
Johnny

Posted: 12/29/2011
Quote message 

dang,

Firebug suggests that

element style
{
margin-left: -9px;
}
Place this code in the element object itself

<object width="581" height="390" type="application/x-shockwave-flash" data="gallery/gallery.swf" id="flashgallery-1" style="visibility: visible; margin-left: -9px;"><param name="allowScriptAccess" value="always"><param name="allowFullScreen" value="true"><param name="wmode" value="transparent"><param name="quality" value="high"><param name="flashvars" value="configPath=gallery/config.xml"></object>
[
 
Dang

Posted: 1/1/2012
Quote message 

thanks, just dropped the code into the part:


jQuery.flashgallery('gallery/gallery.swf', 'gallery/config.xml', { margin-left: '-9px', width: '581px', height: '390px', background: 'transparent' });

and still nothing happens, the slideshow disappeared.

I will keep playing with it.

Regards
Dan
 
dan

Posted: 1/3/2012
Quote message 

Yes there is two duplicate pages index.html and Witamy.html which is welcome page.
I will perform redirect from witamy.html to index.html


I added the part of the code:
margin-left: '-9px'
in purpose to show that the gallery disappear on the website after adding it.

Once I've cleared

margin-left: '-9px'

The slideshow is back again but on the old position:)
 
Johnny

Posted: 1/4/2012
Quote message 

Dan,

Try to put the element style margin-left:-9px in the object and not between the<param>.
<object height = "390" width = "581" type = "application / x-shockwave-flash" data = "gallery / gallery.swf" id = "flash gallery-1" style = "visibility: visible; margin-left: -9px; ">

<param name="allowScriptAccess" value="always">
<param name="allowFullScreen" value="true">
<param name="wmode" value="transparent">
<param name="quality" value="high">
<param name="flashvars" value="configPath=gallery/config.xml">
</ object>
 
Johnny

Posted: 1/4/2012
Quote message 

Dang,
And this is the result after adding the element style margin-left:-9px;

 
Dang

Posted: 1/10/2012
Quote message 

Thank you for your support however there is nothing like Object in the code. It's just showed up by the firebug but I can't locate it in the source code of any page nor css style sheet.