Hi, I'm not experienced with editing but would like to know if anyone knows if it's possible to add a piece of html code and direct the viewers to a specific part of my web page, instead of loading at the top of the page?
That would require php from my understanding. Or some other script, there might be a way to do it with javascript, but I'm not sure it is possible with html alone.
It is quite easy! Lets say you want your visitor to move to line no 20. just go to line no.20 in and place a tag like the below <a name="section1"> Code (markup): here is the tag <a name> and section1 is the name you want to identify that location or block or paragraph or line etc. You can call that link like this: <A href="#section1">My section</A><BR> Code (markup): Now how do you call that link from another link [url]http://www.yourdomain.com#section1[/url] Code (markup): I hope you got some idea. Regards, Amer
Thanks, that seemed to work. I placed the <p><a name="section1"> </a><a href="#section1">My section</a></p> at one point of the page and then went to another page and placed the link http://mydomain.com#section1 and when hiting the link it directed me to the section of the first page. But what I'm really trying to do is get the viewers directed to a specific part of my homepage automatically without pressing at any link but by simply typing my site's URL, instead of directed at the top of my homepage and maybe every page... How do I do that? Thanks.
You should specify the name and the id attribute of the a tag as them same thing. This will allow for forward and backward compatibility.
Do you mean the stuff like this thread: http://forums.digitalpoint.com/showthread.php?p=11361956#post11361956