- This topic is empty.
-
AuthorPosts
-
November 4, 2010 at 11:25 am #27691kloyMember
Any one know why the .swf file is not showing up in Google Chrome?
I also included an alt image, but that’s not showing up either.http://www.abebuzz.com/
Here’s the code…November 4, 2010 at 2:07 pm #76998Chris CoyierKeymasterTry this
November 4, 2010 at 4:11 pm #76919Rob MacKayParticipantPlease don’t ever use an iframe lol
Seems to work for me – did you get it fixed?
November 4, 2010 at 5:53 pm #76921Chris CoyierKeymasterWhats wrong with iframe?
November 4, 2010 at 6:28 pm #76922noahgelmanParticipantNever use an iframe, especially if all your doing is displaying an image or flash video. Unless you’re embedding something into the page, like a youtube video and you want to use html5 and not flash, or something of the like, there’s not much other reason to use an iframe.
November 4, 2010 at 7:32 pm #76888Rob MacKayParticipantiframes are terrible and 99% of the time are not required. If you have a tag for a purpose – for example embed – you should always go with that, it will work because it’s standard stuff and probably a path issue. There are many reasons why iframes are bad, from SEO to navigation, bookmarking and beyond… but that’s something google can help people who want to find out more with :D
Just know that iframes are not a thing of beauty or a joy forever – avoid at all costs.
November 4, 2010 at 7:49 pm #76891Chris CoyierKeymasterI used an iframe when my HTML wouldn’t validate with embedding it. An iframe was the only success I had.
November 5, 2010 at 2:01 am #76902jamygoldenMemberI’m pretty sure there is a way to validate it without an iframe.
If it worked on all browsers, why use an iframe specifically for validation? Validation is important, but you were just ‘tricking’ the validation system since that html still won’t validate.
My advice would be:
A: Find a proper way of validating that HTML or link us to an example where it doesn’t validate.
B: Let the validation fail, it’s not important in this case.November 5, 2010 at 7:26 am #76754Rob MacKayParticipantwow you should not be using iframe to make something validate, you should focus on getting the HTML right :)
November 5, 2010 at 1:30 pm #76772Chris CoyierKeymasterIt was actually the wufoo form. I changed code options from iframe to javascript. It passed. However, I have an “under construction” swf that I’m displaying that I put into an iframe because it wouldn’t validate with embedding it. I’ll post back when I recode it to the way it was for help.
November 5, 2010 at 1:39 pm #76773Chris CoyierKeymasterHere is the link with the embed code that won’t validate.
November 5, 2010 at 4:36 pm #76780heysepMember
Should work and validateNovember 5, 2010 at 7:27 pm #76787Chris CoyierKeymasterIt worked and validated. Thanks a lot @heysep.
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.