Sie sind nicht angemeldet.

1

Mittwoch, 9. März 2011, 00:04

Layer DIV content over a krpano?

Hey there:

I have a krpano panorama embedded in in a Web page, inside a DIV (div id="panocontent"). I'm using the default krpano output & Javascript(s).

On my Web page I have a DIV which has some text and a button in it. On -most- browsers, this DIV overlays the krpano just fine. In Firefox on WinXP, the Flash content hides my buttons. I've tried changing wmode and other things (z-index has no effect, naturally), but no luck!

Advice?

Tourvista

Fortgeschrittener

Beiträge: 260

Wohnort: Leicester UK

  • Nachricht senden

2

Mittwoch, 9. März 2011, 12:11

I think you have to add this line:

so.addVariable("wmode", "transparent");

or

swf.addVariable("wmode", "transparent");

Depending on how is your javascript.

Cheers

Douglas Rhiner

Fortgeschrittener

Beiträge: 141

Wohnort: San Anselmo, CA

Beruf: Code-Slave

  • Nachricht senden

3

Freitag, 11. März 2011, 17:52

I have several DIV's over Krpano working with no issues.
But the code I'm using is...

viewer.addParam("wmode", "opaque");

4

Dienstag, 29. März 2011, 23:58

Hey folks -- Thanks for the feedback :-)

Like I said, I'd played with wmode to no effect... Neither "opaque" nor "transparent" seem to make a difference. I'll chalk it up to Firefox, which has always seems to have some weird embedded media display issue w/each new release.

5

Mittwoch, 30. März 2011, 02:31

hey guys,

Doug I'd like to see your example if you don't mind,....

I've tried hit and miss,..but when I was successful I found that it screwed up the functionality when viewed on the iphone.

Does your work on the iphone or was that not your intent,..it seems any layer editing I do to the the html screws up iphone functinality,..to add,.. a coder I'm not.

Rob

6

Mittwoch, 30. März 2011, 19:56

getting DIVs over krpano with wmode is easy but you suffer from a performance decrease. it was no big geal to me until i updated to IE9. anything with wmode set in IE9 stutters so bad it is hardly viewable. So i have to try to find another method. Here is a link to a page where you can get a DIV over krpano without wmode at all.

it says for linux only but i tested it and it works in all brousers.
http://blog.marcoos.com/2006/07/21/html-…x-its-possible/