List Info

Thread: embed flash into haml?




embed flash into haml?
country flaguser name
United States
2007-10-23 07:13:01
Hey.

Working on a website building it in haml.. but can't work
out how to
embed a little flash banner into the site using haml.

I want the html to be something like:

<object width="550" height="400">
<param name="movie"
value="somefilename.swf">
<embed src="somefilename.swf"
width="550" height="400">
</embed>
</object>

Any help greatly appreciated.

Alex


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Haml" group.
To post to this group, send email to hamlgooglegroups.com
To unsubscribe from this group, send email to
haml-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: embed flash into haml?
user name
2007-10-23 07:24:40
On 10/23/07, alexfoxy < alexfoxygmail.com">alexfoxygmail.com> wrote:

I want the html to be something like:

<;object width=&quot;550" height=&quot;400";>
<param name=";movie"; value=&quot;somefilename.swf&quot;>
<embed src="somefilename.swf &quot; width=&quot;550" height=&quot;400";>
</embed>
&lt;/object&gt;

%object{ :width => 550, :height => 400 }
  %param{ :name => "movie", :value => " somefilename.swf" }/
  %embed{ :src => "somefilename.swf", :width => 550, :height => 400 }

Tip: you might want to consider a JavaScript solution to embed Flash on your webpages:
http://www.bobbyvandersluis.com/ufo/

It's much better, unobtrusive, easier to do, degradable and your HTML has a chance to validate, also.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Haml" group.
To post to this group, send email to hamlgooglegroups.com
To unsubscribe from this group, send email to haml-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Re: embed flash into haml?
user name
2007-10-23 18:30:05
On 10/23/07, Mislav Marohnić <mislav.marohnicgmail.com> wrote:

> Tip: you might want to consider a JavaScript solution
to embed Flash on your
> webpages:
>  http://www.bobby
vandersluis.com/ufo/
> It's much better, unobtrusive, easier to do, degradable
and your HTML has a
> chance to validate, also.

There's no point in writing valid HTML only to use invalid
Javascript
to generate invalid HTML.

-------------------------------------------
Daniel Brumbaugh Keeney
Devi Web Development
Devi.WebMastergMail.com
-------------------------------------------

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Haml" group.
To post to this group, send email to hamlgooglegroups.com
To unsubscribe from this group, send email to
haml-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )