Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To 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
 
Old August 8th, 2007, 09:03 AM
Authorized User
 
Join Date: Jul 2007
Location: Winston-Salem, nc, USA.
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default Rather odd web-project

Hi, folks!
             I'm trying to implement something here, and would greatly appreciate any suggestions as to the most efficient way to handle it...

As a starting point, here's an excerpt of the HTML code so far:

<html>

<head>
<link rel="stylesheet" type="text/css" href="vvvvvvvv.css" />

<title> xxxxxxxxxxxxxxxxxxxxx</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="refresh" content="5" />

</head>

<body>
<h1> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</h1>

<h2>
<script type="text/javascript">
{
if ([[1]])
{
document.writeln('<a Style=color:"[[0]]" href="http://192.168.0.10/remote/default.htm"> [[15]] </a><br>')
}
if ([[2]])
{
document.writeln('<a Style=color:"[[0]]" href="http://192.168.0.20/remote/default.htm"> [[20]] </a><br>')
}
}
</script>
</h2>
</body>
</html>

Now... the "[[1]], [[2]]" things get replaced by values of variables in the device that hosts this page. What I'm trying to do, in addition to what's already here, is to provide, for each of the above links, and additional link that maps to a SQL Query, passing the text from the original link to the query, in order to extract the records that match that value....

To make matters more complicated, the web-server in this little device is a pretty low-horsepower server, so the less work done on that side, the better.

Anybody have any suggestions as to how I might approach this, or whether there's a better place to ask ?

      Thanks LOADS for any advice you guys/gals can offer,
  Joe

JP
__________________
JP




Similar Threads
Thread Thread Starter Forum Replies Last Post
TBH converted from web project to web app. htorres BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 August 25th, 2008 12:44 AM
Website project vs Web Application Project... thenoseknows ASP.NET 2.0 Professional 0 January 14th, 2007 09:47 PM
Odd attributes on Web- and Html Controls jacob ASP.NET 1.0 and 1.1 Professional 4 November 6th, 2005 07:24 AM
couldn't creating a new Web project kemin VS.NET 2002/2003 2 March 27th, 2004 11:20 PM
Web Mail Project sidneyfuerte Classic ASP Basics 7 November 2nd, 2003 02:51 AM





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