Latest versions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Latest versions

Dirk Verleysen-2
Janko,

I'm testing with the latest version and I'm using file based css which
worked well until now :).

<link rel="stylesheet" type="text/css" media="screen"
href="./dram242/admin.css">

It looks like the css is not found with the latest versions of Swazoo
and Aida/Web

Dirk

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Latest versions

Janko Mivšek
Hi Dirk,

Dne 06. 11. 2012 12:56, piše Dirk Verleysen:

> Janko,
>
> I'm testing with the latest version and I'm using file based css which
> worked well until now :).
>
> <link rel="stylesheet" type="text/css" media="screen"
> href="./dram242/admin.css">
>
> It looks like the css is not found with the latest versions of Swazoo
> and Aida/Web

Check the home directory settings which is now ./static by default to
avoid serving .cha file as well :) Or better, move your css in ./static
or similar and set AIDASite homeDirectory accordingly.

Let me know if this help.

Janko


--
Janko Mivšek
Svetovalec za informatiko
Eranova d.o.o.
Ljubljana, Slovenija
www.eranova.si
tel:  01 514 22 55
faks: 01 514 22 56
gsm: 031 674 565
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Latest versions

Dirk Verleysen-2
Janko,

That works indeed...

I needed to remove the lateInitPageHeaderLinks and put these back at top of the header element, cause some of my javascript wasn't being executed but now it's working fine.

Dirk

Janko Mivšek schreef:
Hi Dirk,

Dne 06. 11. 2012 12:56, piše Dirk Verleysen:
Janko,

I'm testing with the latest version and I'm using file based css which
worked well until now :).

<link rel="stylesheet" type="text/css" media="screen"
href="./dram242/admin.css">

It looks like the css is not found with the latest versions of Swazoo
and Aida/Web

Check the home directory settings which is now ./static by default to
avoid serving .cha file as well :) Or better, move your css in ./static
or similar and set AIDASite homeDirectory accordingly.

Let me know if this help.

Janko



_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Latest versions

Janko Mivšek

Dne 07. 11. 2012 09:06, piše Dirk Verleysen:

> I needed to remove the lateInitPageHeaderLinks and put these back at top
> of the header element, cause some of my javascript wasn't being executed
> but now it's working fine.

So the new load order is not always good. Do you have some idea, how
would you improve it?

Janko

>
> Dirk
>
> Janko Mivšek schreef:
>> Hi Dirk,
>>
>> Dne 06. 11. 2012 12:56, piše Dirk Verleysen:
>>> Janko,
>>>
>>> I'm testing with the latest version and I'm using file based css which
>>> worked well until now :).
>>>
>>> <link rel="stylesheet" type="text/css" media="screen"
>>> href="./dram242/admin.css">
>>>
>>> It looks like the css is not found with the latest versions of Swazoo
>>> and Aida/Web
>>
>> Check the home directory settings which is now ./static by default to
>> avoid serving .cha file as well :) Or better, move your css in ./static
>> or similar and set AIDASite homeDirectory accordingly.
>>
>> Let me know if this help.
>>
>> Janko
>>
>>
>
>
> _______________________________________________
> Aida mailing list
> [hidden email]
> http://lists.aidaweb.si/mailman/listinfo/aida
>

--
Janko Mivšek
Svetovalec za informatiko
Eranova d.o.o.
Ljubljana, Slovenija
www.eranova.si
tel:  01 514 22 55
faks: 01 514 22 56
gsm: 031 674 565
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Latest versions

Dirk Verleysen-2
No idea...

I want my static css and js to overwrite the settings from the StyleSheet if needed so I would prefer to have them on top of the header before my static references.

The problem in my case seemed to be the following:

I have this code added to my header :

<script type="text/javascript">$(function() { $( "#tabs" ).tabs(); $( ".tabs-bottom .ui-tabs-nav, .tabs-bottom .ui-tabs-nav > *" ) .removeClass( "ui-corner-all ui-corner-top" ) .addClass( "ui-corner-bottom" ); });</script>  <style type="text/css">#tabs { height: 300px; margin-top:10px; margin-bottom:10px;} .tabs-bottom { position: relative; } .tabs-bottom .ui-tabs-panel { height: 240px; overflow: auto; } .tabs-bottom .ui-tabs-nav { position: absolute !important; left: 0; bottom: 0; right:0; padding: 0 0.2em 0.2em 0; } .tabs-bottom .ui-tabs-nav li { margin-top: -2px !important; margin-bottom: 1px !important; border-top: none; border-bottom-width: 1px; } .ui-tabs-selected { margin-top: -3px !important; }</style>

Now the lateInitPageHeader adds the default css and js after these and then the style get moved to the bottom of the header.  No idea why but the tabs in my page didn't work like they used to. I could be doing something wrong as javascript isn't really my thing :).


Janko Mivšek schreef:
Dne 07. 11. 2012 09:06, piše Dirk Verleysen:

I needed to remove the lateInitPageHeaderLinks and put these back at top
of the header element, cause some of my javascript wasn't being executed
but now it's working fine.

So the new load order is not always good. Do you have some idea, how
would you improve it?

Janko

Dirk

Janko Mivšek schreef:
Hi Dirk,

Dne 06. 11. 2012 12:56, piše Dirk Verleysen:
Janko,

I'm testing with the latest version and I'm using file based css which
worked well until now :).

<link rel="stylesheet" type="text/css" media="screen"
href="./dram242/admin.css">

It looks like the css is not found with the latest versions of Swazoo
and Aida/Web
Check the home directory settings which is now ./static by default to
avoid serving .cha file as well :) Or better, move your css in ./static
or similar and set AIDASite homeDirectory accordingly.

Let me know if this help.

Janko


_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida



_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Latest versions

Janko Mivšek
Dne 07. 11. 2012 10:15, piše Dirk Verleysen:
> No idea...
>
> I want my static css and js to overwrite the settings from the
> StyleSheet if needed so I would prefer to have them on top of the header
> before my static references.
>
> The problem in my case seemed to be the following:
>
> I have this code added to my header :

What if you put this script into a body instead:

        self page addScript: ' $(function() { $( "#tab ..'

This way you'll be sure all CSS is loaded before you run a script.

Best regards
Janko


>
> <script type="text/javascript">$(function() { $( "#tabs" ).tabs(); $(
> ".tabs-bottom .ui-tabs-nav, .tabs-bottom .ui-tabs-nav > *" )
> .removeClass( "ui-corner-all ui-corner-top" ) .addClass(
> "ui-corner-bottom" ); });</script>  <style type="text/css">#tabs {
> height: 300px; margin-top:10px; margin-bottom:10px;} .tabs-bottom {
> position: relative; } .tabs-bottom .ui-tabs-panel { height: 240px;
> overflow: auto; } .tabs-bottom .ui-tabs-nav { position: absolute
> !important; left: 0; bottom: 0; right:0; padding: 0 0.2em 0.2em 0; }
> .tabs-bottom .ui-tabs-nav li { margin-top: -2px !important;
> margin-bottom: 1px !important; border-top: none; border-bottom-width:
> 1px; } .ui-tabs-selected { margin-top: -3px !important; }</style>
>
> Now the lateInitPageHeader adds the default css and js after these and
> then the style get moved to the bottom of the header.  No idea why but
> the tabs in my page didn't work like they used to. I could be doing
> something wrong as javascript isn't really my thing :).
>
>
> Janko Mivšek schreef:
>> Dne 07. 11. 2012 09:06, piše Dirk Verleysen:
>>
>>> I needed to remove the lateInitPageHeaderLinks and put these back at top
>>> of the header element, cause some of my javascript wasn't being executed
>>> but now it's working fine.
>>
>> So the new load order is not always good. Do you have some idea, how
>> would you improve it?
>>
>> Janko
>>
>>> Dirk
>>>
>>> Janko Mivšek schreef:
>>>> Hi Dirk,
>>>>
>>>> Dne 06. 11. 2012 12:56, piše Dirk Verleysen:
>>>>> Janko,
>>>>>
>>>>> I'm testing with the latest version and I'm using file based css which
>>>>> worked well until now :).
>>>>>
>>>>> <link rel="stylesheet" type="text/css" media="screen"
>>>>> href="./dram242/admin.css">
>>>>>
>>>>> It looks like the css is not found with the latest versions of Swazoo
>>>>> and Aida/Web
>>>> Check the home directory settings which is now ./static by default to
>>>> avoid serving .cha file as well :) Or better, move your css in ./static
>>>> or similar and set AIDASite homeDirectory accordingly.
>>>>
>>>> Let me know if this help.
>>>>
>>>> Janko
>>>>
>>>>
>>> _______________________________________________
>>> Aida mailing list
>>> [hidden email]
>>> http://lists.aidaweb.si/mailman/listinfo/aida
>>>
>>
>
>
> _______________________________________________
> Aida mailing list
> [hidden email]
> http://lists.aidaweb.si/mailman/listinfo/aida
>

--
Janko Mivšek
Svetovalec za informatiko
Eranova d.o.o.
Ljubljana, Slovenija
www.eranova.si
tel:  01 514 22 55
faks: 01 514 22 56
gsm: 031 674 565
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Latest versions

Dirk Verleysen-2
I'll try this this evening.

Janko Mivšek schreef:
Dne 07. 11. 2012 10:15, piše Dirk Verleysen:
No idea...

I want my static css and js to overwrite the settings from the
StyleSheet if needed so I would prefer to have them on top of the header
before my static references.

The problem in my case seemed to be the following:

I have this code added to my header :

What if you put this script into a body instead:

	self page addScript: ' $(function() { $( "#tab ..'

This way you'll be sure all CSS is loaded before you run a script.

Best regards
Janko


<script type="text/javascript">$(function() { $( "#tabs" ).tabs(); $(
".tabs-bottom .ui-tabs-nav, .tabs-bottom .ui-tabs-nav > *" )
.removeClass( "ui-corner-all ui-corner-top" ) .addClass(
"ui-corner-bottom" ); });</script>  <style type="text/css">#tabs {
height: 300px; margin-top:10px; margin-bottom:10px;} .tabs-bottom {
position: relative; } .tabs-bottom .ui-tabs-panel { height: 240px;
overflow: auto; } .tabs-bottom .ui-tabs-nav { position: absolute
!important; left: 0; bottom: 0; right:0; padding: 0 0.2em 0.2em 0; }
.tabs-bottom .ui-tabs-nav li { margin-top: -2px !important;
margin-bottom: 1px !important; border-top: none; border-bottom-width:
1px; } .ui-tabs-selected { margin-top: -3px !important; }</style>

Now the lateInitPageHeader adds the default css and js after these and
then the style get moved to the bottom of the header.  No idea why but
the tabs in my page didn't work like they used to. I could be doing
something wrong as javascript isn't really my thing :).


Janko Mivšek schreef:
Dne 07. 11. 2012 09:06, piše Dirk Verleysen:

I needed to remove the lateInitPageHeaderLinks and put these back at top
of the header element, cause some of my javascript wasn't being executed
but now it's working fine.
So the new load order is not always good. Do you have some idea, how
would you improve it?

Janko

Dirk

Janko Mivšek schreef:
Hi Dirk,

Dne 06. 11. 2012 12:56, piše Dirk Verleysen:
Janko,

I'm testing with the latest version and I'm using file based css which
worked well until now :).

<link rel="stylesheet" type="text/css" media="screen"
href="./dram242/admin.css">

It looks like the css is not found with the latest versions of Swazoo
and Aida/Web
Check the home directory settings which is now ./static by default to
avoid serving .cha file as well :) Or better, move your css in ./static
or similar and set AIDASite homeDirectory accordingly.

Let me know if this help.

Janko


_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida



_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Latest versions

Dirk Verleysen-2
In reply to this post by Janko Mivšek
Janko,

Don't find a method addScript: in my image :(. I really want to keep my code for the js and css together.

What's actually wrong when I'm getting the error: superform?  triggered by WebForm>>superform: ?

Dirk

Janko Mivšek schreef:
Dne 07. 11. 2012 10:15, piše Dirk Verleysen:
No idea...

I want my static css and js to overwrite the settings from the
StyleSheet if needed so I would prefer to have them on top of the header
before my static references.

The problem in my case seemed to be the following:

I have this code added to my header :

What if you put this script into a body instead:

	self page addScript: ' $(function() { $( "#tab ..'

This way you'll be sure all CSS is loaded before you run a script.

Best regards
Janko


<script type="text/javascript">$(function() { $( "#tabs" ).tabs(); $(
".tabs-bottom .ui-tabs-nav, .tabs-bottom .ui-tabs-nav > *" )
.removeClass( "ui-corner-all ui-corner-top" ) .addClass(
"ui-corner-bottom" ); });</script>  <style type="text/css">#tabs {
height: 300px; margin-top:10px; margin-bottom:10px;} .tabs-bottom {
position: relative; } .tabs-bottom .ui-tabs-panel { height: 240px;
overflow: auto; } .tabs-bottom .ui-tabs-nav { position: absolute
!important; left: 0; bottom: 0; right:0; padding: 0 0.2em 0.2em 0; }
.tabs-bottom .ui-tabs-nav li { margin-top: -2px !important;
margin-bottom: 1px !important; border-top: none; border-bottom-width:
1px; } .ui-tabs-selected { margin-top: -3px !important; }</style>

Now the lateInitPageHeader adds the default css and js after these and
then the style get moved to the bottom of the header.  No idea why but
the tabs in my page didn't work like they used to. I could be doing
something wrong as javascript isn't really my thing :).


Janko Mivšek schreef:
Dne 07. 11. 2012 09:06, piše Dirk Verleysen:

I needed to remove the lateInitPageHeaderLinks and put these back at top
of the header element, cause some of my javascript wasn't being executed
but now it's working fine.
So the new load order is not always good. Do you have some idea, how
would you improve it?

Janko

Dirk

Janko Mivšek schreef:
Hi Dirk,

Dne 06. 11. 2012 12:56, piše Dirk Verleysen:
Janko,

I'm testing with the latest version and I'm using file based css which
worked well until now :).

<link rel="stylesheet" type="text/css" media="screen"
href="./dram242/admin.css">

It looks like the css is not found with the latest versions of Swazoo
and Aida/Web
Check the home directory settings which is now ./static by default to
avoid serving .cha file as well :) Or better, move your css in ./static
or similar and set AIDASite homeDirectory accordingly.

Let me know if this help.

Janko


_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida



_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Latest versions

Dirk Verleysen-2
Putting the script in the body doesn't solve the problem. No idea why but the tabs don't show :(.

Any idea what's wrong with the superform: in WebForm>>superform: ?

Dirk Verleysen schreef:
Janko,

Don't find a method addScript: in my image :(. I really want to keep my code for the js and css together.

What's actually wrong when I'm getting the error: superform?  triggered by WebForm>>superform: ?

Dirk

Janko Mivšek schreef:
Dne 07. 11. 2012 10:15, piše Dirk Verleysen:
No idea...

I want my static css and js to overwrite the settings from the
StyleSheet if needed so I would prefer to have them on top of the header
before my static references.

The problem in my case seemed to be the following:

I have this code added to my header :

What if you put this script into a body instead:

	self page addScript: ' $(function() { $( "#tab ..'

This way you'll be sure all CSS is loaded before you run a script.

Best regards
Janko


<script type="text/javascript">$(function() { $( "#tabs" ).tabs(); $(
".tabs-bottom .ui-tabs-nav, .tabs-bottom .ui-tabs-nav > *" )
.removeClass( "ui-corner-all ui-corner-top" ) .addClass(
"ui-corner-bottom" ); });</script>  <style type="text/css">#tabs {
height: 300px; margin-top:10px; margin-bottom:10px;} .tabs-bottom {
position: relative; } .tabs-bottom .ui-tabs-panel { height: 240px;
overflow: auto; } .tabs-bottom .ui-tabs-nav { position: absolute
!important; left: 0; bottom: 0; right:0; padding: 0 0.2em 0.2em 0; }
.tabs-bottom .ui-tabs-nav li { margin-top: -2px !important;
margin-bottom: 1px !important; border-top: none; border-bottom-width:
1px; } .ui-tabs-selected { margin-top: -3px !important; }</style>

Now the lateInitPageHeader adds the default css and js after these and
then the style get moved to the bottom of the header.  No idea why but
the tabs in my page didn't work like they used to. I could be doing
something wrong as javascript isn't really my thing :).


Janko Mivšek schreef:
Dne 07. 11. 2012 09:06, piše Dirk Verleysen:

I needed to remove the lateInitPageHeaderLinks and put these back at top
of the header element, cause some of my javascript wasn't being executed
but now it's working fine.
So the new load order is not always good. Do you have some idea, how
would you improve it?

Janko

Dirk

Janko Mivšek schreef:
Hi Dirk,

Dne 06. 11. 2012 12:56, piše Dirk Verleysen:
Janko,

I'm testing with the latest version and I'm using file based css which
worked well until now :).

<link rel="stylesheet" type="text/css" media="screen"
href="./dram242/admin.css">

It looks like the css is not found with the latest versions of Swazoo
and Aida/Web
Check the home directory settings which is now ./static by default to
avoid serving .cha file as well :) Or better, move your css in ./static
or similar and set AIDASite homeDirectory accordingly.

Let me know if this help.

Janko


_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida


_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida