Page 1 of 1

javascript/HTML in HTML component type and "style"

Posted: Wed Aug 06, 2014 3:07 am
by xman

I'm using HTML component type from Appery on a page. I "edit" the HTML and paste the calendar code from this link: http://www.htmlgoodies.com/beyond/jav...

However, the whole page gets flooded with gray color (wiping out app header and footer) and the calendar shows up top left. What am I missing?

Here is the screenshot of what I get: http://awesomescreenshot.com/0d539kkq5a
-
-


javascript/HTML in HTML component type and "style"

Posted: Wed Aug 06, 2014 3:57 am
by xman

any ideas?


javascript/HTML in HTML component type and "style"

Posted: Wed Aug 06, 2014 4:32 am
by Yurii Orishchuk

Hi xman,

It seems you have some problems in your html code for html component.

Perhaps you did not close some tag. Or close it twice.

Please provide us full html code that's you use in this component.

Also give us your app public link.

Regards.


javascript/HTML in HTML component type and "style"

Posted: Wed Aug 06, 2014 4:37 am
by xman

Hi Yurii,

The full code is from the link I provided above.

(1.) I dragged and dropped an HTML appery component onto a blank page
(2.) Clicked "Edit HTML"
(3.) Copy pasted the following code in the HTML editor.

span.label {color:black;width:30;height:16;text-align:center;margin-top:0;background:#ffF;font:bold 13px Arial}
span.c1 {cursor:hand;color:black;width:30;height:16;text-align:center;margin-top:0;background:#ffF;font:bold 13px Arial}
span.c2 {cursor:hand;color:red;width:30;height:16;text-align:center;margin-top:0;background:#ffF;font:bold 13px Arial}
span.c3 {cursor:hand;color:#b0b0b0;width:30;height:16;text-align:center;margin-top:0;background:#ffF;font:bold 12px Arial}

20))||((ii27)&&(arrN[ii]6){
dCount=0
}
}
}


javascript/HTML in HTML component type and "style"

Posted: Wed Aug 06, 2014 4:39 am
by xman

Hi Yurii,

The full code is from the link I provided above.

(1.) I dragged and dropped an HTML appery component onto a blank page
(2.) Clicked "Edit HTML"
(3.) Copy pasted the "Calendar" code from this link as suggested at the link: http://www.htmlgoodies.com/beyond/jav...

Not sure what is going on.


javascript/HTML in HTML component type and "style"

Posted: Wed Aug 06, 2014 6:18 am
by xman

Never mind, this is resolved. The issue was with the older style tags usage and HTML5.


javascript/HTML in HTML component type and "style"

Posted: Wed Aug 06, 2014 10:34 pm
by obullei

Hello!

We are very happy to hear, that you have resolved your problem.
If it possible, please tell us what was wrong.
Thank in advance


javascript/HTML in HTML component type and "style"

Posted: Thu Aug 07, 2014 8:55 pm
by xman

Hello Arina,

I was just using old "style" tag which is no longer required.