Naturally You put them in place like desga2 said - I would also do it like that.
But some things need specific file encodings
And we do not want to learn to look for these sordid details the hard way
Quote
reeko124
back,forward,stop, and refresh buttons
Back(24,24){
# That does bar (24,24) resizing / Bar opening code
Back {
# Button opening code
ID_NAV_BACK
Go back one page
mainhot.bmp[0]
maincold.bmp[0]
maindead.bmp[0]
}
#Closing Button end
}
Closing Bar end
# Here we go again -
Forward{
Forward {
ID_NAV_FORWARD
Go forward one page
mainhot.bmp[1]
maincold.bmp[1]
maindead.bmp[1]
}
}
Stop{
Stop {
ID_NAV_STOP
Stop loading this page
mainhot.bmp[2]
maincold.bmp[2]
maindead.bmp[2]
}
Reload{
Reload{
%ifplugin macros
ID_NAV_RELOAD|Reloa&ding
Reload this page. Right-click for more options.
%else
ID_NAV_RELOAD
Reload this page
%endif
mainhot.bmp[3]
maincold.bmp[3]
maindead.bmp[3]
}
}
# I wanted my skin to automatically translate. So I reused English strings from
# kmeleon.kml = that kml comes with each non English kmeleon.
# format: K-Meleon Localization (version 1.5, encoding must be UTF-8)
# In the following example English=German
# OK=OK
# Cancel=Abbrechen
# Close=Schließen
# ----- Toolbar Names (View > Toolbars)
Bookmarks=&Lesezeichenleiste
Favorites=Fa&voritenleiste
Hotlist=H&otlist-Leiste
URL Bar=&Adressleiste
# An extra additional bar with two button.
%ifplugin macros
JavaScript &Console(24,24){
JavaScript &Console{
macros(Console2)
JavaScript &Console
mainhot.bmp[30]
maincold.bmp[30]
maindead.bmp[30]
}
So&urce Code(16,16){
# Button can be resized to different/other size than bar and/or other button.
ID_VIEW_SOURCE
So&urce Code
mainhot.bmp[22]
maincold.bmp[22]
maincold.bmp[22]
}
}
%endif
# & 2 more button examples
Browser Con&figuration(24,24){
Browser Con&figuration{
ID_PREFERENCES|Compact Menu
View Preferences. Right-click to view Compact Menu.
mainhot.bmp[15]
maincold.bmp[15]
maindead.bmp[15]
}
}
&Save Page As...(24,24){
Save{
ID_FILE_SAVE_AS
&Save Page As...
mainhot.bmp[28]
maincold.bmp[28]
maincold.bmp[28]
}
}
Edited 1 time(s). Last edit at 04/27/2009 06:49PM by guenter.