Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is this possible?

Status
Not open for further replies.

spencern

Programmer
Joined
Dec 20, 2001
Messages
78
Location
US
Hi everybody,

I want to make a better looking navigation system for my site and I was looking at the Apycom Java Menu( specifically the apPopupMenu. It looks like it would be easy to setup for my site but I have a question.

I've done my site in ASP and some links like logout have to use URL strings to pass variables. Would I be able to use something like the Apycom menu and pass the variables still?

Thanks,
Spencer
 
Hi there,

If you want to use a similar navigation system but conserve your use (or the ease of use) of your ASP coding then mosey (?)over to brainjar.com or dynamicdrive.com. They both offer dhtml coding that has a very similar bar style layout for nav systems. Also this means that you don't have to worry about some visitors potentially not having Java-enabled browsers. Let me know what you think.

M "There are 3 kinds of people; those that can count and those that can't"
 
Well,
I checked the two sites you sent and all of the menus have JavaScript somewhere in them, so would I be able to use the AppPopupMenu and add some ASP code inside of it to act just like a regular link in ASP?

If I wanted to have something like the built in logout link: <A HREF=&quot;<%=MM_Logout%>&quot;> in a Java menu, do you think it would work?

Thanks,
Spencer
 
Good question, I am aware that you may still have the MS server interpret the <% %> for processing on the server when mixed in with some javascript, I don't know if it'll work with java however. I would suggest that you try and mix and match some very simple ASP code with some java and see what happens. Don't go to too many lengths as if it doesn't work, it shouldn't be too much of a waste.

I'll scout around and see whether it is possible. One option I guess is to load you java code in a table cell and in the neighbouring cell have a static (ie non-java, usual run of the mill) hyperlink to logging out. If you want more complex menus (ie populating the navigation system from a backend db) then this is probably going to take time.

Let us know what it is you want to do with your nav system.

M &quot;There are 3 kinds of people; those that can count and those that can't&quot;
 
Ok,
I got a program from the site that I posted earlier that lets you make the menu in a graphical interface. I was actually able to make a button in the menu with the link as:<%=MM_Logout%> and it worked okay, but if I want to have something where it will pass recordset information, it won't work. I tried students.asp?teacher=<%=(Recordset1.Fields.Item(&quot;lastname&quot;).Value)%>,
but it wouldn't work.

Any Ideas?
Spencer
 
Hi Spencer,

Have a look at the previous post what I put up earlier. The tutorial talks you throught wrapping asp code up into a java executable peice of code.

M &quot;There are 3 kinds of people; those that can count and those that can't&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top