Print Page | Close Window

Mixing ASP and JavaScript

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=22558
Printed Date: 29 March 2026 at 10:25am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Mixing ASP and JavaScript
Posted By: pjb007
Subject: Mixing ASP and JavaScript
Date Posted: 29 January 2007 at 9:59pm
I currently have some ASP that collects links from a database, the code for this is as follows.
 

 
Response.Write "<span class='dblink'><a href=""" & recordset("url") &""" title=""" & recordset("siteTitle") &""">" & recordset("siteTitle") & "</a></span><br /><span class='dblinkdetails'>" & recordset("details") & "</span> "
 
I would like links to open in a new window but use SCRICT XHTML so can't use the _blank attribute.
 
Anyone know another way I had thought using JavaScript would do it,but anyone got any other ideas.
 



Replies:
Posted By: MadDog
Date Posted: 29 January 2007 at 10:11pm
Google is your best friend,
http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=h5y&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=STRICT+XHTML+_blank&spell=1 - http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=h5y&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=STRICT+XHTML+_blank&spell=1


-------------
http://www.iportalx.net" rel="nofollow">


Posted By: javi712
Date Posted: 29 January 2007 at 10:33pm
But it could also be your worst enemy if you don't know how to search for something


Posted By: pjb007
Date Posted: 29 January 2007 at 10:34pm
Thanks, looks like when CSS3 arrives it will be easy.
 
I'll look that some more links now.
 
Out of interest anyone know when CSS3 will be rolled out?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net