POV-Ray : Newsgroups : povray.newusers : Re:Buttons for webdesign [moved from p.b.p] : Re:Buttons for webdesign [moved from p.b.p] Server Time
5 Nov 2024 01:22:54 EST (-0500)
  Re:Buttons for webdesign [moved from p.b.p]  
From: The "D"
Date: 26 Mar 2001 00:03:50
Message: <3abecdb6@news.povray.org>

> I use on most of my web sites a recorder style button system with
> fast reverse ( jump previouse index )
> reverse ( jump previouse page
> forward ( jump next page )
> fast forward ( jump next index page )
>
> All with mosue over.
> Would like to have one source file,
> where I have only to change color parameters,
> and this makes all the graphics 2 pictures per
> button (normal, mouse over)

Use the #if directive. it'd go something like this
#if(mouse=on)
      stuff for the mouse over
#else
      stuff for the non-mouse over image
#end

now you'll have to either specify the output file name or rename it once
it's rendered before doing the second image.


--
-The "D"
    A Thunderstorm is God's way of telling you that you spend too much time
on the
computer
Email address given is a spam catcher only


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.