Old 27th September 2002, 18:22   #1
radarboy
Junior Member
 
Join Date: Sep 2002
Location: Maryland, US
Posts: 21
Nice windowshade toy

Ok, this is a pretty minor tip - but I thought it was neat for windowshade modes.

I've been wanting the songtitle info on my windowshade mode for a while, but I hated to make my WS mode bigger in order to add the display. Now I can have it as the tooltip for the seeker.

I put a standard, but invisible, songticker on my windowshade layout, along with a seeker bar and slider. Then, I added this to my windowshade code:

Global Slider SeekerGhost;
Global Text Songticker;

System.onScriptLoaded() {
Group ButtonsGrp = getScriptGroup();
SeekerGhost = ButtonsGrp.GetObject("seekerghost");
Songticker = ButtonsGrp.getObject("songticker");
}

Songticker.onTextChanged(String stext) {
SeekerGhost.setXmlParam("tooltip", stext);
}

Hover your mouse over the seek bar, and the songtitle pops up as a tooltip.
radarboy is offline   Reply With Quote
Old 27th September 2002, 20:47   #2
frisbeemonkey
Major Dude
 
frisbeemonkey's Avatar
 
Join Date: Jun 2002
Posts: 851
That's pretty cool if you ask me. Bonus points for creativity on this one!
~FrisbeeMonkey
frisbeemonkey is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Skinning and Design > Modern Skins

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump