Author |
Topic  |
|
bronee
Master
   
180 Posts |
Posted - 08 Jun 2013 : 18:50:58
|
How do I make a link that can jump to a special place on a page? So people dont have to scroll a lot to find...
Best regards Lars
|
|
Jan van Londen
Super User
    
Netherlands
208 Posts |
Posted - 09 Jun 2013 : 12:02:47
|
You can make a link in the page to a certain "name".
The link: <a href="#XXXX">Direct to X</a>
The name: <a name="XXXX">
By klicking on the link you jump to the name.
|
Bye, Londen. |
 |
|
bronee
Master
   
180 Posts |
Posted - 09 Jun 2013 : 12:33:13
|
I need a little more information :) |
 |
|
Jan van Londen
Super User
    
Netherlands
208 Posts |
Posted - 09 Jun 2013 : 13:06:25
|
Sorry, I forgot to close the name, it should be:
<a name="XXXX"></a>
If you put the link in top of the page and the "name" on the place where you want them to go to, it will work.
|
Bye, Londen. |
 |
|
bronee
Master
   
180 Posts |
Posted - 09 Jun 2013 : 13:26:43
|
Sorry i don`t get it. I create a normal link and write <a name="XXXX"></a> in the link field? |
 |
|
Jan van Londen
Super User
    
Netherlands
208 Posts |
Posted - 09 Jun 2013 : 17:33:28
|
I put an example on line: http://vanlonden.org/risgids/
If you click on "CAO-Net" you jump to "CAO-net" lower in the page.
|
Bye, Londen. |
 |
|
bronee
Master
   
180 Posts |
Posted - 09 Jun 2013 : 19:54:24
|
yes I understand, but dont know how to do from the information you gave me. |
 |
|
s.dav
Site Admin
    
Italy
3364 Posts |
Posted - 09 Jun 2013 : 20:47:02
|
Bronee, check the help on the Link wizard, you should have a good explanation... |
Regards, Davide |
 |
|
bronee
Master
   
180 Posts |
Posted - 09 Jun 2013 : 21:14:40
|
Link wizard?
|
 |
|
bronee
Master
   
180 Posts |
Posted - 09 Jun 2013 : 21:19:11
|
I dont find any help menu in the link wizard? |
 |
|
joneq
Super User
    
433 Posts |
Posted - 09 Jun 2013 : 22:08:33
|
open the dhe help files [open dhe--top menu- help>help] and search for "link wizard" on the top left |
Edited by - joneq on 09 Jun 2013 22:10:07 |
 |
|
joneq
Super User
    
433 Posts |
Posted - 09 Jun 2013 : 22:12:46
|
Link Wizard The Link Wizard permits you to create links to other pages or to a zone of the current one. How to create a link Choose from the 4 options at the top:
a) File in current project Creates a link to a page present in current project. Simply choose a destination page and you should see "project://filename.ext" in the URL field. If the linked file has a .dhe extension, when exporting Dynamic HTML Editor will check the file, creating a link to the correct destination page. It's possible to jump to a specific point of the chosen page adding #linkname to the URL
like this: project://filename.ext#linkname
b) Files on my computer Permits you to link files that are on your computer; you should first copy these files to the destination site directory before linking to them. This is necessary because otherwise you may experience errors when you publish your site to the internet. The linked to file must be on the server.
c) Files on internet Permits you to link external files or sites
c) Javascript call Permits you to call a javascript function
Link Name and Target Frame The link name is useful when you want to jump to a specific zone of a page. The character # is placed before the name of a link to jump to. Target frame indicates the destination frame of the link. You can write the name you want; there are also predefined values: _new - jump to link creating a new window _top - jump to link in top frame _parent - jump to link in parent frame _blank - jump to link in a new frame _self - jump to link in this frame
Examples:
For jumping from link1 to link2 in the same page: 1) create link2 and name it (link2) 2) create link1 and write #link2 in the link field
For jumping from link1 to link2 in different pages: 1) create link2 in page 2 and name it (link2) 2) create link1 in page 1 and write page2.dhe#link2 (or page2.htm#link2)
|
 |
|
bronee
Master
   
180 Posts |
Posted - 09 Jun 2013 : 22:44:44
|
Thank you. When I try to link to "file in current project" the buttom is muted? That is -> impossible to choose? |
 |
|
bronee
Master
   
180 Posts |
Posted - 09 Jun 2013 : 23:35:50
|
Sorry I only have used the editor without any special code, so I need to have it explained in detail... |
 |
|
bronee
Master
   
180 Posts |
Posted - 10 Jun 2013 : 10:29:23
|
fx where should i put the HTML Anchor tag? |
 |
|
joneq
Super User
    
433 Posts |
|
bronee
Master
   
180 Posts |
Posted - 10 Jun 2013 : 17:51:24
|
Hey i bougth the book "Web design for dummies" :)
And somehow I figured it out......
http://larsbronee.dk/matematik.htm
Of course now i need a "back to top" also!
/Lars |
 |
|
joneq
Super User
    
433 Posts |
|
bronee
Master
   
180 Posts |
Posted - 10 Jun 2013 : 19:24:29
|
Anyway I made it work after all :) |
 |
|
|
Topic  |
|