Search found 6 matches

by neolus
Fri Nov 14, 2003 11:00 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: onclick event...
Replies: 13
Views: 8977

Andy,

Thank you for your tips. It is one that I did not try. And it works.

Kevin, thank you for your help. I will study your option. It is more flexible as you say and easier to manage. But I don't know it will work with other classical <a> tags in my webpage.

Thank you all.
by neolus
Fri Nov 14, 2003 10:08 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: onclick event...
Replies: 13
Views: 8977

ok. Thanks.

So what I want to do. I have an index.php page where I have some links and where I want to put a dynamic menu. But I have in my webiste an exit popup whose code is:

<script language="javascript">
var exit=true;
function exitwindow()
{
var url = 'http://www.google.com';
var win ...
by neolus
Thu Nov 13, 2003 11:50 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: onclick event...
Replies: 13
Views: 8977

is anyone could help me?
by neolus
Thu Nov 13, 2003 8:05 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: onclick event...
Replies: 13
Views: 8977

I've searched in the forum and tried many expression and even create a js function... without success. I am not good in informatic and I imagine the solution is easy for you.
So if you can tell me what is going bad in my code, it would be nice. ;)
by neolus
Thu Nov 13, 2003 3:19 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: onclick event...
Replies: 13
Views: 8977

ok. I read that post before but it did not help me as I do not understand.

I tried this:

Code: Select all

aI("text=sub1;url=javascript:exit=false; document.location.href='page1.html';;")
but it does not work... it displays a blank page with exit=false written.

Does it need to create a js function ?
by neolus
Thu Nov 13, 2003 12:33 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: onclick event...
Replies: 13
Views: 8977

onclick event...

Hi,

I would like to add an onclick event to my menu and submenu links. And as I am not good in html or javascript, I have some problems.

When clicking in the menu, I want it executes this function (as it would appear in htlm)

<a href="www.mywebsite.com" onclick="exit=false">Link</a>

in order ...