The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Javascripting request

View previous topic View next topic Go down

Solved Javascripting request

Post by Jégtermelő48 on April 10th 2013, 7:56 pm


I'd like to place this picture on my forum's top-left, please help!!!


Thanks so much!


Last edited by Jégtermelő48 on April 10th 2013, 10:13 pm; edited 1 time in total

Jégtermelő48
Forumember

Male Posts : 36
Reputation : 1
Language : Hungarian > English > PhotoShop > HTML

http://farmerama048.hot-me.com

Back to top Go down

Solved Re: Javascripting request

Post by levy on April 10th 2013, 8:10 pm

Can you post here your forum url , that will help me Smile

levy
Hyperactive

Male Posts : 2566
Reputation : 344
Language : Romanian, English
Location : Romania | Feel free to tag me into your topic if you have a problem

http://help.forumotion.com/

Back to top Go down

Solved Re: Javascripting request

Post by mist3r0us_b0y on April 10th 2013, 8:19 pm




is that what u mean ?

mist3r0us_b0y
Forumember

Male Posts : 747
Reputation : 19
Language : english

http://sh.st/nJRXG

Back to top Go down

Solved Re: Javascripting request

Post by levy on April 10th 2013, 8:28 pm

I talk about your forum url for exemple www.help.forumotion.com

levy
Hyperactive

Male Posts : 2566
Reputation : 344
Language : Romanian, English
Location : Romania | Feel free to tag me into your topic if you have a problem

http://help.forumotion.com/

Back to top Go down

Solved Re: Javascripting request

Post by Jégtermelő48 on April 10th 2013, 8:34 pm

http://farmerama048.hot-me.com

@mist3r0us_b0y wrote:


is that what u mean ?

So I sent the link, I'd like to set the picture like that :
http://help.forumotion.com/t117773-christmas-time-on-forumotion-let-s-decorate-our-forums



  • Bulb 1



Code: ----------Select content$(function() {
$.getScript("http://sd-1.archive-host.com/membres/up/37821634957680146/deco/amp22.js");
});

Jégtermelő48
Forumember

Male Posts : 36
Reputation : 1
Language : Hungarian > English > PhotoShop > HTML

http://farmerama048.hot-me.com

Back to top Go down

Solved Re: Javascripting request

Post by levy on April 10th 2013, 8:39 pm

Create a new javascript and add that code

Code:
jQuery(document).ready(function(){
$('.body').before('<div id="farmi<img src="http://i76.servimg.com/u/f76/14/10/88/12/f0d26e11.jpg"></div>');
});

and add that code in your CSS

Code:
#farmi img{
position:absolute;
top:0px;
left:0px;

levy
Hyperactive

Male Posts : 2566
Reputation : 344
Language : Romanian, English
Location : Romania | Feel free to tag me into your topic if you have a problem

http://help.forumotion.com/

Back to top Go down

Solved Re: Javascripting request

Post by Jégtermelő48 on April 10th 2013, 9:17 pm

candy_fear wrote:Create a new javascript and add that code

and add that code in your CSS

I made the new javascript, that's okay.
I added the code to the CSS but it says :
Detected error
We have counted a different number of "{" and of "}".
It means your CSS risks to be not valid and will not be posted correctly
on your forum.

We advise you to reread your code.

Jégtermelő48
Forumember

Male Posts : 36
Reputation : 1
Language : Hungarian > English > PhotoShop > HTML

http://farmerama048.hot-me.com

Back to top Go down

Solved Re: Javascripting request

Post by levy on April 10th 2013, 9:21 pm

Sorry ,had a bug

Code:
jQuery(document).ready(function(){
$('body').before('<div id="farmi" style="position:absolute;"><img src="http://www.kephost.com/images4/2013/4/10/a1_2013_4_10_uekg0njcjj.png"></div>');
});

Add only that code.

levy
Hyperactive

Male Posts : 2566
Reputation : 344
Language : Romanian, English
Location : Romania | Feel free to tag me into your topic if you have a problem

http://help.forumotion.com/

Back to top Go down

Solved Re: Javascripting request

Post by Jégtermelő48 on April 10th 2013, 9:43 pm

Thank you soooo much!!! I love you

Just one thing :
What should I change if I want to see all the time this squirrel on the top, not just on the top of the page?
So when I go down, the squirrel is going with me.

I change position:absolute to position:???

Jégtermelő48
Forumember

Male Posts : 36
Reputation : 1
Language : Hungarian > English > PhotoShop > HTML

http://farmerama048.hot-me.com

Back to top Go down

Solved Re: Javascripting request

Post by levy on April 10th 2013, 9:48 pm

Code:
jQuery(document).ready(function(){
$('body').before('<div id="farmi" style="position:fixed;"><img src="http://www.kephost.com/images4/2013/4/10/a1_2013_4_10_uekg0njcjj.png"></div>');
});

Done ,now fallow you Smile

levy
Hyperactive

Male Posts : 2566
Reputation : 344
Language : Romanian, English
Location : Romania | Feel free to tag me into your topic if you have a problem

http://help.forumotion.com/

Back to top Go down

Solved Re: Javascripting request

Post by Jégtermelő48 on April 10th 2013, 9:58 pm

Position fixed, I'm so silly lol!
It's working Smile Thx again! Can I sent you a PM if I have another questions about that? Smile Not now, but if I'll have Smile

Jégtermelő48
Forumember

Male Posts : 36
Reputation : 1
Language : Hungarian > English > PhotoShop > HTML

http://farmerama048.hot-me.com

Back to top Go down

Solved Re: Javascripting request

Post by levy on April 10th 2013, 10:04 pm

Better you make other topic thumright

levy
Hyperactive

Male Posts : 2566
Reputation : 344
Language : Romanian, English
Location : Romania | Feel free to tag me into your topic if you have a problem

http://help.forumotion.com/

Back to top Go down

Solved Re: Javascripting request

Post by Jégtermelő48 on April 10th 2013, 10:07 pm

Okay! Smile
I want to a moderator close the topic.

Have a good night! Smile

Jégtermelő48
Forumember

Male Posts : 36
Reputation : 1
Language : Hungarian > English > PhotoShop > HTML

http://farmerama048.hot-me.com

Back to top Go down

Solved Re: Javascripting request

Post by SLGray on April 11th 2013, 12:56 am

Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35672
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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