Search the web
Sign In
New User? Sign Up
jsolait
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Location of jsolait   Message List  
Reply | Forward Message #295 of 411 |
Re: Location of jsolait

thanks for the fix, I'll put that into the code.

Jan

--- In jsolait@yahoogroups.com, "johannflori" <johannflori@...> wrote:
>
> I tried your code to guess the position of jsolait (experimental)
> and got nothing. It was because I had positioned some script-text
> inserted directly into the html-head before the script-tag for jsolait.
> That results in src=Null and in an error, leaving the loop.
>
> I extended the code like below and all worked well:
>
> ///The location where jsolait is installed.
> mod.baseURI="./jsolait";
>
> try{// to guess the location where jsolait is installed
> var elems=document.getElementsByTagName('script');
> for(var i=0;i<elems.length;i++){
> var src=elems[i].getAttribute('src');
>
> if (src==undefined) continue;
>
> var idx=src.indexOf('jsolait.js');
> if(idx>0){
> mod.baseURI=src.slice(0,idx-1);
> break;
> }
> }
> }catch(e){
>
> regards
> Johann
>





Wed Jan 31, 2007 7:10 pm

keyjaque
Offline Offline
Send Email Send Email

Forward
Message #295 of 411 |
Expand Messages Author Sort by Date

I have started playing with jsolait and I love it! Thanks for the work, I think it is going in the right direction. I have a question about the usage which I...
Jean-Pierre Fiset
jp_fiset
Online Now Send Email
Jan 20, 2006
4:02 pm

To resolve this issue, I would propose the following patch: Index: C:/eclipse/atlas/superfrank/lib3/jsolait-2.0a-37/jsolait/jsolait.js ... ...
JP Fiset
jp_fiset
Online Now Send Email
Jan 20, 2006
5:45 pm

Hi, this shows I have not written the docs well enough (http://jsolait.net/wiki/documentation/core#moduleimportfunctionality) What you want to do is change...
Jan-Klaas Kollhof
keyjaque
Offline Send Email
Jan 21, 2006
11:11 am

Sorry that I missed that. Thanks for the prompt help....
JP Fiset
jp_fiset
Online Now Send Email
Jan 21, 2006
2:20 pm

... No worries, as I said, it is not quite clear in the docs. If you find similar things that are not quite clear just add a new tiket to the ticket system on...
Jan-Klaas Kollhof
keyjaque
Offline Send Email
Jan 21, 2006
3:59 pm

I tried your code to guess the position of jsolait (experimental) and got nothing. It was because I had positioned some script-text inserted directly into the...
johannflori
Offline Send Email
Jan 29, 2007
9:07 pm

thanks for the fix, I'll put that into the code. Jan...
Jan-Klaas Kollhof
keyjaque
Offline Send Email
Jan 31, 2007
7:11 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help