Question creating autoplay changing icon...

The forum for designers and developers.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
spexer
Posts: 51
Joined: 12. Jul 07, 15:36
Location: Sweden
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Question creating autoplay changing icon...

Postby spexer » 23. May 09, 12:53

Ok, Found an answer to my own question..

Hello I wonder if its possible to make a chaning icon like the one below, showing autoplay on/off instead of the shuffle on/off?

<button x="next" y="same" src="autoplay.png" onclick="program.autoPlay=!program.autoPlay;" />

doesnt make me remeber if its turn on or off.. I would like it to show that even if i restart silverjuke, is it possible?

Many thanks in advance!
Attachments
autoplay.PNG
autoplay.PNG (2.19 KiB) Viewed 1829 times

Guest
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Question creating autoplay changing icon...

Postby Guest » 25. May 09, 08:56


spexer
Posts: 51
Joined: 12. Jul 07, 15:36
Location: Sweden
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Question creating autoplay changing icon...

Postby spexer » 25. May 09, 21:23



[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Developer Network”