anchor links, backimage code conversion from 3 to 5 version

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

anchor links, backimage code conversion from 3 to 5 version

Post by Ruth »

I have this property array in my version 3 menu and can't figure out how to convert it to version 5. Not the size and stuff, just the #top part which makes an anchor link to go back to the top of whatever page you are on when you click it. And, there is a code in version 3 called backimage. How do I do that in Version 5?


code for anchor link
addmenu(menu=["main1",
,1,60,,,Main1,,"center",,,,,,,,,,,,,
,"Back to Menu","#top",,,1
])

code for backimage,
"MENU","show-menu=main1","# backimage=menubut2b.gif;",,0

Slowly but surely I'm getting the other parts....

Thanks

Ruth
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

"#top" / url='#top';
Its one of those rare cases where # might cause a problem, hence ' ', its also been said you can just use ' ' because it will send the link to the top of the page. I use the first one.

# backimage=menubut2b.gif;" / bgimage=menubut2b.gif;

Regards
maz
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Thanks so much.....if it doesn't work, I'll be back. Hmmm, sounds like one of the horror movies. :P

Ruth
Post Reply