xman
Posts: 0
Joined: Sun Jul 06, 2014 7:05 pm

javascript/HTML in HTML component type and "style"

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
-
-

xman
Posts: 0
Joined: Sun Jul 06, 2014 7:05 pm

javascript/HTML in HTML component type and "style"

any ideas?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

javascript/HTML in HTML component type and "style"

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.

xman
Posts: 0
Joined: Sun Jul 06, 2014 7:05 pm

javascript/HTML in HTML component type and "style"

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
}
}
}

xman
Posts: 0
Joined: Sun Jul 06, 2014 7:05 pm

javascript/HTML in HTML component type and "style"

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.

xman
Posts: 0
Joined: Sun Jul 06, 2014 7:05 pm

javascript/HTML in HTML component type and "style"

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

obullei
Posts: 0
Joined: Thu Jun 05, 2014 12:17 am

javascript/HTML in HTML component type and "style"

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

xman
Posts: 0
Joined: Sun Jul 06, 2014 7:05 pm

javascript/HTML in HTML component type and "style"

Hello Arina,

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

Return to “Issues”