I would like an image, right here.

Go down

Solved I would like an image, right here.

Post by Cool-Guy on Sat Oct 15, 2011 6:14 am

Hello,

Take a look at this picture: http://img823.imageshack.us/img823/7716/60861535.png

I would like to add an image where the red line is, in other words, between the footer and chatbox-link.

Possible? Razz

Cool-Guy
Forumember

Posts : 295
Reputation : 0
Language : English

Back to top Go down

Solved Re: I would like an image, right here.

Post by LGforum on Sat Oct 15, 2011 6:28 am

Of course Smile two ways, either insert the Image in a widget and use CSS to put it down there, or insert it there using javascript.

avatar
LGforum
Hyperactive

Male Posts : 2263
Reputation : 260
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: I would like an image, right here.

Post by Nera. on Sat Oct 15, 2011 6:29 am

Hi,

Try adding this to AP > Modules > JS managent and mark all pages

Code:
$(document).ready(function() {
  $('#picture_legend').before('<div class="novo" align="center"><img src="http://i34.tinypic.com/b80g87.png" alt="stats" /></div>');
});

Change the image link if you want.

PhpBB3 example http://i.imm.io/akCO.png
avatar
Nera.
Energetic

Female Posts : 7078
Reputation : 2015
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: I would like an image, right here.

Post by LGforum on Sat Oct 15, 2011 6:31 am

If the image is wanted on all pages, then the 'picture_legend' won't be on all pages.
And if its only wanted on the homepage, then clicking 'In all pages' would be silly.

I'd recomend putting it before the actual footer, since that will show on every page.
avatar
LGforum
Hyperactive

Male Posts : 2263
Reputation : 260
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: I would like an image, right here.

Post by Cool-Guy on Sat Oct 15, 2011 6:38 am

I only want it on home. For some reason, the code doesn't work, I can't see the picture! Shit

Cool-Guy
Forumember

Posts : 295
Reputation : 0
Language : English

Back to top Go down

Solved Re: I would like an image, right here.

Post by Nera. on Sat Oct 15, 2011 6:42 am

Try this one

Code:
$(document).ready(function() {
  $('#chatbox_popup').after('<div class="novo" align="center"><img src="http://i34.tinypic.com/b80g87.png" alt="stats" /></div>');
});
avatar
Nera.
Energetic

Female Posts : 7078
Reputation : 2015
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: I would like an image, right here.

Post by Cool-Guy on Sat Oct 15, 2011 6:45 am

Nera, Savior of the Universe. cheers Solved!

Cool-Guy
Forumember

Posts : 295
Reputation : 0
Language : English

Back to top Go down

Solved Re: I would like an image, right here.

Post by Nera. on Sat Oct 15, 2011 6:46 am

Very good

Lock
avatar
Nera.
Energetic

Female Posts : 7078
Reputation : 2015
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum