You are not logged in.

Announcement

Forum database was corrupt and an old backup was restored as temporary replacement. Registrations closed until the database is recovered. Please ask questions using the Contact form

#1 26-07-2014 01:25:40

Roy
Contributors
Registered: 12-04-2013
Posts: 9

Make ID property in tile

Hi,

You could make an ID for each tile, so you can access tiles with document.getElementById.

regards,

Roy

Offline

#2 27-07-2014 09:35:49

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: Make ID property in tile

Why not use jQuery's $(".theClass") and assign a unique class to the tile. (it might be a tad slower than selecting an ID but that's negligible)

Offline

#3 29-07-2014 00:30:59

Roy
Contributors
Registered: 12-04-2013
Posts: 9

Re: Make ID property in tile

Ok. that also works.

Thanks

Offline

Board footer

Powered by FluxBB