Hi to all!
I have this problem,please visit http://www.code-elektronic.com/index2.html and resize your browser size to 50% of high and 50% of width and then try to click on lets say "Proizvodi".
Can you see the problem?
If I click on each menu button the windows is scrolling down. This make me very crazy.
Is there any way to make a fixed page so the scrolling effect disappear ?
Can somebody help mi to figure out this problem?
Thanks for any tip's
05-04-2009, 09:53 AM
What's the purpose the highlighted items in your anchors' href attributes?
<a href="#menu_servis"><img width="84" alt="servis" src="images/servis_dugme.jpg"/></a>
Removing those highlighted text (named anchors) would solve your issue.
05-04-2009, 11:12 AM
Yea,this anchor should be the link of my menu under this menu line where is the SERVIS button.
The best way to see what is the problem if you click on "Proizvodi" and then under this menu line loads a menu line with some menu buttons and then click on "Mobilni Telefoni" and you can see in the left side will be loaded some new menu... This is my idea how to loade some menu items on my page without iFrames...
The anchor moves to the position of the menu list what is writen in a DIV tag and so you can always display the menu item what is in a DIV tag.
Here is the simple code of my menu structure what I using in my page.
Save this to menu.html file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Ucitavanje menua bez ikakve skripte - By Joda</title>
<link href="menu.css" rel="stylesheet" type="text/css" />