TinyPortal

Development => Support => Topic started by: eSiK on February 27, 2007, 12:51:01 PM

Title: JS error, when left/right blocks off on forum view
Post by: eSiK on February 27, 2007, 12:51:01 PM
Like in topic...
You can see this on www.kom4you.pl (still in development) ;)
I use slightly modified default skin, but the error is from the beginnig.
When left and right blocks are ON - no JS error, but when blocks are OFF on the Forum view, then IE shows JS Error.
On Firefox there is no error.
How to repair that?
Thx in advance for your help :)
Title: Re: JS error, when left/right blocks off on forum view
Post by: eSiK on March 03, 2007, 05:55:53 AM
anyone? :(
this bug really annoys me...

ps: it looks like a bug with marquee script
Title: Re: JS error, when left/right blocks off on forum view
Post by: G6Cad on March 03, 2007, 02:45:33 PM
The only thing we can say is that you turn the error notification off in your IE
You have to remember that we are in beta stage and there for some issues will be there, this happends to some users, and to some it dont, so turn it off and you will atleast not be botherd by the notification.
Title: Re: JS error, when left/right blocks off on forum view
Post by: dkorse on March 06, 2007, 07:28:18 PM
To fix the javascript error:
In Sources/TPortal.php

Replace
function initializemarquee(){
cross_marquee=document.getElementById("vmarquee")
cross_marquee.style.top=0



with function initializemarquee(){
cross_marquee=document.getElementById("vmarquee")
if(cross_marquee == null)
   return
cross_marquee.style.top=0

Title: Re: JS error, when left/right blocks off on forum view
Post by: pvisser on March 09, 2007, 12:53:06 PM
Thanks works 4 me hihih
Title: Re: JS error, when left/right blocks off on forum view
Post by: DataAve on March 17, 2007, 01:31:15 AM
Man, dkorse, thanks bro, that was driving me up the wall!!!
Title: JS error, when left/right blocks off on forum view
Post by: bloc on March 17, 2007, 06:33:04 PM
Thanks as well. Included in TP 0.9.8
Title: Re: JS error, when left/right blocks off on forum view
Post by: pvisser on March 18, 2007, 08:32:54 PM
Is not included in 0.98. I did an uograde and bang. Had to recode from the coding above.
Title: Re: JS error, when left/right blocks off on forum view
Post by: bloc on March 18, 2007, 10:19:48 PM
It should have been..but did not. I have updated the archive with it now.
Title: Re: JS error, when left/right blocks off on forum view
Post by: IchBin on March 19, 2007, 12:09:32 AM
Me thinks Bloc has to many files to keep track of... lol
Title: Re: JS error, when left/right blocks off on forum view
Post by: G6Cad on March 19, 2007, 01:41:23 PM
I have that change in my file, so it must be in the new package, cause i didnt add this manually
Title: Re: JS error, when left/right blocks off on forum view
Post by: bloc on March 20, 2007, 12:29:20 PM
Probably..I was quick to update it though. :P
Title: Re: JS error, when left/right blocks off on forum view
Post by: DataAve on March 20, 2007, 11:31:02 PM
You da man, Bloc