FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Menu problem





drpiga
I've got a problem about dhtml/javascript menus on the main page of my website...
Actually,I'm doing everything well,design,fonts,layout is Ok...
But what's the problem?The problem is in creating links within the main page which would navigate through the one page,see my site ...
I'm not familiar with javascript and don't know how to create that..
mathiaus
I think I know what you mean. Like link to half way down the page?

your link should look like this
Code:
<a href="#top">Top of the Page</a>


now att he top of the page stick this
Code:
<a name="top"></a>


That will link tot he top of the page. Now you can change the word top to anything and add either code anywhere. The first is the link you click on to go tot he place. the second should be put where you want to go to.

Hope that helps
Matt Very Happy
drpiga
Yes,Matt that is exactly what I ment,I will try those codes from your
post Smile
Tell ,me one more thing...Is there any compatibility issues problem about
those codes with flames which I also planning to put in menus..I saw at
similar sites that code beginning with an ONCLICK word,is it important to my code?

Thx for the answers Very Happy
snowboardalliance
Don't worry about javascript. The plain old <a> tags will work.
Related topics
Strange Fire fox problem
Problem with Mambo/Joomla Menu
Padding or margin problem
Problem
Can anybody help me in making Dynamic menu bars in Flash?
Script Problem
problem z services.exe
Simple menu written in C - Problem with loop
Problem with pages upgrades...
JavaScript problem in IE7
Problem Installing Fonts in win98
Dropdown menu in iframe problem
embedding javascript menu simple problem
Flash ActionScript 2.0 Verical Animated Menu Problem
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.