Code for card rollovers

TappedOut forum

Posted on Oct. 28, 2014, 10:28 p.m. by filledelanuit

Hey, I'm working on a website and can't find a way to do card rollovers like tapped out has. Does anyone know how to do this or have the code for it.

I imagine yeaGO know how but any help would be great.

I would guess there is a database of card pictures and names but can't figure out how to set something up like that.

Thanks for all of the help.

smash10101 says... #2

I don't know how the website knows to make the rollovers, but I know you can see the html code for them by rightclicking and selecting view source.

October 28, 2014 11:40 p.m.

yeaGO says... #3

You can just use tappedout.js...

Google it!!

October 28, 2014 11:48 p.m.

vampirelazarus says... #4

Use the tappedout.js thingy yeaGO mentioned. Its quite awesome.

All the awesome functional things of Tappedout, elsewhere on the web.

October 28, 2014 11:57 p.m.

JakeHarlow says... #5

All the code is on there? Cool!

October 29, 2014 2:25 a.m.

Femme_Fatale says... #6

Oh, I have the code for it JakeHarlow.

WATCH AND LEARN!


See, I had a little project going on in which I would do every user. But so much stuff has happened that it sort of ... has been gathering dust.

October 29, 2014 4:12 p.m.

Femme_Fatale says... #7

oops, tagged the wrong user. lordoftheshadows.

October 29, 2014 4:14 p.m.

filledelanuit says... #8

That's really cool but I was also looking for in text card roll overs. Is there a way to convert the deck linking code to just link to card images?

October 29, 2014 5:18 p.m.

Femme_Fatale says... #9

That is EXACTLY what I've just done. I'll give you a pastebin of the text document that has all of this work. There are multiple different variations one could use.

October 29, 2014 5:24 p.m.

filledelanuit says... #10

Thanks Femme_Fatale. That would be great.

October 29, 2014 5:30 p.m.

Cyrrus says... #11

wow Femme_Fatale that's really cool! The super inactive Xindlepete is the one responsible for that card though.

Sorry, lordoftheshadows I can't say that I've ever attempted that.

October 30, 2014 2:19 a.m.

Femme_Fatale says... #12

That is how I found the images for the super old never coming back on users. I have a list of them.

October 30, 2014 4:22 a.m.

This discussion has been closed