Javascript that prints a link to internal page
1SITE automatically manages all kinds of link and images. In case you want to write portions of custom code, it is often useful to refer to internal objects within your code. You can handle this by placing “dynamic references”, visually. In other words, you simply tell 1SITE where to place the name of an image or of a link in the code, and that name will be inserted on-the-fly, when the HTML pages will be actually generated. This way, the reference is always up to date, avoiding the need of manual maintenance of the script.
The Javascript is here: .
If you use the right mouse button, “Properties”, to see the script, you will see an icon in the script text. This icon means there is a reference to the internal page. You can select/ change/ add pages visually, with a double click.
To see the current page working, you need to export in Html, to publish with Ftp, or to use "Publish >Browser preview".
1site is the web site creator software: a professional website design program, the best web editing tool.
Get it now!
We have also:
For other languages we have: