homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

how to remove gray border around flash in web page
flash gray border
Andre38 2000

 1:53 pm on Nov 2, 2007 (gmt 0)

I read your post #3127590.htm (http://www.webmasterworld.com/flash/3127590.htm)

on how to remove the border around flash in webpage , but it didn't work for me. Am I doing something wrong or are there new codes to do this?

My page is [mycrystalportrait.com...]



 5:45 pm on Nov 2, 2007 (gmt 0)

try this javascript:

objects = document.getElementsByTagName("object");
for (var i = 0; i < objects.length; i++)
objects[i].outerHTML = objects[i].outerHTML;

1 kb, works great. If you just have the one object then you obviously do not need the loop. Only thing I haven't figured out yet is after I change the flash HTML code to valid XHTML, the jscript wont work. Driving me nuts.


 5:47 pm on Nov 2, 2007 (gmt 0)

If you view my profile, I have a link to my site which contains a blog and I actually just wrote an article on this topic today.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved