Hi Daniel,
Something like this:

HTML
<div class="flashcontainer">
<a href="your link"> Put a fake description here for google </a>
<embed flashfile class="flashfile">
 <object flashfile class="flashfile">
</div>

CSS
.flashcontainer {
width: 200px;
height: 200px;
position: relative;
}

.flashcontainer a{
text-indent: -9999px;
height: 200px;
width: 200px;
z-index: 2;
position; absolute;
left: 0px;
top: 0px;
}

.flashfile{
position: relative;
z-index:1;
}


--------
something like this is what you need, you can just play with it a little.
Try to understand what I am doing with the code, it won't work if you'll
just copy and paste :)
If you need more help you can always e-mail me :)

Regards,
Lourens Thalen,
The Netherlands


2008/10/10 Daniel Hammond <[EMAIL PROTECTED]>

> | > Daniel Hammond wrote:
> | > URL: http://www.studentremix.org/hs/media.htm
> | > CSS: http://www.studentremix.org/hs/hs.css
> | > The flash animation (top object in the sidebar on the
> | right) is supposed to
> | > link to "http://gallery.me.com/northsideyouth#gallery"; when
> | you click on
> | > it,
> | > but it's not doing anything when clicked on. It's not
> | acting like a link at
> | > all. Any idea why?
> | > ________________________________
> | >
> | > Lourens Thalen wrote:
> | > What you should do is place the transparent link on top of the flash
> | > animation. (presuming you can't fix the link in the flash
> | file directly)
> | > Use position absolute to place it on top of the flashfile,
> | give it the
> | > correct height and width.
> | > Do NOT forget to give a z-index to the object and embed
> | tag, you can just
> | > use position: relative and z-index: 1;, this will do just fine.
> | > Problem is, flash always wants to be on top, tha's what's
> | causing the
> | > problem atm. :)
> | > ________________________________
> | >
> | > I'm sorry to seem like such a novice, but I haven't used absolute
> | > positioning or z-indexing before, so would you mind giving
> | me the lines of
> | > code that I need to add to my files?
> | > Thanks,
> | > Daniel
> |
> | position: absolute; is the line of code for absolute positioning
> | z-index: 1; line of code for z-index;
> | -------------------
> | Alexandru Dinulescu
>
>
> Yes, but I'm wondering where to put those in my CSS file and what to add
> (and where to add it) to my HTML file.
>
> Thanks,
> Daniel
>
>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to