inherit
211492
0
Feb 24, 2021 8:52:31 GMT -8
Heildgar
124
July 2014
domanda
|
Post by Heildgar on Nov 28, 2015 12:56:07 GMT -8
Wow, thanks so much, it works now, this is amazing.
Just one last thing, is there a way to make it appear more in the center.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Nov 29, 2015 15:28:47 GMT -8
Find this line of the code...
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" border=0></a>')
And replace it with this...
document.write('<center><a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" border=0></a></center>')
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Nov 29, 2015 16:36:02 GMT -8
Just want to say thanks to Todge and Chris for helping Heildgar when I ran out of ideas and had no solution or options to try that worked. It is still bugging me as to why Heildgar was running into that problem when I have never had that issue all the years using ProBoards and going through multiple internet devices and different security programs. Do you think it probably comes down to a security program used on their computer? Just curious what your gut thoughts are on this if you don't mind answering. Anyway, I'm so glad Todge found a different route to go to make it work for you, Heildgar. Thumbs up!
|
|
inherit
211492
0
Feb 24, 2021 8:52:31 GMT -8
Heildgar
124
July 2014
domanda
|
Post by Heildgar on Nov 29, 2015 23:39:46 GMT -8
Thanks guys, this really started to look like an impossible solution, thanks.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Nov 30, 2015 11:52:24 GMT -8
Just want to say thanks to Todge and Chris for helping Heildgar when I ran out of ideas and had no solution or options to try that worked. It is still bugging me as to why Heildgar was running into that problem when I have never had that issue all the years using ProBoards and going through multiple internet devices and different security programs. Do you think it probably comes down to a security program used on their computer? Just curious what your gut thoughts are on this if you don't mind answering. Anyway, I'm so glad Todge found a different route to go to make it work for you, Heildgar. Thumbs up! The only thing I can think of is either a browser setting, or some security software blocking it. As to what that setting or software maybe though, I have no idea.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Dec 3, 2015 23:03:33 GMT -8
I recall a few instances back in the V4 days where failure to save scripts were attributed to an overly aggressive firewall that saw script tags within form submission fields as injection exploits and discarded the data. I cannot remember what the name of the program was but I sort of recall it being one of those ad supported freebies. The other option that came to mind was that the field had reached its capacity. Most fields such as templates, custom page html, plugin components, etc. have an effective capacity of 64K but I believe that was doubled for forum-wide headers/footers after Chris reported some problems in the alpha tests. The fact that Heildgar repeatedly reported being able to save plain html but not scripts however made this scenario less likely.
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Dec 6, 2015 22:19:18 GMT -8
I recall a few instances back in the V4 days where failure to save scripts were attributed to an overly aggressive firewall that saw script tags within form submission fields as injection exploits and discarded the data. I cannot remember what the name of the program was but I sort of recall it being one of those ad supported freebies. The other option that came to mind was that the field had reached its capacity. Most fields such as templates, custom page html, plugin components, etc. have an effective capacity of 64K but I believe that was doubled for forum-wide headers/footers after Chris reported some problems in the alpha tests. The fact that Heildgar repeatedly reported being able to save plain html but not scripts however made this scenario less likely. Woah, woah, woah. You're Chris now too? Don't do this to my head man. There was another fun bug in V3 where censored words was applied to headers/footers. So having an "Assassin" class type would apply the "butt -> butt" censor... so your Assassin was a Buttbuttin. (I don't recall any firewall issue. But the cap thing sounds familiar.)
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Dec 7, 2015 4:19:00 GMT -8
It was either that or Malkovich LOL, I remember that bug and also laughing uncontrollably at "spoonthingy" (no recalled details on how that came about however)
|
|
Former Member
inherit
guest@proboards.com
195316
0
Nov 24, 2024 6:53:42 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jun 10, 2016 3:30:35 GMT -8
Hi, Heildgar I see you are having an issue with a image and link code try the code below and see if that helps solve your issue Global Header <script type="text/javascript"> //Javascript Created by Computerhope www.computerhope.com//store the quotations in arrays var images = [], index = 0; images[0] = "<a href = 'ADD LINK HERE'><img src='ADD IMAGE URL HERE' title='ADD LINK TITLE HERE'></a>"; images[1] = "<a href = 'ADD LINK HERE'><img src='ADD IMAGE URL HERE' alt='ADD LINK TITLE HERE'></a>"; images[2] = "<a href = 'ADD LINK HERE'><img src='ADD IMAGE URL HERE' alt='ADD LINK TITLE HERE'></a>"; index = Math.floor(Math.random() * images.length); document.write(images[index]); //done </script> Steve
|
|