Url problems with MAC computers....

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
ducati
Beginner
Beginner
Posts: 9
Joined: Thu Mar 03, 2005 5:51 pm
Location: Denmark
Contact:

Url problems with MAC computers....

Post by ducati »

the menu running on a Demo site, http://51637.shop05.dandomain.dk/shop/d ... opClosed=1, does not work on MAC systems.

Choose reseller -> "reseller login"

This is the link as it shows on a pc, http://51637.shop05.dandomain.dk/shop/b2blogin.asp

But using a MAC, the link is changed to,
http://51637.shop05.dandomain.dk/shop/% ... blogin.asp

It's the same problem trying both safari and explorer, so i think it's a general MAC problem

Ducati :(
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

In Safari I'm seeing the URL exactly as you show it for IE.

Firefox is a bit different. It shows...

Code: Select all

http://51637.shop05.dandomain.dk/shop/\shop/b2blogin.asp
What are the \\ you have in your URLs?
John
ducati
Beginner
Beginner
Posts: 9
Joined: Thu Mar 03, 2005 5:51 pm
Location: Denmark
Contact:

Post by ducati »

This code is from the head menu, and as it looks in my dreamweaver, to make the url's work.
If i remove the \\ it does'nt work.... ?????

aI("image=/db_red.gif;text=Home;title=Back to home page;url=\\shop/frontpage.asp;target=main");
aI("image=/1.jpg;text=Check out;title=Check out;url=\\shop/showbasket.asp;target=main");
aI("image=/1.jpg;text=Hot deal's;title=Hot deal's;url=\\shop/productlist.asp?specialoffer=1;target=main");
ducati
Beginner
Beginner
Posts: 9
Joined: Thu Mar 03, 2005 5:51 pm
Location: Denmark
Contact:

Url problems with MAC computers....

Post by ducati »

Hi John.

On the MAC's in our office the code is the same as on when you use firefox, which means the menu does'nt work???

Code:
http://51637.shop05.dandomain.dk/shop/\ ... blogin.asp

Do you know why this piese is changed from shop/.... to shop/\shop/....

Ducati
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Try changing all those \\ items to just a / .

See http://www.west.asu.edu/sa/testsite/.

The only one I worked on was the reseller -> "reseller login" thing. Ya gotta be quick to get over to it (but it shows the correct URL on Firefox now)!
John
ducati
Beginner
Beginner
Posts: 9
Joined: Thu Mar 03, 2005 5:51 pm
Location: Denmark
Contact:

Post by ducati »

Hi John. :D

A big thank you for your reply. I have changed all the url's, but i have no MAC at home so i can't see the result until tomorrow at work.

I really appreciate the help i got from you and Ruth. If it works on MAC systems we are for sure gona buy the menu. I also would like the search link to work the same way as the milonic home menu. This is the code i'm using, aI("image=\\menuitem/images/newsearch.gif;showmenu=Search;text=Search"); and, aI("text=SEARCH;"); but the search link does not open??

When we place the order in the milonic shop we can fill out the VAT # and the system immediately promts back if the VAT # is ok or not. Do you know how it works??

Ducati.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Hi Ducati -

The reseller link is taking me to a login page in both Safari and Firefox. :D
ducati wrote:I also would like the search link to work the same way as the milonic home menu. This is the code i'm using, aI("image=\\menuitem/images/newsearch.gif;showmenu=Search;text=Search"); and, aI("text=SEARCH;"); but the search link does not open??
First, get those miserable \\ out of there! All of them should be replaced with a single / .

Now, your search menu doesn't have a search form in it. Can't search without a form. :)

This isn't a search, but it is a form that should give you the idea. Note there are NO ' or " of any kind in it (except for the standard opening and closing " for the aI itself)...

Code: Select all

aI("text=Our Newsletter...<br><form action=http://whatever...><input type=hidden name=flavor value=subscribe><input type=hidden name=list value=pda><input type=text name=email><br><br><input type=submit value=Subscribe></form>;type=form;align=center;");
You can see this one at http://pdaoutlet.biz/ under the Services menu.
ducati wrote:When we place the order in the milonic shop we can fill out the VAT # and the system immediately promts back if the VAT # is ok or not. Do you know how it works??
I think Andy wrote that routine. He'll have to answer this part.
John
ducati
Beginner
Beginner
Posts: 9
Joined: Thu Mar 03, 2005 5:51 pm
Location: Denmark
Contact:

Post by ducati »

Hi John.

I've tried to make the search form work for some time, but have'nt really made it.

This is the form i used in the old menu,

Code: Select all

<form method="POST" action="Productlist.asp?search=1" target="main">
        <font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">Search:</font><input type="text" name="Keyword" size="12" style="background-color: #c0c0c0;"><input type='submit' value='ok' name='Search' style="background-color: #cccccc;"></form>
 
I could use some on this one...

:) [/code]
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Code: Select all

with(milonic=new menuname("Search")){
style=menuStyle;
aI("text=`<form method=POST action=Productlist.asp?search=1><table><tr><td>Search</td><td></td></tr><tr><td><input type=text name=Keyword size=12 style='background-color: #c0c0c0;'></td><td><input type=submit value=ok name='Search' style='background-color: #cccccc;'></td></tr></table></form>`;type=form;align=center;onbgcolor=;onborder=;");
}


one line no wrapping, of course. This would be the submenu, you'd have the word Search in the main menu to get to it.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

See my message above and also Ruth's.
John
Post Reply