Ask a Question related to PHP Development, Design and Development.
-
Kris #1
how to do this?
http://camacho.tv/index.php
When you click the picture banner on top of the page, it opens a new
picture. I really like this and I wish I could have it on my site.
I'm not really into php programming (or other languages), but nonetheless,
I'm
hoping that I can accomplish this with some sort of tool maybe? Or can I
find this little script somewhere?
Can anyone give me a tip on how to do this? Or do you know other sites where
you can see the same thing?
many thanks!
Kris
Kris Guest
-
Steven #2
Re: how to do this?
On Sat, 30 Oct 2004 15:06:51 +0200 (more or less), "Kris" <be>
wrote:
It looks to me like the PHP code loads a randomly selected image. The banner
is a link to index.php, so clicking on it reloads the current page, usually
picking a new image.
Steven Guest
-
Warren #3
Re: how to do this?
In article <com>,
Steven Stern <com> wrote:
:It looks to me like the PHP code loads a randomly selected image. The banner
:is a link to index.php, so clicking on it reloads the current page, usually
:picking a new image.
I don't think that's what's happening in this case. I think they're
calling getElementbyid() and changing the id. Look here:
http://www.mozilla.org/docs/dom/domref/dom_shortTOC.html
which is for the Gecko DOM, but IE now use much the same thing.
--
Looks like more of Texas to me.
.... Arizona, where the nights are warm and the roads are straight.
Warren Guest
-
Daedalus #4
Re: how to do this?
> :It looks to me like the PHP code loads a randomly selected image. The
banner
usually
I don't think so. I would say that the random banner image is not in
javascript, so it must be in php. Look at the source, I see a javascript
drop down menu but no sign of a rondom banner... or try the page with
javascript disabled... It must in PHP, I often use this method to make a
changing banner ad in a noscript tag. Anyway I would see no reason to make
that in javascript on a php page when there's no changes needed to be made
on the client-side.
Dae
Daedalus Guest



Reply With Quote

