floating phplayers

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
TNTH

floating phplayers

Post by TNTH »

I just don't get this:

http://friendsofalfalah.nl/nl/index.php?page=Al-Falah

Scroll down and then try the menu. You'll see that the subframe is at the bottom of the iframe. I have the same problem at http://plastic-halo.nl/cms/ but there it always is at the half of the page. I just do'nt understand this. I tried to change some css but that didn't work out. Can anyone help me?

Oh, and the design sucks in Firefox, I know (working on it).
Last edited by TNTH on Tue Jun 28, 2005 9:27 pm, edited 1 time in total.
kishman155
Translator
Translator
Posts: 169
Joined: Sat Mar 12, 2005 12:30 pm
Location: Vienna

Re: floating phplayers

Post by kishman155 »

floating phplayers
I think your problem is that the menu takes the space from top of the page and not from the window.

kris
mbvdk
Forum Members
Forum Members
Posts: 43
Joined: Wed Jun 08, 2005 3:30 pm

Re: floating phplayers

Post by mbvdk »

Hi,
I took a look at the html-output on your page, and noticed that you have the menu in a set of div-tags

Code: Select all

<div id="divStayTopLeft">
What is the "position" value of #divStayTopLeft? this must be absolute, and then you should put the content inside another set of div-tags.

Now comes the fun part: ;)
You will most likely have to edit "function getOffsetTop(layer)" in "layersmenu-library.js"
This function is used to calculate the possitions of all submenu-frames.
My guess is that you have to add the following line right befor the "return" statement

Code: Select all

value -= document.getElementById('divStayTopLeft').offsetTop;
TNTH

Re: floating phplayers

Post by TNTH »

mbvdk you're great! It works!!! Many thanks on this!!!
Locked

Return to “Modules/Add-Ons”