Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:06

Can't get link with '&' to work


Poster: scrubdaddy
Dated: Tuesday October 7 2003 - 18:09:01 BST

Cheers Milonic Team...

I'm trying to link to a URL from v5 of the menu, but it's not working.

I have it like so in the code:
http://ir.hollywoodvideo.com/phoenix.zh ... -estimates

But when I click on it it takes me only to:
http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069
(sans &p=irol-estimates).

Thoughts? Following is my code... it's toward the bottom.
Thank you...
-Scott





_menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=0 // The time delay before menus open on mouse over
_followSpeed=5 // Follow scrolling speed
_followRate=40 // Follow scrolling Rate
_subOffsetTop=10 // Sub menu top offset
_subOffsetLeft=-10 // Sub menu left offset
_scrollAmount=3 // Only needed for Netscape 4.x
_scrollDelay=20 // Only needed for Netcsape 4.x



with(menuStyle=new mm_style()){
onbgcolor="#E2D8F7";
oncolor="#28006A";
offbgcolor="#28006A";
offcolor="#FFFFFF";
bordercolor="#28006A";
borderstyle="solid";
borderwidth=0;
separatorcolor="#6941AB";
separatorsize="1";
padding=4;
fontsize="75%";
fontstyle="normal";
fontweight="700";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="white";
pagebgcolor="#533388";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="/images/arrow.gif";
subimagepadding="3";
overfilter="Alpha(opacity=90)";
}


with(milonic=new menuname("Main Menu")){
style=menuStyle;
screenposition="center";
top=58;
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=/;status=Hollywood Video Home;");
aI("text=Store Locator;url=/storelocator/default.aspx;showmenu=Store Locator;status=Store Locator");
aI("text=Movies;url=/movies/default.aspx;showmenu=Movies;status=Movies;");
aI("text=Games;url=/games/default.aspx;showmenu=Games;status=Games");
aI("text=Family;url=/family/default.aspx;showmenu=Family;status=Family");
aI("text=Gift Cards;url=/giftcards/default.aspx;showmenu=Gift Cards;status=Gift Cards");
aI("text=Specials;url=/specials/default.aspx;showmenu=Specials;status=Specials");
aI("text=Company;url=/company/default.aspx;showmenu=Company;status=Company");
aI("text=My Hollywood Video;url=/profile/EditProfile.aspx?;showmenu=My Hollywood Video;status=My Hollywood Video");
}

with(milonic=new menuname("Store Locator")){
style=menuStyle;
overflow="scroll";
aI("text=Find a Store Near You;url=/storelocator/default.aspx;status=Store Locator");
}

with(milonic=new menuname("Movies")){
style=menuStyle;
aI("text=Movies Home;url=/movies/default.aspx;status=Movies Home");
aI("text=Now Playing;url=/movies/now_playing.aspx;status=Now Playing");
aI("text=Coming Soon;url=/movies/coming_soon.aspx;status=Coming Soon");
aI("text=New Release Calendar;url=/movies/new_release_calendar.aspx;status=New Release Calendar");
aI("text=Guaranteed In Stock;url=/movies/guaranteed_in_stock.aspx;status=Guaranteed In Stock");
aI("text=The 50 Hottest Rentals;url=/movies/hottest_rentals.aspx;status=The 50 Hottest Rentals");
aI("text=Top Ten Lists;url=/movies/top_ten_lists.aspx;status=Top Ten Lists");
aI("text=This Week's Spotlight;url=/movies/spotlight.aspx;status=This Week's Spotlight");
}

with(milonic=new menuname("Games")){
style=menuStyle;
aI("text=Games Home;url=/games/default.aspx;status=Games Home;");
aI("text=Now Playing;url=/games/now_playing.aspx;status=Now Playing;");
aI("text=Coming Soon;url=/games/coming_soon.aspx;status=Coming Soon;");
aI("text=Top Ten Rentals;url=/games/top_ten_rentals.aspx;status=Top Ten Rentals;");
aI("text=ESRB Game Ratings;url=/games/game_ratings.aspx;status=ESRB Game Ratings;");
aI("text=Xbox;url=/games/xbox.aspx;status=Xbox;");
aI("text=PS2;url=/games/ps2.aspx;status=PS2;");
aI("text=GameCube;url=/games/gamecube.aspx;status=GameCube;");
}

with(milonic=new menuname("Family")){
style=menuStyle;
aI("text=Family Home;url=/family/default.aspx;status=Family Home;");
aI("text=Movies for Kids;url=/family/kids_movies.aspx;status=Movies for Kids;");
}

with(milonic=new menuname("Gift Cards")){
style=menuStyle;
aI("text=Gift Cards Home;url=/giftcards/default.aspx;status=Gift Cards Home");
aI("text=Personal Gifts;url=/offsite.aspx?url=http://www.hollywoodvideogiftcards.com/consumer.asp;status=Personal Gifts");
aI("text=Business Gifts/Incentives;url=/offsite.aspx?url=http://www.hollywoodvideogiftcards.com/business.asp;status=Business Gifts/Incentives");
aI("text=Nonprofit Gift Card Orders;url=/giftcards/giftcard_nonprofit_intro.aspx;status=Nonprofit Gift Card Orders");
}

with(milonic=new menuname("Specials")){
style=menuStyle;
aI("text=Store Specials Home;url=/specials/default.aspx;");
aI("text=Previously-Viewed Movie Deals;url=/specials/pv_spotlight.aspx;");
aI("text=Promotional Partnerships;url=/specials/promotional_partnerships.aspx;");
}

with(milonic=new menuname("Company")){
style=menuStyle;
aI("text=Company Home;url=/company/default.aspx;status=Company Home");
aI("text=Contact Us;url=/company/contact_us.aspx;status=Contact Us");
aI("text=Frequently Asked Questions;url=/company/frequently_asked_questions.aspx;status=Frequently Asked Questions");
aI("text=Jobs;url=/company/jobs.aspx;status=Jobs");
aI("text=Advertise With Us;url=/company/advertising_opportunities.aspx;status=Advertising Opportunities");
aI("text=Our Advertising;url=/company/advertising.aspx;status=Our Advertising");
aI("text=Investor Information;showmenu=Investors;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-irhome;status=Investor Information");
aI("text=Community Programs;url=/company/community_spotlight.aspx;status=Our Community Spotlight Program");
}

with(milonic=new menuname("Investors")){
style=menuStyle;
aI("text=Investor Overview;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-irhome;");
aI("text=Analyst Coverage;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-analysts;status=Analyst Coverage");
aI("text=Corporate Governance;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-govHighlights;status=Corporate Governance");
aI("text=Event Calendar;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-calendar;status=Event Calendar");
aI("text=E-mail Alerts;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-alerts;status=E-mail Alerts");
aI("text=Earnings Estimates;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-estimates;status=Earnings Estimates");
aI("text=Historical Price Lookup;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-stockLookup;status=Historical Price Lookup");
aI("text=Information Request;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-info;status=Information Request");
aI("text=Management & Board;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-governance;status=Management & Board");
aI("text=News Releases;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-news;status=News Releases");
aI("text=SEC Filings;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-sec;status=SEC Filings");
aI("text=Stock Chart;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-stockChart;status=Stock Chart");
aI("text=Stock Quote;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-stockQuote;status=Stock Quote");
}

drawMenus();


Poster: John
Dated: Tuesday October 7 2003 - 18:13:54 BST

Is that the only that fails in that list, or do all the '&' fail?

Not sure, but does it need to be escaped...
Code:
\&p=irol-estimates...

Note \ before &.


Poster: scrubdaddy
Dated: Tuesday October 7 2003 - 18:19:47 BST

Hmmm... the escape didn't seem to work either (I did it only for the earnings link below):

with(milonic=new menuname("Investors")){
style=menuStyle;
aI("text=Investor Overview;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-irhome;status=Investor Overview");
aI("text=Analyst Coverage;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-analysts;status=Analyst Coverage");
aI("text=Corporate Governance;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-govHighlights;status=Corporate Governance");
aI("text=Event Calendar;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-calendar;status=Event Calendar");
aI("text=E-mail Alerts;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-alerts;status=E-mail Alerts");
aI("text=Earnings Estimates;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069\&p=irol-estimates;status=Earnings Estimates");
aI("text=Historical Price Lookup;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-stockLookup;status=Historical Price Lookup");
aI("text=Information Request;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-info;status=Information Request");
aI("text=Management & Board;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-governance;status=Management & Board");
aI("text=News Releases;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-news;status=News Releases");
aI("text=SEC Filings;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-sec;status=SEC Filings");
aI("text=Stock Chart;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-stockChart;status=Stock Chart");
aI("text=Stock Quote;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-stockQuote;status=Stock Quote");
}

Try this....as a test


Poster: rcranswick
Dated: Tuesday October 7 2003 - 18:29:26 BST

Try the link as:

url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-irhome

as opposed to:

url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-irhome

I use & in some of my links at http://www.richardcranswick.com/ without any problem. I'm wondering if the second instance of 'url' is confusing the system. You could also try url encoding your link.


Poster: Andy
Dated: Tuesday October 7 2003 - 18:30:19 BST

Which browser are you seeing this with?

Just tried it with IE6.0 and it worked fine.

Cheers
Andy.


Poster: scrubdaddy
Dated: Tuesday October 7 2003 - 18:41:09 BST

Well it does seem to work if remove offsite.aspx? like so:

aI("text=Earnings Estimates;url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-estimates;status=Earnings Estimates");

But we'd like to keep the offsite link as it helps us track where people are going. Would you have any other workarounds? :?:

Also... Andy... this is on our dev site and not the current live for public site... is that the one you hit?

Thanks again...
-Scott


Poster: Hergio
Dated: Tuesday October 7 2003 - 18:44:49 BST

I also tried it with IE 6 and it was fine.

The url= shouldn't throw it off because the menu looks for keywords (which url is) preceeded with a ; and followed by a = (;<keyword>=). So url= does not match ;url= so it should be ok. But if you want to TOTALLY eliminate it as a possibility, try changing it to somethign like u=.

In strings, ampersand doesn't need to be escaped, it fact you want the actual ampersand symbol character to go into the URL, not an escaped version of it.


Poster: Hergio
Dated: Tuesday October 7 2003 - 19:01:32 BST

Actually I think I know what the problem is since you said that. You have two ?'s in your URLs, essentially you are trying to pass two query strings which is not allowed. IE seems to just accept it and understand it but others may not. ANd it could also be your offsite page not parsing up the query string correctly. When you use a function to pull off the queryString from the URL, it may not understand which to use. Try changing the way you send your variables to offsite.aspx, like
offsite.aspx?url=blahblah.com&p=blah1&c=blah2 and then in the page figure out whats what, update your DB, and create the appropriate url and redirect to it. If you can't figure it out, let me know, i will put something together for you.


Poster: scrubdaddy
Dated: Tuesday October 7 2003 - 19:19:54 BST

Dave... I typed the following and then our proxy server went kablooey... From your last post, I'll investigate if we can modify the offsite.aspx so it doesn't use 'url'... not sure if that will work. I have an alt solution below, though it is a workaround... (prior note that didn't publish follows)

Thanks Dave... I tried changing it to:

aI("text=Earnings Estimates;url=/offsite.aspx?u=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-estimates;status=Earnings Estimates");

...but it just timed out.

I'm not sure how you guys are trying it out, though I am using IE6 latest as well (plus mac, Opera, NS and Safari flavors).

Maybe its some combination of my using 'url' twice which makes it truncate the rest of the URL after '&'. <---wild guess

I wonder if the most effecient way to do it would be to create pages on my site for all of those links with simple redirects to the ir.hollywoodvideo.com links, so the menu points to /earnings_call.aspx on my page which has a redirecto to offsite.aspx?http://ir.hollywoodvideo...etc.

It would be going outside of the menu, but to the end user it would work seemlessly.


Poster: Hergio
Dated: Tuesday October 7 2003 - 19:23:58 BST

I really dont think its url, I still think its the question marks. You have too many of them, too many query strings.

Changing the url= to u= would probably make it hang, yeah, because the page is looking for url and can't find it. So it takes the empty string or whatever and probably takes it to your database which must be timing out. Or it just hangs there since it can't find url.

Must be the second ?


Poster: rcranswick
Dated: Tuesday October 7 2003 - 19:47:08 BST

As it works withput the offsite.aspx I think it will more than likely be the second ? as noted earlier.

You could try substituting the second ? for %3F as if it were being URL Encoded. So the line would read

/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml%3Fc=69069&p=irol-estimates


Poster: scrubdaddy
Dated: Tuesday October 7 2003 - 20:26:13 BST

Oooh, that was a good suggestion, but it still didn't work. For some reason it still truncates everything from the & on. I don't know but is there another way to encode an ampersand?


Poster: kevin3442
Dated: Tuesday October 7 2003 - 20:54:45 BST

I believe a URL encoded ampersand would be %26, but I wouldn't hold my breath on it working.

Kevin


Poster: scrubdaddy
Dated: Tuesday October 7 2003 - 21:13:51 BST

Oddly enough, that worked like a charm!

Here's the final code (in total) in case someone finds it useful.


Thanks all!


_menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=0 // The time delay before menus open on mouse over
_followSpeed=5 // Follow scrolling speed
_followRate=40 // Follow scrolling Rate
_subOffsetTop=10 // Sub menu top offset
_subOffsetLeft=-10 // Sub menu left offset
_scrollAmount=3 // Only needed for Netscape 4.x
_scrollDelay=20 // Only needed for Netcsape 4.x



with(menuStyle=new mm_style()){
onbgcolor="#E2D8F7";
oncolor="#28006A";
offbgcolor="#28006A";
offcolor="#FFFFFF";
bordercolor="#28006A";
borderstyle="solid";
borderwidth=0;
separatorcolor="#6941AB";
separatorsize="1";
padding=4;
fontsize="75%";
fontstyle="normal";
fontweight="700";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="white";
pagebgcolor="#533388";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="/images/arrow.gif";
subimagepadding="3";
overfilter="Alpha(opacity=90)";
}


with(milonic=new menuname("Main Menu")){
style=menuStyle;
screenposition="center";
top=58;
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=/;status=Hollywood Video Home;");
aI("text=Store Locator;url=/storelocator/default.aspx;showmenu=Store Locator;status=Store Locator");
aI("text=Movies;url=/movies/default.aspx;showmenu=Movies;status=Movies;");
aI("text=Games;url=/games/default.aspx;showmenu=Games;status=Games");
aI("text=Family;url=/family/default.aspx;showmenu=Family;status=Family");
aI("text=Gift Cards;url=/giftcards/default.aspx;showmenu=Gift Cards;status=Gift Cards");
aI("text=Specials;url=/specials/default.aspx;showmenu=Specials;status=Specials");
aI("text=Company;url=/company/default.aspx;showmenu=Company;status=Company");
aI("text=My Hollywood Video;url=/profile/EditProfile.aspx?;showmenu=My Hollywood Video;status=My Hollywood Video");
}

with(milonic=new menuname("Store Locator")){
style=menuStyle;
overflow="scroll";
aI("text=Find a Store Near You;url=/storelocator/default.aspx;status=Store Locator");
}

with(milonic=new menuname("Movies")){
style=menuStyle;
aI("text=Movies Home;url=/movies/default.aspx;status=Movies Home");
aI("text=Now Playing;url=/movies/now_playing.aspx;status=Now Playing");
aI("text=Coming Soon;url=/movies/coming_soon.aspx;status=Coming Soon");
aI("text=New Release Calendar;url=/movies/new_release_calendar.aspx;status=New Release Calendar");
aI("text=Guaranteed In Stock;url=/movies/guaranteed_in_stock.aspx;status=Guaranteed In Stock");
aI("text=The 50 Hottest Rentals;url=/movies/hottest_rentals.aspx;status=The 50 Hottest Rentals");
aI("text=Top Ten Lists;url=/movies/top_ten_lists.aspx;status=Top Ten Lists");
aI("text=This Week's Spotlight;url=/movies/spotlight.aspx;status=This Week's Spotlight");
}

with(milonic=new menuname("Games")){
style=menuStyle;
aI("text=Games Home;url=/games/default.aspx;status=Games Home;");
aI("text=Now Playing;url=/games/now_playing.aspx;status=Now Playing;");
aI("text=Coming Soon;url=/games/coming_soon.aspx;status=Coming Soon;");
aI("text=Top Ten Rentals;url=/games/top_ten_rentals.aspx;status=Top Ten Rentals;");
aI("text=ESRB Game Ratings;url=/games/game_ratings.aspx;status=ESRB Game Ratings;");
aI("text=Xbox;url=/games/xbox.aspx;status=Xbox;");
aI("text=PS2;url=/games/ps2.aspx;status=PS2;");
aI("text=GameCube;url=/games/gamecube.aspx;status=GameCube;");
}

with(milonic=new menuname("Family")){
style=menuStyle;
aI("text=Family Home;url=/family/default.aspx;status=Family Home;");
aI("text=Movies for Kids;url=/family/kids_movies.aspx;status=Movies for Kids;");
}

with(milonic=new menuname("Gift Cards")){
style=menuStyle;
aI("text=Gift Cards Home;url=/giftcards/default.aspx;status=Gift Cards Home");
aI("text=Personal Gifts;url=/offsite.aspx?url=http://www.hollywoodvideogiftcards.com/GiftCard_Consumer.asp;status=Personal Gifts");
aI("text=Business Gifts/Incentives;url=/offsite.aspx?url=http://www.hollywoodvideogiftcards.com/GiftCard_Business.asp;status=Business Gifts/Incentives");
aI("text=Check Your Gift Card Balance;url=/offsite.aspx?url=http://www.hollywoodvideogiftcards.com/GiftCard_Balance.asp;status=Check Your Gift Card Balance");
aI("text=Nonprofit Gift Card Orders;url=/giftcards/giftcard_nonprofit_intro.aspx;status=Nonprofit Gift Card Orders");
}

with(milonic=new menuname("Specials")){
style=menuStyle;
aI("text=Store Specials Home;url=/specials/default.aspx;");
aI("text=Previously-Viewed Movie Deals;url=/specials/pv_spotlight.aspx;");
aI("text=Promotional Partnerships;url=/specials/promotional_partnerships.aspx;");
}

with(milonic=new menuname("Company")){
style=menuStyle;
aI("text=Company Home;url=/company/default.aspx;status=Company Home");
aI("text=Contact Us;url=/company/contact_us.aspx;status=Contact Us");
aI("text=Frequently Asked Questions;url=/company/frequently_asked_questions.aspx;status=Frequently Asked Questions");
aI("text=Jobs;url=/company/jobs.aspx;status=Jobs");
aI("text=Advertise With Us;url=/company/advertising_opportunities.aspx;status=Advertising Opportunities");
aI("text=Our Advertising;url=/company/advertising.aspx;status=Our Advertising");
aI("text=Investor Information;showmenu=Investors;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml?c=69069&p=irol-irhome;status=Investor Information");
aI("text=Community Programs;url=/company/community_spotlight.aspx;status=Our Community Spotlight Program");
}

with(milonic=new menuname("Investors")){
style=menuStyle;
aI("text=Investor Overview;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml%3Fc=69069%26p=irol-irhome;status=Investor Overview");
aI("text=Analyst Coverage;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml%3Fc=69069%26p=irol-analysts;status=Analyst Coverage");
aI("text=Corporate Governance;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml%3Fc=69069%26p=irol-govHighlights;status=Corporate Governance");
aI("text=Event Calendar;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml%3Fc=69069%26p=irol-calendar;status=Event Calendar");
aI("text=E-mail Alerts;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml%3Fc=69069%26p=irol-alerts;status=E-mail Alerts");
aI("text=Earning Estimates;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml%3Fc=69069%26p=irol-estimates;status=E-mail Alerts");
aI("text=Historical Price Lookup;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml%3Fc=69069%26p=irol-stockLookup;status=Historical Price Lookup");
aI("text=Information Request;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml%3Fc=69069%26p=irol-info;status=Information Request");
aI("text=Management & Board;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml%3Fc=69069%26p=irol-governance;status=Management & Board");
aI("text=News Releases;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml%3Fc=69069%26p=irol-news;status=News Releases");
aI("text=SEC Filings;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml%3Fc=69069%26p=irol-sec;status=SEC Filings");
aI("text=Stock Chart;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml%3Fc=69069%26p=irol-stockChart;status=Stock Chart");
aI("text=Stock Quote;url=/offsite.aspx?url=http://ir.hollywoodvideo.com/phoenix.zhtml%3Fc=69069%26p=irol-stockQuote;status=Stock Quote");
}

with(milonic=new menuname("My Hollywood Video")){
style=menuStyle;
aI("text=My Wishlist;url=/myhollywood/wishlist.aspx?;status=My Wishlist");
aI("text=Modify My Account;url=/profile/EditProfile.aspx;status=Modify My Account");
aI("text=Sign In;url=/profile/default.aspx?;status=Sign In");
aI("text=Create New Account;url=/profile/default.aspx?;status=Create New Account");
aI("text=Help;url=/unknown/unknown.aspx;status=Help");
}

drawMenus();


Poster: John
Dated: Tuesday October 7 2003 - 21:17:21 BST

Thanks to Kevin, Scrub, and rcranswick for working that one out so quickly (and completely). Milonic scores again :!:


Poster: kevin3442
Dated: Tuesday October 7 2003 - 23:16:57 BST

Thanks John. To be fair, it was rcranswick's idea to substitute the URL encoded character. All I did was come up with the hex equivalent for 38.

For future reference, you can come up with the url encoded representation for a character by looking that character up in any IS0-8859-1 character set, finding the decimal entity number, then converting it to hex. For example, a space is decimal 32 in the ISO-8859-1 character set. 32 decimal is 20 hex, so the url encoding for a space is %20 (which is why you often see these instead of spaces in a long URL). There are plenty of ISO-8859-1 table references on the web or in downloadable form (e.g., in a help file); it's sometimes a good reference to have.

Glad I could help a little.

Kevin


Poster: John
Dated: Tuesday October 7 2003 - 23:49:19 BST

So noted, and corrected :D Thanks.

I scrolled up the page looking for names, but went too fast and missed that one.

What the heck - this whole place is a team :!: