Re: LMS webUI: create overlay across width of *entire* page?

peterw <peterw.a4zn9z-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
Newsgroups gmane.music.equipment.slimdevices.devel
Organization Logitech Squeezebox Forums
Message-ID <[email protected]>
I expect you should be able, since the #leftcontent iframe is in the
same Javascript security domain as window.top, to create your DOM
element inside window.top.document outside #leftcontent, and then it
should be able to use the whole viewport.

Otherwise you might consider hacking out of the iframe completely, as I
did years ago to allow PlayLog to show the history table using the full
screen, e.g. *if (window != window.top )*  then use *top.location.href*
to reload and take over the whole viewport. Ugly hack, but I don't have
to worry that my code my pollute the regular LMS DOM and cause problems
with regular LMS code.



owner of the stuff at https://tuxreborn.netlify.app/
(which used to reside at *www. tux.org/~peterw/*)
Note: The best way to reach me is email or PM, as I don't spend much
time on the forums.
*Free plugins:* AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu
DenonSerial
FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket
SaverSwitcher
SettingsManager SleepFade StatusFirst SyncOptions VolumeLock
------------------------------------------------------------------------
peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=114857
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.