Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Mixing ASP and JavaScript
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Mixing ASP and JavaScript

 Post Reply Post Reply
Author
pjb007 View Drop Down
Groupie
Groupie


Joined: 03 September 2004
Location: United Kingdom
Status: Offline
Points: 185
Post Options Post Options   Thanks (0) Thanks(0)   Quote pjb007 Quote  Post ReplyReply Direct Link To This Post Topic: Mixing ASP and JavaScript
    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.
 


Edited by pjb007 - 29 January 2007 at 10:00pm
Back to Top
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post Posted: 29 January 2007 at 10:11pm
Back to Top
javi712 View Drop Down
Senior Member
Senior Member


Joined: 22 May 2003
Location: United States
Status: Offline
Points: 488
Post Options Post Options   Thanks (0) Thanks(0)   Quote javi712 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
pjb007 View Drop Down
Groupie
Groupie


Joined: 03 September 2004
Location: United Kingdom
Status: Offline
Points: 185
Post Options Post Options   Thanks (0) Thanks(0)   Quote pjb007 Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.