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:38

Print page in my menu


Poster: Shelleuk
Dated: Thursday March 11 2004 - 15:08:55 GMT

I'd like to include a Print page button in my menu and use this ordinarily:

<a href="#" onClick="window.print()">Print</a>

Can someone tell me how to edit the string to include this function ?

Michelle :roll:


Poster: Ruth
Dated: Thursday March 11 2004 - 19:41:16 GMT

I think you might have to set up some kind of function at the top of the menu data file and then call it in that particular item. If you do a search for onclick on the forum you'll see a number of questions for using some kind of javascript function and on click in the menu. They might give you some ideas.

Ruth


Poster: Shelleuk
Dated: Friday March 12 2004 - 10:10:11 GMT

Thanks Ruth - will check that out


Poster: Andy
Dated: Friday March 12 2004 - 10:49:39 GMT

Try this:

aI("text=Print;url=javascript:window.print()");

-- Andy


Poster: Shelleuk
Dated: Friday March 12 2004 - 14:15:29 GMT

great - thanks Andy.