General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old December 1st, 2003, 10:38 AM
kh44na kh44na is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 37 kh44na User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Alternating Pages

Hey guys,

I just wanted to know if someone would be kind enough and help me out with something I was working on. Nothing too big...

I wanted to implement a system where I could setup an alternating page script. Basically what I want to do is have a directory of seperate html pages...and then have this script, fade from one page, to another page, to another page...and just do this continuously?

Sort of like a scrolling news script, but a bit different?

Your help would be REALLY appreciated - and I want to thank you in advance for your help

Reply With Quote
  #2  
Old December 1st, 2003, 10:51 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
I realize you posted in the PHP/Python forum, but this could be done using DHTML...

Internet Explorer 4 introduced page transitions...
Stick it anywhere within <head></head>

Code:
 <META HTTP-EQUIV="page-enter, page-exit, site-enter, or site-exit" CONTENT="revealTrans(Duration=time,Transition=Trasition type number)">


you probably want page-enter and transition=12... the duration you could play with, but try duration=3

<META HTTP-EQUIV="Page-Enter" CONTENT="revealTrans(duration=3,transition=12)">



To switch pages on a timed interval, try the "Refresh" option (another meta tag)

Code:
<META HTTP-EQUIV="Refresh" CONTENT="4; URL=http://www.newsite.com/"> 


the first number is the length of time in seconds, and the URL is the address you want to switch to.

Reply With Quote
  #3  
Old December 1st, 2003, 10:55 AM
kh44na kh44na is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 37 kh44na User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
but with the code you showed.

How would I have the page1.html fade into page2.html which fades into page3.html and then start over?

Another thing that I wanted to explain was that I want to display these fading pages INSIDE OF ONE MAIN PAGE.

You know those "news" boxes on most INDEX pages on websites? Thats what I'm trying to develop. But instead what I want is to have 10-15 pages with different products on them...and I want it displayed on the INDEX page...so I can have a gallery of products that just sort of rotates infinetly, until someone clicks....(i'm thinking the area in which I wanna display this rotating system will be about 300 by 300 pixels.

ONCE AGAIN - THANKS FOR ALL your help I really appreciate it.

Reply With Quote
  #4  
Old December 1st, 2003, 02:36 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
oh, that's completely different...
I was assuming something like a Powerpoint Slideshow... but if its inside another page (IFRAME?) then those transitions won't work...

the refresh still would though...

put the <META> tag i provided before at the top of each of those 10-15 pages...

So page1.html would have:
<META HTTP-EQUIV="Refresh" CONTENT="4; URL=page2.html">


That doesn't solve the fading effect you wanted though...


Perhaps a java applet would be more practical?
Do you know of an example somewhere that you'd like to base it on?

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > Alternating Pages


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT