asht0n91
New Member
Always more to learn.
Posts: 89
inherit
187114
0
Jan 6, 2016 11:13:34 GMT -8
asht0n91
Always more to learn.
89
December 2012
asht0n
|
Post by asht0n91 on Jul 21, 2014 11:54:46 GMT -8
Hi,
I've got an image at the bottom of my forum, but it sits above the ProBoards advertisements. Is there a way I can have to it sits below the advertisements? I know there was on V4, but doesn't seem to work on V5.
Thanks in advance ...
~asht0n91.
|
|
asht0n91
New Member
Always more to learn.
Posts: 89
inherit
187114
0
Jan 6, 2016 11:13:34 GMT -8
asht0n91
Always more to learn.
89
December 2012
asht0n
|
Post by asht0n91 on Aug 4, 2014 10:06:48 GMT -8
...
|
|
#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 Aug 4, 2014 16:58:34 GMT -8
Try this in whichever footer you want it displayed in.. <script type="text/javascript"> <!-- $(document).ready(function(){ $('#wrapper').append($('<img/>').attr('src','URL OF IMAGE').css({'display':'block','margin-left':'auto','margin-right':'auto'})); }); // --> </script>
and change the red text to the URL of your image.
|
|
asht0n91
New Member
Always more to learn.
Posts: 89
inherit
187114
0
Jan 6, 2016 11:13:34 GMT -8
asht0n91
Always more to learn.
89
December 2012
asht0n
|
Post by asht0n91 on Aug 10, 2014 4:17:43 GMT -8
Thanks for getting back to me Todge.
It seems to put it below the top advertisement banner, rather than the bottom advertisement (text). Although I have put this in my Global Footers. Any idea? Also, would you be able to amend the code so they can click the image to go back to the top of the page ... if possible.
Many 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 Aug 10, 2014 13:51:02 GMT -8
Try this... <script type="text/javascript"> <!-- $(document).ready(function(){ $('#wrapper').append($('<img/>').attr('src','URL OF IMAGE').css({'display':'block','margin-left':'auto','margin-right':'auto','cursor':'pointer'}).click(function(){ $(document).scrollTop(0); })); }); // --> </script> And ensure it is the last code in your GLOBAL FOOTER
|
|
asht0n91
New Member
Always more to learn.
Posts: 89
inherit
187114
0
Jan 6, 2016 11:13:34 GMT -8
asht0n91
Always more to learn.
89
December 2012
asht0n
|
Post by asht0n91 on Aug 11, 2014 9:45:26 GMT -8
Hi Todge,
Again, seems to put this below the top advertisement ... and just to confirm, this is my ONLY code in my Global Footer ...
|
|
#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 Aug 12, 2014 10:51:02 GMT -8
The top advertisement as in the ad banner above the forum??
|
|
asht0n91
New Member
Always more to learn.
Posts: 89
inherit
187114
0
Jan 6, 2016 11:13:34 GMT -8
asht0n91
Always more to learn.
89
December 2012
asht0n
|
Post by asht0n91 on Aug 12, 2014 12:35:14 GMT -8
I don't know if I am aloud to post the link ... but ... createituk.boards.net/Let me know if this is against the rules, and I'll remove the URL.
|
|
#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 Aug 14, 2014 15:09:56 GMT -8
Posting a link to a PB forum is allowed, no worries..
Can you put the code back into your Global Footer Please, so I can see what's happening.
|
|
inherit
133146
0
Nov 16, 2024 15:51:08 GMT -8
Alanna 🥀🖤
3,564
November 2008
alannab
|
Post by Alanna 🥀🖤 on Aug 14, 2014 22:19:19 GMT -8
You can always post the image into your Forum Wrapper below the $[footer] variable instead.
|
|
asht0n91
New Member
Always more to learn.
Posts: 89
inherit
187114
0
Jan 6, 2016 11:13:34 GMT -8
asht0n91
Always more to learn.
89
December 2012
asht0n
|
Post by asht0n91 on Aug 16, 2014 9:44:14 GMT -8
Posting a link to a PB forum is allowed, no worries.. Can you put the code back into your Global Footer Please, so I can see what's happening. It hasn't left my Global Footer ... it's still there.
|
|
#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 Aug 16, 2014 14:34:48 GMT -8
Posting a link to a PB forum is allowed, no worries.. Can you put the code back into your Global Footer Please, so I can see what's happening. It hasn't left my Global Footer ... it's still there. I don't see any image at the bottom of your forum... I do see the code in your forum source, but the URL of the image you've added to the code will not work for me.
|
|
asht0n91
New Member
Always more to learn.
Posts: 89
inherit
187114
0
Jan 6, 2016 11:13:34 GMT -8
asht0n91
Always more to learn.
89
December 2012
asht0n
|
Post by asht0n91 on Aug 17, 2014 4:35:53 GMT -8
It hasn't left my Global Footer ... it's still there. I don't see any image at the bottom of your forum... I do see the code in your forum source, but the URL of the image you've added to the code will not work for me. The code is in place, but as advised it places it below the TOP advertisement ...
|
|
#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 Aug 17, 2014 6:14:23 GMT -8
OK.. Let's try it another way... <script type="text/javascript"> <!-- function add_bottom_image() { var bottom_image = $('<center></center>').append($('<img/>').attr('src','URL OF IMAGE').css('cursor','pointer').click(function(){ $(document).scrollTop(0); })); $('body').append(bottom_image); return; }
if(document.body.addEventListener) { document.body.addEventListener("load", add_bottom_image()); } else if(document.body.attachEvent) { document.body.attachEvent("onload", add_bottom_image()); } // --> </script>
|
|
asht0n91
New Member
Always more to learn.
Posts: 89
inherit
187114
0
Jan 6, 2016 11:13:34 GMT -8
asht0n91
Always more to learn.
89
December 2012
asht0n
|
Post by asht0n91 on Aug 17, 2014 7:49:36 GMT -8
OK.. Let's try it another way... <script type="text/javascript"> <!-- function add_bottom_image() { var bottom_image = $('<center></center>').append($('<img/>').attr('src','URL OF IMAGE').css('cursor','pointer').click(function(){ $(document).scrollTop(0); })); $('body').append(bottom_image); return; }
if(document.body.addEventListener) { document.body.addEventListener("load", add_bottom_image()); } else if(document.body.attachEvent) { document.body.attachEvent("onload", add_bottom_image()); } // --> </script> Works perfect. You're an absolute star. Thank you for sticking to this. Greatly appreciated!
|
|