Member
Last active 5 years ago
Ok I managed to do it. but it is very difficult to understand that a variable in local storage defined in the project will not be updated. Maybe a tutorial on how to use html/javascript in pubcoder would be very helpful.
Thank you a lot @Angelo S for your reply. I have already used localstorage and I have the following problem. Eg. I define in project javascript a global counter variable:
localStorage.counter=1;
Now if I want to change its (global) value by eg. clicking a button on a page it seems impossible. I use run Javascript there eg. on tap of a button, event is run javascript and I try to trigger the apearence of a text.
localStorage.counter=localStorage.counter+1;
if (localStorage.counter==2){$("#obj111").show()}
This seems not to work because for the program localStorage.counter is still 1. (so if in the if I set 1 instead of 2 the object does show)
Could you explain how I can fix this? I have tried also with page javascript and it seems it is the same.
I could sum up the problem as follows. if localStorage variable is written on project javascript then every page "sees" it but if I try to adapt its value locally on a page it is impossible.
Thank you in advance
Sorry but I tried with all different ways to define a global variable and seems impossible. could you give a specific example in pubcoder?
Hi, I 've just finished my first e-book using Pubcoder.
I made all the project using only assets and objects from Pubcoder (Not InDesign)
However I have few questions. I hope you can help me.
Thank you for your answers... I hope you can help me.
Do you know if I can create a crossword in pubcoder? Or if I can shape a crossword in another program and paste it in pubcoder? Thank you for your help in advance!
Hi,
I downloaded the trial version to check the different features of the software. However I have problem with the Masked images. It seems it does not work. Does this happen due to the trial version? Can anybody help me?