Monni Language Offline Min izāmō Posts: 413 Location: Kaarina, Finland Joined: Jul 16th, 2014 Gender: Mood: Frustrated Zodiac sign: Re: JavaScript error in instant message Reply #6 - Aug 24th, 2014 at 10:11pm Mark & QuoteQuote Dandello wrote on Aug 24th, 2014 at 9:03pm:Hubby has a pair of Definitive Technology BP2000 speakers in the living room for the main sound system (about 48 inches tall). We don't turn them up very often. I have too small apartment to use big speakers, but my dad has old Tandberg amplifier and pair of Tandberg Studio Monitor in his house... He basically keeps the volume at the one quarter of maximum level, because even at standing 35 inches they do shatter all nearby windows and glass objects. It's like Xmas when the red tweeter overload lights flash on the speaker front panels There is no point in trying to connect bigger speakers to the amplifier as it would definitely launch people's eardrums to outer space. Instead of measuring dB of audio output, we should use Richter scale GTalk Skype/VoIP Facebook Twitter YouTube ICQ IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2253 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: JavaScript error in instant message Reply #5 - Aug 24th, 2014 at 9:03pm Mark & QuoteQuote Hubby has a pair of Definitive Technology BP2000 speakers in the living room for the main sound system (about 48 inches tall). We don't turn them up very often. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Monni Language Offline Min izāmō Posts: 413 Location: Kaarina, Finland Joined: Jul 16th, 2014 Gender: Mood: Frustrated Zodiac sign: Re: JavaScript error in instant message Reply #4 - Aug 24th, 2014 at 7:46pm Mark & QuoteQuote It's fun up to the point when you have to take all the glassware outside because the vibration from the loudspeakers is enough to shatter glass even if it doesn't fall to the floor. 35 inch tall speaker cabinets are pretty much minimum for studio work... Cost about 1000 EUR a pair GTalk Skype/VoIP Facebook Twitter YouTube ICQ IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2253 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: JavaScript error in instant message Reply #3 - Aug 24th, 2014 at 7:34pm Mark & QuoteQuote That sounds liike fun. Great BIG loud speakers... Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Monni Language Offline Min izāmō Posts: 413 Location: Kaarina, Finland Joined: Jul 16th, 2014 Gender: Mood: Frustrated Zodiac sign: Re: JavaScript error in instant message Reply #2 - Aug 24th, 2014 at 7:06pm Mark & QuoteQuote Dandello wrote on Aug 24th, 2014 at 7:01pm: As you have no doubt realized, javascript is not my progamming language of choice. So any and all help is appreciated. Neither is mine... but it is so close to C/C++ that I can read the code... Using debugger it is easy enough to figure out what solution works... I actually like writing mixed C/Assembly code... Some of my code has been used in professional audio equipment Meyer Sound Laboratories is one of my business partners GTalk Skype/VoIP Facebook Twitter YouTube ICQ IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2253 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: JavaScript error in instant message Reply #1 - Aug 24th, 2014 at 7:01pm Mark & QuoteQuote As you have no doubt realized, javascript is not my progamming language of choice. So any and all help is appreciated. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Monni Language Offline Min izāmō Posts: 413 Location: Kaarina, Finland Joined: Jul 16th, 2014 Gender: Mood: Frustrated Zodiac sign: JavaScript error in instant message Aug 24th, 2014 at 6:46pm Mark & QuoteQuote Code --- C:/Users/Mika/AppData/Local/Temp/InstantMessage.pm-revBASE.svn000.tmp.pm Sat Aug 23 02:48:28 2014 +++ C:/build/yabb/trunk/cgi-bin/yabb2/Sources/InstantMessage.pm Sun Aug 24 21:44:25 2014 @@ -462,7 +462,7 @@ function showimage() { $jsIM - var icon_set = document.postmodify.status.options[document.postmodify.images.status.selectedIndex].value; + var icon_set = document.getElementById("status").options[document.getElementById("status").selectedIndex].value; var icon_show = jsIM.getItem(icon_set); document.images.status.src = icon_show; } @@ -820,7 +820,7 @@ $jsIM function showtpstatus() { var theimg = '$pmicon'; - var objIconSelected = document.postmodify.status[document.postmodify.status.selectedIndex].value; + var objIconSelected = document.getElementById("status").selectedIndex != -1 ? document.getElementById("status").options[document.getElementById("status").selectedIndex].value : 's'; if (objIconSelected == 's') { theimg = 'standard'; } if (objIconSelected == 'c') { theimg = 'confidential'; } if (objIconSelected == 'u') { theimg = 'urgent'; } This defaults to standard icon, if none is selected. GTalk Skype/VoIP Facebook Twitter YouTube ICQ IP Logged