Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

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



Report this thread to moderator Post Follow-up to this message
Old Post
Kris
10-30-04 08:55 PM


Re: how to do this?
On Sat, 30 Oct 2004 15:06:51 +0200 (more or less), "Kris" <kvdv@easynet.be>
wrote:

>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 wher
e
>you can see the same thing?


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.

Report this thread to moderator Post Follow-up to this message
Old Post
Steven Stern
10-30-04 08:55 PM


Re: how to do this?
In article <pa87o01a49kobprcf0q7380p1drvpk3v7a@4ax.com>,
Steven Stern <sdsternNOSPAMHERE@NOSPAMHEREmindspring.com> wrote:

:It looks to me like the PHP code loads a randomly selected image. The banne
r
: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/dom...m_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.

Report this thread to moderator Post Follow-up to this message
Old Post
Warren Oates
10-30-04 08:55 PM


Re: how to do this?
> :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/dom...m_shortTOC.html
>
> which is for the Gecko DOM, but IE now use much the same thing.

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



Report this thread to moderator Post Follow-up to this message
Old Post
Daedalus
10-31-04 01:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Language archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:24 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.