Announcment Scroller Mod - Postet den (3727 Views)
Advanced Member
JJenson
Innlegg: 2121
2121
Ok I am not sure who all will want something like this or not. I did not write the original code I modified it so that it would work with the base snitz code.

I hope people will like this and any improvements would be greatful I am not sure all the inhancements I can make but would appreciate it if someone would like to step in and make some.
Let me know if you want this or not if so I will see about uploading it over at snitzbitz.
Download File Here Updated 12/3/06 9:50 AM MST<
   
 Sidestørrelse 
Postet den
Advanced Member
JJenson
Innlegg: 2121
2121
I forgot to say you can see this at this site.
www.thebragboard.com/other/forum1

You do not need to log in to see this.
* Sorry edited its the right link now. I apologize about that.<
Postet den
Senior Member
MarkJH
Innlegg: 1722
1722
Originally posted by JJenson
I forgot to say you can see this at this site.
www.thebragboard.com/forum1

You do not need to log in to see this.
Getting a 404 on that one, Jeff.<
Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Postet den
Advanced Member
JJenson
Innlegg: 2121
2121
edited both links above should work now sorry about that I should really check for typos when I do that smile<
Postet den
Postet den
Advanced Member
JJenson
Innlegg: 2121
2121
Ok I only tested this with IE so I will have to see what I need to do to get it working with firefox. Any ideas on where to point me?
I will go ahead and take a look at this after dinner tonight.<
Postet den
Average Member
modifichicci
Innlegg: 787
787
Why in inc_announce3 there is a testing string on IE or Netscape? Try deleting the if then checking for browser and see what happens, i haben't installed the mod , so i cannot try it..<
Postet den
Advanced Member
JJenson
Innlegg: 2121
2121
Ok I will get on and try that as soon as dinner is finished
<
Postet den
Senior Member
Jezmeister
Innlegg: 1141
1141
Originally posted by modifichicci
Why in inc_announce3 there is a testing string on IE or Netscape? Try deleting the if then checking for browser and see what happens, i haben't installed the mod , so i cannot try it..
That's a check for compatibility, don't remove it but edit it if neccesary, simply add Mozilla to the list of accepted browsers otherwise it'll play up on browsers that don't support the code, the list of which i suspect is substantial given that such a check was incorporated in the first place.<
Postet den
Advanced Member
JJenson
Innlegg: 2121
2121
Ok I tried it both ways. I am not sure if I take it out I get this error

Active Server Pages error 'ASP 0113'

Script timed out

/other/forum1/default.asp

The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools.

If i put in the code and maybe I am putting in the improper names for Firefox it gives me the same code. here is what I put in for the code on that line I am sure I did it wronge
Code:
if instr(strUserAgent, "MSIE") or instr(strUserAgent, "MSIE 6.") or instr(ua, "MSIE 5.") or instr(strUserAgent, "Netscape") or instr(strUserAgent, "Netscape7.") or instr(strUserAgent, "Firefox") or instr(strUserAgent, "firefox 1.5") or instr(strUserAgent, "MF") or instr(strUserAgent, "MF1.5") then

Let me know where I should change the code I am trying to search and figure out why it won't show with Firefox but this seems like firefox has issues with the <marquee> tag but not totally sure

thank<
Postet den
Advanced Member
JJenson
Innlegg: 2121
2121
Ok I added the code that Jez suggested and got it to work.

Couple things now in IE it scrolls slower than in Firefox I am not sure exactly how to get the speeds to match up or maybe classify different speed just for the Firefox? Ok this is fixed and the zip file in the first post has all the fixes
You can change speeds of the scroller in Mozilla Firefox and you can change the speed in IE & Netscape seperately.
For IE search in inc_announce3.asp for IE & Netscape
For Firefox search in inc_announce3.asp for Mozilla Firefox

Thanks

<
Du må legge inn en melding