Re: Re: Script like this for PHP
| From: | Indera | Date: | Thu, 13 Dec 2001 01:35:18 +0000 |
| Subject: | Re: Re: Script like this for PHP | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-77525@lists.php.net to get a copy of this message | ||
Hi Dan,
I will try your script. Thank you so much.
Indera
Dan McCullough wrote:
> Heres a function I wrote some time back for an ecommerce site, works on the same principle.
> <SCRIPT LANGUAGE="javascript">
> <!--
> function ghShow(){
> if (document.all){
> // IE browser detected
> document.all.gh.style.visibility = "visible";
> }
> else if (document.layers) {
> // Netscape browser detected
> document.gh.visibility = "visible";
> }
> }
> //-->
> </SCRIPT>
>
> then on the link.
> <A HREF="#ghSpot" onClick="ghShow()">
>
> hope this helps
>
> dan
> --- "Boget, Chris" <chris@wild.net> wrote:
> > > The "pop outs" are done using JavaScript. Its something to do
> > > with setting the STYLE="visibility: hidden" property of the HTML
> > > element. I'm not sure exactly how its done though.
> >
> > Yeah, and it only works on IE (and maybe NN6+). It won't work
> > (the same way) on NN <6.
> >
> > Chris
> >
>
> =====
> dan mccullough
> --------------------------------------------------------
> "Theres no such thing as a problem unless the servers are on fire!"
>
> __________________________________________________
> 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