Current News

Moderator: Mmiscool

User avatar
By raintime
#50725 Hello Mike,

I think this is a revolutionary language!

You mentioned, "As to the html and css on normal aplicate gui pages i belive the soulution is to use the returngui commad after complex html is sent using wprint."

I put the following two lines in my code:

wprint |<a href="http://my_link.com">my link text</a>|
returngui

But when I saved & ran this code, I saw my link text printed, but it did not show up as a link, just as normal text. How can I put a link in my code, or even put a button in to load another page? So far, nothing I try desperately lets me escape from the default page :oops:

Thanks!!!
User avatar
By flywire
#61692
Mmiscool wrote:I just posted up a new build that includes a snazzy code highlighting editor capability.

To use it you must upload 2 files to your module using the file manager page.
The 2 files are located here.
https://github.com/esp8266/Basic/tree/NewWebSockets/CSS

Once these 2 files are uploaded (don't decompress them. upload them as .gz files) the editor page will show line numbers and will start highlighting key words and such. ...

Excellent functionality if the memory is available. I put these 3 files (included the widgets.js.gz) in the /uploads directory but they only stop the IDE Editor from opening. Do they still work with ESP Basic 3.0.Alpha 66?

Can any other files be used in *.gz format?
User avatar
By Mmiscool
#62586 Yes. Gzip compressed files can be used and acessed just like any other file being hosted.

I have not seen when the javascript and css caused any problems with editing. I personaly perfer it as weird characters show up as an obiouse dot that can be remove.