Click to See Complete Forum and Search --> : special effect


samma
01-22-2003, 02:47 PM
I have a flowchart that has 8 steps ( from begin to completion).
I created a link on each step on the flowchart using hotspot with dreamweaver.
So that now, you can click on any link to get the details of what action each step is supposed to accomplish.
My boss has just complicated things by asking us to put a "smart" code on each step in such that whenever you open up the flowchart, there will be a blinker or some sort of an image indicating the current status of the flowchart.
For instance, if the steps are "begin","Open", "In progress", "On hold", "40% complete", "freeze", "90% complete" and "complete", and we are currently on step7 which is "90% complete", we would like to see an ilumination or some special effect that either highlights or points to "90 complete" so that when someone opens the flowchart, the first thing they notice is the special effect highlighting or pointing to "90% complete" indicating where we are currently on the flowchart.
I used the example from this link to design the flowchart:
http://www.atgconsulting.com/gofetch.asp
If you go to this link, you can the map where each state has a link that can give you the list of schools in that state.
What I need now is to be able to get any of the steps on my map to light up indicating the current step or status
Is this even possible?

simflex
01-22-2003, 10:52 PM
hi Dave!
I very much appreciate your response.
First, I am currently using two asp pages with javascript embedded.
pageone called getmap.asp has the map that looks like the link I enclosed.
Then there is another page called details.asp which calls the getmap.asp.
When getmap.asp is called, it displays that map with the links in each step.
The page knows which step to call, I believe, because each step has a value for a field name on the database.
The fieldname is called code and the values range from "begin" to "completion"
For instance, on each coordinate point, there is a value associated with it.
So if you click on "begin", it searches the database for a value called begin associated with the field name called code.
If there is a value, it displays it and if there is none, it just displays "NONE".
Right now, we are currently on step 8 which is "90% complete".
We will like a code that will highlight that step.
Sorry for the babbling.
I would love to provide more clarity if you need me to.

simflex
01-23-2003, 07:42 PM
hi Dave!
I want to thank you again for trying to help.
What I got from you did not work.
Here is a snippet of the code.

<map NAME="projectStages">
<%
Sub WriteMapArea(sCoords, sStatecode)
Response.Write "<AREA SHAPE=""circle"" COORDS=""" & sCoords & """ HREF=""javascript:getprojects('" & sStateCode & "');"">" & vbCrlf
End Sub

WriteMapArea "281,77,85", "Request"
WriteMapArea "460,179,82", "Analysis"
WriteMapArea "453,311,90", "Assigned"
WriteMapArea "282,422,84", "Development"
WriteMapArea "106,321,84", "Testing"
WriteMapArea "109,179,82", "Complete"
%>
</map>

As you can see from this code, the flowchart called projectStages has the steps beginning from "Request" to "Complete" (this is the real code we are using.)
The field name from the db is called code.
I believe that the reason is not working is because each step is a part of the flowchart.
If you have had a moment to look at the link I enclosed in my last thread:
http://www.atgconsulting.com/gofetch.asp.
If there is a way to put any type of highlight on any of those states on the map then that will solve my prob lem.
When I used the code you suggested, the only thing that displayed was this portion:
Else
Response.Write "<img src=""prime_image.gif"" border=""0"">" & vbCrLf
End If