Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 16th, 2003, 07:20 PM
Registered User
Join Date: Dec 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Displaying Url from database in Status Bar


Is there a way to hide the link that displays in the Status bar with a url from database? OnMouseOver show DisplayURL from database and OnMouseOut sets value to 'noting'. The code snipet below works when it is displayed in a browser BUT doesn't allow me to return to Design view in VS.NET with error "Could not open in Design view. Quote values differently inside a '<%..."value"...%>' block."

<a href='<%# Container.DataItem("RealURL") %>' onMouseOver="MM_displayStatusMsg('<%# Container.DataItem("DisplayUrl") %>');return document.MM_returnValue" onMouseOut="MM_displayStatusMsg('');return document.MM_returnValue"><%# Container.DataItem("Name") %></a>

I have a clue of what's happening but can't seem to get it working. Any help? thanks

Reply With Quote
  #2 (permalink)  
Old December 17th, 2003, 09:40 AM
Friend of Wrox
Join Date: Jun 2003
Location: , , USA.
Posts: 1,111
Thanks: 0
Thanked 3 Times in 3 Posts

<a href="products.html"
onMouseOver="window.status='Learn about our products';return true;"
onMouseOut="window.status='';return true;">

Try that format. It might be the quotes and also look for the ';'. Javascript requires it.

single quotes in blue. double quotes in red.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Status Bar ironchef Java GUI 0 October 26th, 2006 09:19 PM
Display Url from database in Status bar ntriqetev VS.NET 2002/2003 1 November 16th, 2004 02:44 AM
Change Status bar qazi_nomi HTML Code Clinic 1 July 10th, 2004 04:28 PM
Status Bar soccers_guy10 Pro VB.NET 2002/2003 3 August 12th, 2003 11:48 PM
Status Bar question Tere Beginning VB 6 1 July 5th, 2003 05:15 AM

All times are GMT -4. The time now is 11:36 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.