SunQuest
           Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementScripts

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old February 28th, 2005, 07:27 PM
EnSanity EnSanity is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 36 EnSanity User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 35 m 23 sec
Reputation Power: 6
Send a message via AIM to EnSanity
Task Problem

Hey everyone, I'm stuck with a small problem. For the past few days I have been trying to come up with something to solve an issue i have. I wish to send out cd's to clients and on the cd have a visual demo of my documentation system.

Task: Create a dynamic website that when you mouse over an image it brings up the correct documentation for that image.

Problem: Can't use PHP (because it has to be installed on localmachine)

So right now I have my system setup so that it auto generates the docs into individual text files (1 for each machine) or into one big XML file. What is the best way to go about doing this? It has to work on a localmachine with nothing too difficult to install. Thanks a million for your help -

Reply With Quote
  #2  
Old March 1st, 2005, 04:45 AM
voltaire's Avatar
voltaire voltaire is offline
Ninja philosophism
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Location: London, England
Posts: 435 voltaire User rank is Sergeant (500 - 2000 Reputation Level)voltaire User rank is Sergeant (500 - 2000 Reputation Level)voltaire User rank is Sergeant (500 - 2000 Reputation Level)voltaire User rank is Sergeant (500 - 2000 Reputation Level)voltaire User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Week 3 h 3 m 17 sec
Reputation Power: 21
this isn't supposed to be 'the' solution, mostly because it's not particularly good, but it's something to get you started, so that you can adapt it to suit your need or rule it out..

Code:
function getFilename(imgName)
{

	// do a proper lookup here based on image name to get the associated documentation file
	return lookedUpFileName; // c:\\temp\\testFile.txt

	
}

function displayDocumentation(imgName)
{
	document.all["documentation_frame"].src = getFilename(imgName);
}

</script>



<img src="img1.gif" onMouseOver="displayDocumentation(this.src)"/>
<img src="img2.gif" onMouseOver="displayDocumentation(this.src)"/>
<img src="img3.gif" onMouseOver="displayDocumentation(this.src)"/>
<img src="img4.gif" onMouseOver="displayDocumentation(this.src)"/>
<br/>
<iframe name="documentation_frame" src="blank.html"></iframe>


i wasn't really sure how you imagine "it brings up the correct documentation" would bring it up

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementScripts > Task Problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway