WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 How can I make a refresh button in DHTML Menu 4? , Corner Note, September 30, 2004
     Re:How can I make a refresh button in DHTML Menu 4? , Dave, October 4, 2004
         Re:How can I make a refresh button in DHTML Menu 4? , Erik Arvidsson, October 6, 2004

Subject: Re:How can I make a refresh button in DHTML Menu 4? From: Dave Date: October 4, 2004


From: Corner Note
Sent: September 30, 2004
Subject: Re:How can I make a refresh button in DHTML Menu 4?

I am trying to make a refresh button in DHTML Menu 4.  I have tried the following:

// with quotes it tries to load these as a URI
"javascript:window.location.reload(true)"
"window.location.reload(true)"

// without quotes it just keeps refreshing
javascript:window.location.reload(true)
window.location.reload(true)

 

Any help would be most appriciated.

assume that "newButton(val, onclck)" is the method that makes a new item on the menu

as URL: newButton('Reload', "parent.location='javascript:location.reload()'; ")

as JS: newButton('Reload', "parent.location.reload()")




Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX