so with some browsers, you need to set border=0 on the image, otherwise you get a 1px + border surrounding the image. This can be done directly on the image tag or via css.
You can use css to position the alt content image. Aran On Sat, Jun 5, 2010 at 3:29 AM, Tessimon <[email protected]> wrote: > I'm trying to use SWFObject2 dynamic publishing version. > > I want to only show my flash image if the browser finds the flash plug > in and it supports the correct version of flash for my banner, > otherwise I want to display a jpeg image in its place. > > When flash support is available in my browser the flash image is > displayed, no problems. But when Javascript or flash plugin support is > not available and my alternate image jpeg is displayed something wierd > happens and i would appreciate any help on this: > > The image is displayed but is pushed to the right of the screen and it > seems to have a box behind the image, the edge of the box is only > visable and changes colour on rollove like it wants to be clicked, > obviously i cannot see what the box is because the image covers it. > There is nothing wrong with my image, i put that in place first and > tested it loaded ok before i added the SWFObject code and file. > > My code is below: > > <script type="text/javascript" src="Scripts/swfobject.js"></script> > <script type="text/javascript"> > swfobject.embedSWF("advertise_banner.swf", "altContent", "468", "60", > "6.0.0", "expressinstall.swf"); > </script> > </head> > > <body> > <div id="wrapAltContent"> > <div id="altContent"> > <a href="advertise_banner.php?ad=y"> > <img src="Images/advertise_banner.jpg" alt="Image linking to > information on advertising a banner ad on Choose Almeria" /> > </a> > </div> > </div> > > Looking forward to replies. > > -- > You received this message because you are subscribed to the Google Groups > "SWFObject" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<swfobject%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/swfobject?hl=en. > > -- You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
