How to use the html to create one page
Autore: Daniel Sun
Visite 2132,
Followers 2,
Condiviso 0
I'm sorry to disturb you in your weekend, whatever thanks so much ~
Now, I have some question about how to use it: 1.about how to use "html" when i create one page: i copy one "html code" into the html page, then all image can't be seen when i press "preview", you can see my code in the attachment "image 1". i want to know the rule about how to find my local image such as i can use "href" of "url". 2.i want to create a page that the guest can leave message in this page, like the "image 2",i haven't find relevant information in the "help" document:(
waiting for your reply, tks so much in advance!
Postato il
to css and js: You must upload the file twoclass-expand.js and the css-file to the folder image
to image: This is not a image, this is a HTML file with contents
Sorry, this code is too complicated for you. You must this understand.
This is not explainable everything.
Autore
Hi Little-key,
But i don't know where the .js should be upload, so that the html code can find it according to the "href" or "scr" tag.
By the way, about the image, i mean:if i use <img> to add a image into the page, but i don't know the "path rule" of this software, if i use dreamware, i just should key "scr", the sofeware will give me tip to fine the image in my computer.
Waiting for your professional reply, tks so much~~
Autore
Hi,
i just want to know how to link a .js to one page? OK
Autore
Hi Little key,
I'm still waiting for your reply, but there's no any answer~~~ No the time here is 23:40, so i have to go to bed, i hope you can help me if you saw these messages. Tks!
Hi Daniel,
Whilst in the 'HTML and Widgets Object' properties (as per your screenshot - Step 3 - Page Creation - HTML & Widgets) look to to the top-right of your screen where you will see a tab labelled 'Expert'
Click on the 'Expert' tab which will open up a new screen where you can add CSS, etc.
In the bottom right of that screen if you click on the button marked 'Add' then the 'Upload linked files' window will open, where you can link to JavaScript (.js) files which will automatically be added to that page's HEAD section.
Hope this helps...
Kind regards,
Paul
I find this not so good.
Better with a ftp client (CoreFTP, FileZilla etc.) upload into the folder e.g. .product/class.
You must first add the folders.
Why different folder?
.product/class
product/class (without point)
Autore
Hi Paul 7 Little key,
Thanks for your reply:)
paul, I have try your method at first according to the "Help" document, but the jave can't active for my new page. when i upload the css for the page, the css also can't work for the page, so i have to copy all css code to the "css code" area, then it can be used by the page.
Little key, i want finish my website in my computer, then i will upload them into website, in my opinion, "a ftp client" are for upload my local website to internet?
the attachment is the original css code that the html code with it can find corresponding image, but went i copy them (html & cass) in to "html &wigget object", it can't find corresponding image~~~
Hello Daniel,
Yes an ftp client is to upload the website to your hosting provider to be visible on internet.
In the css file you cannot add the aboslute path of your computer because once it will be online then the image will not be found since this one will continue to be on your computer.
To add a background image it's better to use the template editor so it will be correctly uploaded when you export it.
Many thanks!