You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Friday, November 22nd 2019, 7:18pm

Change tabindex for krpanoSWFObject


I have a tour embedded into a page with html content above and below the tour. I would like to use the tab key on the keyboard to tab into the pano and use the arrow keys to view the pano without using a mouse.

Using Chrome DevTools to view the page elements I can see the krpanoSWFObject div is being assigned a tabindex="-1" which skips over the pano when tabbing through the page. changing it (in DevTools) to 0 allows me to tab into the pano, use the arrows and tab back out to the next element.

How or where can I change that tabindex to 0?

I've tried to change it with javascript but can't seem to get it.

For anyone else looking to do this, here is the little code snip that I was able to use to get the tabIndex changed.

Source code

<script type="text/javascript" lang="en-us">	
 document.getElementById("krpanoSWFObject").tabIndex = 0;	



This post has been edited 4 times, last edit by "Lastwolf" (Nov 24th 2019, 7:34pm) with the following reason: Add solution