You are not logged in.

Search results

Search results 1-2 of 2.

Tuesday, December 23rd 2014, 10:21am

Author: v00d0

using CSS for hotspots

Yesterday i was struggling a bit with this problem, then i found a solution that work perfectly in my case. So to help others here is my code: Source code 1 2 3 4 5 6 7 8 krpano = document.getElementById("krpanoSWFObject"); krpano.set("events.onloadcomplete","js(setUpPanoVars())"); krpano.set("events.keep",true); var hotspotArr = document.getElementById('krpanoSWFObject').get('hotspot').getArray(); for(var i = 0; i < hotspotArr.length; i++){ $(hotspotArr[i]['sprite']).addClass('hotspot-test'); }...