Forums Index > Mewsoft Products > Auctionawy > Java and the Top_Navigation file in configuration
Whizzz First Post Posted on: 05-02-08 09:33 PM
Java and the Top_Navigation file in configuration

Hi!

I'm trying to add a new Java based menu bar at the top of my site.

I've put the .class file in the root along with .cab, .jar and the .html file for the script to work. It loads fine when you got to;

http://www.a1onlineauctions.com/

But when you click on a link and get directed to the cgi-bin/auction/etc... EX:

http://www.a1onlineauctions.com/cgi-bin/auction/Gallery.cgi?Cat_ID=0&Lang=English

The script is looking for the .class file when you hover over the grey area. I've tried everything short of blowing up my computer with my shotgun. :evil:

I've left the other menu there to help navigate for now until I find the solution.
Anybody have a similar situation happen to them?
I need a fix for this.

Whizzz wink
Anonymous Reply #: 1 Posted on: 05-02-08 10:54 PM
Re: Java and the Top_Navigation file in configuration

edited
Whizzz Reply #: 2 Posted on: 05-02-08 11:20 PM
Re: Java and the Top_Navigation file in configuration

Hey Mike,
What code did you use to point to the script? It's possible this may be a path problem.



I've tried every path in the script and placing the files in the approriate paths on the server in the cgi-bin and html. It just doesn't want to work when accessing the cgi end of the pages.

<applet name="WebButton" code="MagicButton.class" codebase="." archive="MagicButton.jar" width=800 height=51>
<Param Name="cabbase" value="MagicButton.cab">
<Param Name="p" value="FFFFFF|Loading...|FF|FFFFFF|13|1|0|16|0|0|||0|7|0||||0|0|1|1|0|1|0|0|FFFF00|0|FF|1|300|2500|0|13|0|||0|0|0|0|">
<Param Name="1" value="300|25|100|25|1|0|^|FFFFFF|FEBD36|^3FF|^|0|^n1|^20|^e9|^21|2|^|7|^225|^213|^2Featured|^2http://www.a1onlineauctions.com/cgi-bin/auction/auction.cgi?action=Browse&Search=Featured&Cat_ID=0&Lang=English||^f">
<Param Name="2" value="100|25|100|25|1|0|^|FFFFFF|FEBD36|^3FF|^|0|^n1|^20|^e9|^21|2|^|7|^225|^213|^2Hot|^2http://www.a1onlineauctions.com/cgi-bin/auction/auction.cgi?action=Browse&Search=Hot&Cat_ID=0&Lang=English||^f">
<Param Name="3" value="700|0|100|25|1|0|^|FFFFFF|FEBD36|^3FF|^|0|^n1|^20|^e9|^21|2|^|7|^225|^213|^2Gallery|^2http://www.a1onlineauctions.com/cgi-bin/auction/Gallery.cgi?Cat_ID=0&Lang=English||^f">
<Param Name="4" value="700|25|100|25|1|0|^|FFFFFF|FEBD36|^3FF|^|0|^n1|^20|^e9|^21|2|^|7|^225|^213|^2Forum|^2http://www.a1onlineauctions.com/phpBB2/index.php||^f">
<Param Name="5" value="500|25|100|25|1|0|^|FFFFFF|FEBD36|^3FF|^|0|^n1|^20|^e9|^21|2|^|7|^225|^213|^2Categories|^2http://www.a1onlineauctions.com/cgi-bin/auction/auction.cgi?action=Browse_Categories&Lang=English||^f">
<Param Name="6" value="100|0|100|25|1|0|^|FFFFFF|FEBD36|^3FF|^|0|^n1|^20|^e9|^21|2|^|7|^225|^213|^2Register|^2http://www.a1onlineauctions.com/cgi-bin/auction/MyAccount.cgi?action=Sign_Up&Lang=English||^f">
<Param Name="7" value="0|25|100|25|1|0|^|FFFFFF|FEBD36|^3FF|^|0|^n1|^20|^e9|^21|2|^|7|^225|^213|^2New|^2http://www.a1onlineauctions.com/cgi-bin/auction/auction.cgi?action=Browse&Search=New&Cat_ID=0&Lang=English&Page=1||^f">
<Param Name="8" value="0|^|100|25|1|0|^|FFFFFF|FEBD36|^3FF|^|0|^n1|^20|^e9|^21|2|^|7|^225|^213|^2Home|^2http://www.a1onlineauctions.com/cgi-bin/auction/auction.cgi||^f">
<Param Name="9" value="400|0|100|25|1|0|^|FFFFFF|FEBD36|^3FF|^|0|^n1|^20|^e9|^21|2|^|7|^225|^213|^2Search|^2http://www.a1onlineauctions.com/cgi-bin/auction/Search.cgi?action=AdvancedSearch&Cat_ID=0&Lang=English||^f">
<Param Name="10" value="500|0|100|25|1|0|^|FFFFFF|FEBD36|^3FF|^|0|^n1|^20|^e9|^21|2|^|7|^225|^213|^2Feedback|^2http://www.a1onlineauctions.com/cgi-bin/auction/Feedback.cgi?Lang=English||^f">
<Param Name="11" value="600|25|100|25|1|0|^|FFFFFF|FEBD36|^3FF|^|0|^n1|^20|^e9|^21|2|^|7|^225|^213|^2Help|^2http://www.a1onlineauctions.com/cgi-bin/auction/ms.cgi?action=Help&Lang=English||^f">
<Param Name="12" value="300|0|100|25|1|0|^|FFFFFF|FEBD36|^3FF|^|0|^n1|^20|^e9|^21|2|^|7|^225|^213|^2Sell|^2http://www.a1onlineauctions.com/cgi-bin/auction/Sell.cgi?action=Sell&Cat_ID=0&Lang=English||^f">
<Param Name="13" value="200|25|100|25|1|0|^|FFFFFF|FEBD36|^3FF|^|0|^n1|^20|^e9|^21|2|^|7|^225|^213|^2Going|^2http://www.a1onlineauctions.com/cgi-bin/auction/auction.cgi?action=Browse&Search=Going&Cat_ID=0&Lang=English||^f">
<Param Name="14" value="400|25|100|25|1|0|^|FFFFFF|FEBD36|^3FF|^|0|^n1|^20|^e9|^21|2|^|7|^225|^213|^2Big Ticket|^2http://www.a1onlineauctions.com/cgi-bin/auction/auction.cgi?action=Browse&Search=Big_Ticket&Cat_ID=0&Lang=English||^f">
<Param Name="15" value="200|0|100|25|1|0|^|FFFFFF|FEBD36|^3FF|^|0|^n1|^20|^e9|^21|2|^|7|^225|^213|^2My Account|^2http://www.a1onlineauctions.com/cgi-bin/auction/MyAccount.cgi?action=Account_Manager_Login&Lang=English||^f">
<Param Name="16" value="600|0|100|25|1|0|^|FFFFFF|FEBD36|^3FF|^|0|^n1|^20|^e9|^21|2|^|7|^225|^213|^2Language|^2http://www.a1onlineauctions.com/cgi-bin/auction/ms.cgi?action=Set_Language&Lang=English||^f">
<Param Name="i" value="Registered to: |29|17-A-7D4|37-28-7F2-2C-3-21-0-r">
<BLINK>If you see this message in browser instead of buttons, then Java is disabled.</BLINK>
</applet>

Mike
Whizzz Reply #: 3 Posted on: 05-03-08 12:04 AM
Re: Java and the Top_Navigation file in configuration

Have fixed the problem, it was the dot in the script where it says codebase="." It needed to be changed to a foward slash:

codebase="/".

<applet name="WebButton" code="MagicButton.class" codebase="." archive="MagicButton.jar" width=800 height=51>
<Param Name="cabbase" value="MagicButton.cab">

Whizzz big grin
Anonymous Reply #: 4 Posted on: 05-03-08 12:06 AM
Re: Java and the Top_Navigation file in configuration

edited