Using images in playlist, Drop Down Playlist Jukebox |
![]() ![]() |
Using images in playlist, Drop Down Playlist Jukebox |
Apr 3 2005, 11:51 PM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 5 Joined: Apr 2005 Member No: 122,021 |
I use this playlist:
Drop Down Playlist Jukebox I would like to use images for the buttons instead of the default buttons with text. The problem is that I cannot figure out how to use an image for the pause state in the script (the other buttons were very simple to change to an image). The code that holds the text ('Pause) is near the bottom of the actual script: I have tried just replacing that with several things: and this: plus many other things. Could someone take a look at the attached code and let me know what I am doing wrong?
Attached File(s)
|
|
|
|
Apr 4 2005, 01:16 AM
Post
#2
|
|
![]() New Type ![]() ![]() ![]() ![]() Group: Member Posts: 145 Joined: Mar 2005 Member No: 119,960 |
Try...
make new variable to represent image. then call variable instead. var pause = new Image(); pause.src = '/jbcontrols/pause.gif' then for CODE forms['form'].PlayPauseButton.innerHTML = <img src="/jbcontrols/pause.gif" width="23" height="22">; get rid of innerHTML and set forms['form'].PlayPauseButton = pause; these are not tested, I dont know if they work for sure. where's your site? |
|
|
|
Apr 4 2005, 01:07 PM
Post
#3
|
|
|
Newbie ![]() Group: Member Posts: 5 Joined: Apr 2005 Member No: 122,021 |
I finally figured out how to do this. I will post the code later.
|
|
|
|
Apr 4 2005, 03:48 PM
Post
#4
|
|
|
Newbie ![]() Group: Member Posts: 5 Joined: Apr 2005 Member No: 122,021 |
|
|
|
|
![]() ![]() |