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.

Hover for Awards

View previous topic View next topic Go down

Hover for Awards

Post by hoegy on April 21st 2014, 3:33 pm

Hello, i'm kinda new on this forum.

I've recently added an award sytem to my forum after following the tutorial you guys made for it.

Everything is working fine now, but i've got one question.

Is it possilbe to add a hover over the award images.

I can't figure it out so i would like some help with this pls.

Regards.

hoegy
New Member

Posts : 15
Reputation : 1
Language : Dutch, English

http://www.dzp-clan.com

Back to top Go down

Re: Hover for Awards

Post by Rhino.Freak on April 21st 2014, 5:17 pm

As far as I know, its only possible by making all different Awards a different profile field (Images type), and put the 'separater' as none instead of line..

Then you can add Awards as image and an alternative text which shows up on hover ^^

Rhino.Freak
Helper
Helper

Male Posts : 1246
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Re: Hover for Awards

Post by hoegy on April 21st 2014, 5:31 pm

Thanks for the quick response.

I've tried to do so. But now it's displaying the text next to the image, but not in the hover.

hoegy
New Member

Posts : 15
Reputation : 1
Language : Dutch, English

http://www.dzp-clan.com

Back to top Go down

Re: Hover for Awards

Post by J0k3R^ on April 21st 2014, 5:33 pm

how did u manage to put as many awards as u want ?? i can only put one..
(and sorry for some out-of-topic..)

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Re: Hover for Awards

Post by hoegy on April 21st 2014, 5:36 pm

I've used this Tutorial.

http://help.forumotion.com/t68403-award-system

I made different Profile fields, like Rhino said. Smile

hoegy
New Member

Posts : 15
Reputation : 1
Language : Dutch, English

http://www.dzp-clan.com

Back to top Go down

Re: Hover for Awards

Post by J0k3R^ on April 21st 2014, 5:44 pm

good, thanks,..
but i have to put them on each member one by one? i want for example all the users with 50+ posts get automatically an award. is this possible or not?

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Re: Hover for Awards

Post by Rhino.Freak on April 21st 2014, 5:53 pm

Hi joker, its really not possible, its a manual job Smile
Im pretty sure that only image is shown, text is shown only after hover, can you show me a screenshot?
edit: you have to add the text in "description", and display should be "icon" only..

Rhino.Freak
Helper
Helper

Male Posts : 1246
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Re: Hover for Awards

Post by Pizza Boi on April 21st 2014, 5:58 pm

Hi Very Happy

You can probably declare an ID name, and then add in a Javascript ticked in the topics. I just started in Javascript so it should look something like:

Code:
function myFunction()
{
x = document.getElementById("Element Name:hover");
x.style.backgroundColor = "#Color";       
}

You have to add each reward manually for hover and that's where the work comes in :s.

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Re: Hover for Awards

Post by hoegy on April 21st 2014, 6:07 pm

Phino, I got my settings like this now, but it's still not showing the hover to me.



I've also tried to change the type to image, but didn't work neither...

hoegy
New Member

Posts : 15
Reputation : 1
Language : Dutch, English

http://www.dzp-clan.com

Back to top Go down

Re: Hover for Awards

Post by Pizza Boi on April 21st 2014, 6:21 pm

Hi Very Happy

Can you please link us to a topic where the person has at least an or more award(s)?

Let me see if I can patch something up.

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Re: Hover for Awards

Post by Rhino.Freak on April 21st 2014, 7:42 pm

I demand a screenshot Razz

Rhino.Freak
Helper
Helper

Male Posts : 1246
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Re: Hover for Awards

Post by hoegy on April 21st 2014, 8:21 pm

Well, i'm wasn't able to make a print screen with cursor, cause it hides it appearentely. But i can ensure you when i put my cursor on the image, nothing happens, it doesn't do anything, it just stays the arrow and it doesn't show any discription.

hoegy
New Member

Posts : 15
Reputation : 1
Language : Dutch, English

http://www.dzp-clan.com

Back to top Go down

Re: Hover for Awards

Post by Pizza Boi on April 21st 2014, 11:32 pm

Hi Very Happy

Can you please at least link us to your forum so we can see if we can coin something up Confused ?

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Re: Hover for Awards

Post by hoegy on April 22nd 2014, 12:04 am

Hi,

Oooh, off course!

http://www.dzp-clan.com/

Regards

hoegy
New Member

Posts : 15
Reputation : 1
Language : Dutch, English

http://www.dzp-clan.com

Back to top Go down

Re: Hover for Awards

Post by SLGray on April 22nd 2014, 12:21 am

Could you please post the code that you used to add the awards (images)?


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


SLGray
Administrator
Administrator

Male Posts : 36679
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: Hover for Awards

Post by Pizza Boi on April 22nd 2014, 7:58 am

Hi Very Happy

Well... without a declaration for the name, I managed to coin something like:

Code:
function labelImage()
{
x = document.getElementById("label+image:hover");
x.style.backgroundImage:url = "IMG LINK";
x.style.padding ="#px";     
}

My head gives up... ._."... you should tick that in the topics. Hopefully someone else can answer if it doesn't work (facepalm) .

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.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