Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #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

Hi,

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

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

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

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

single quotes in blue. double quotes in red.


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





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