Dear visitor, welcome to krpano.com 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.
A total of 14 Votes have been submitted.
86%
a lot (12)
7%
not yes, neither not (1)
7%
don't like it (1)
0%
so so
0%
hate it
|
|
Source code |
1 2 3 4 5 |
function krpano()
{
return document.getElementById("krpanoSWFObject");
}
krpano().call("showtext('test')");
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 |
<script type="text/javascript">
var swf = createswf("krpano.swf", "krpanoSWFObject","100%", "400", "0#FFFFFF");
swf.addVariable("pano", "krpano/hotspot.xml");
swf.setAttribute('xiRedirectUrl', window.location);
swf.addParam("wmode", "window");
swf.addParam("allowfullscreen", "true");
swf.addParam("allowscriptaccess", "always");
swf.embed("krpano");
</script>
|
Hi,
Curious... I see you initalizing krpano, and doing calls. All of this can be done in regular JS (in even fewer lines), so what's the extra benefit of mootools? Isn't mootools just a js library much like Jquery? I understand the need for Classes if it's a big feature, like sliders, tabs, accordion menu's which are 100's of lines of code, and you reuse this class. But krpano usually exists only once on a page, and only needs a getter and setter to do stuff.
hope I will be able to do something like that soon.
This post has been edited 2 times, last edit by "ciul" (Dec 8th 2010, 5:28pm)
Oh my dear friends, I am taking krpano out of its pretty box and get him friends all around other web applications API's, it is a huge think if you think so.Ciul I have no idea what you are doing here but it seems like it might be good. Krpano is hard enough to learn on its own it seems like it might be even harder to learn to interface with it using another type of technology. I am interested in what is going on here but it seems a little over my head.
so there will be smaller classes for mobile devices and for desktop there will be bigger classes extending from the smaller ones, since desktop supports all the krpano features and mobile devices doesn't.
but I think it will worth it, right?
Thanks for the support.Cuil keep up the good work. My boss actually asked me last week if it were possible to put panos into a SQL database. Your efforts may make that possible.
, it could help me dedicate more time to program