|
|
If I try to write a line within ASP brachets ( <% %> ) the popup menu right does not show up.
Return to Recent Questions
Q:
Could you please help me with another question?
I am using your regular dhtml menu inside an asp page.
I want to make a call to different javascripts with parameters
from different menu items (Which should work fine.. )
I have now been trying to do this by using the alert() java metod....
This line works perfect:
["|Test A","javascript:alert('Test');", "", "", "", "", "0", "-1", "", ],
But if I try to write the same line within ASP brachets ( <% %> ) the popup menu right does not show up:
<%
response.Write( " ['|Test A','javascript:alert('Test');', '', '', '', '', '0', '-1', '', ], " )
%>>
I have also found that if I remove the parameter inside the javascript like this:
<%
response.Write( " ['|Test A','javascript:alert();', '', '', '', '', '0', '-1', '', ], " )
%>>
the popup menu right will show up and the script will work but since I can
not insert any parameter it is pointless..
How can I achieve this?
A:
Try to write your code in the following way:
<%
response.Write( " ['|Test A','javascript:alert(\'Test\');', '', '', '', '', '0', '-1', '', ], " )
%>
Return to Recent Questions
Related:
- March 26, 2009 - After click the links the popup menu right stops showing up in cross-frame mode...
- Apr 07, 2009 - I want to get my text within a single javascript dynamic menu item to be on a two lines...
- Apr 12, 2009 - Could you tell me how to create popup menu right if it's possible?
- Apr 30, 2009 - Do you have a popup menu right that allows the sub-items to 'slide' out from the main items?
- May 17, 2009 - My popup menu right software doesn't recognizing the arabic text...
- May 28, 2009 - Can I put a break line to write my items in several lines in site navigation sample?
- Jun 03, 2009 - Is it possible for the popup menu right to highlight selected item on the page?
- Jun 20, 2009 - The floating buttons turn white when I open my site and hovered over the popup menu right.
- Jul 08, 2009 - Is there a parameter in popup menu right to force the menu text to wrap
- Jul 25, 2009 - In IE the submenus of popup menu right are open down the page and go off the bottom of the screen.
- Aug 11, 2009 - I downloaded the trial version, but where I can find the scroll popup menu right?
|