Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:28

Home button

Poster: wimconix
Dated: Sunday October 23 2005 - 6:00:56 BST


Question :

How can I make my home button go to the actual url in the address bar ?
I need this because we have a lot of subdomains with each its own startpage. From the startpage all menulinks are directing to pages of the main site. So history.back() & history.go() do not work here, because they send always to the main site's startpage instead of the subdomain's startpage.
Is there a way to make the button dynamic ? Or a function that simulates the F5 refresh button of IE.
Pages are in ASP / VbScript / MSSQL

Any help appreciated !



Poster: Andy
Dated: Monday October 24 2005 - 11:35:15 BST

You got a URL that we can see?

Might be a simple fix but need to see the problem first.

Poster: Shap5202
Dated: Tuesday November 1 2005 - 3:27:30 GMT

for a refresh... look at this example

(there is a refresh option in the context menu).

For a scripting standpoint you could do..
function goHome(){
    location.href = location.href;

----declare your menu----
----rest of menu----

I think that would work (havent actually tested it).