[thelist] javascript question (easy?) <-- not so easy
AtdtXav
atdtxav at yahoo.com
Thu Dec 13 12:06:45 CST 2001
To your second suggestion, that will, if it succeeds, only
detect whether or not the plugin exists, not whether it is
enabled.
As for the first one, I am giving it a concerted effort, and I'm
coming up short. I'm sure it's my inexperience with javascript.
I'd like to get something that works in IE, then I can play
with it until it works in netscape.
All I need is the actual, real position of an element, not a
position listed in a stylesheet. I'm not looking to change the
position, just to detect how far down the page the item (image,
div, anything I can make invisible) exists, and say "if it's
less than 75 pixels down the page, redirect".
*frustrated*
Thanks for your help, by the way.
Scott
--- Peter-Paul Koch <gassinaumasis at hotmail.com> wrote:
>
> >how does one find an images absolute location (height,
> >specifically) on a page?
>
> See http://www.xs4all.nl/~ppk/js/index.html?findpos.html
>
> >PS the reason I'm doing this, if you missed my last message,
> is
> >I'm trying to detect the fact that quicktime is installed but
> >plugins are disabled. There doesn't seem to be a hard and
> fast
> >way to do this, so I'm attempting to check for the position
> of
> >the images that would be underneath the large QT section.
>
> Try the script at
> http://www.xs4all.nl/~ppk/js/index.html?flash.html . This
> is a Flash detect, but below on the page are instructions to
> detect other
> plugins. Please note that this doesn't work for most plugins,
> but Quicktime
> hasn't been tried yet. If it works, let me know.
>
> ppk
>
>
_________________________________________________________________
> Join the worlds largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
More information about the thelist
mailing list