wisefool said:
> neil said:
>> On Tue, 20 Jan 2004 22:02:40 +0000, neil <> wrote:
>>
>>> Creating a diagram, you have various boxes connected up. When a user
>>> clicks on the box from the diagram it will take him/her to the
>>> description of that specific one.
>>>
>>> I was just wondering what would be the best way to create something
>>> like this, HTML? I was thinking HTML but what if the diagram is
>>> amended in the future, that may be a big hassle. Any suggestions?
>>>
>>> Preferabley will have web access and be able to use on the computer.
>>>
>>> Thanks!
>>
>>
>> Thanks wisefool for all that advice.
>>
>> I just found out that visio can convert into html, and link each box
>> using a url.
>>
>> Now I was just wondering would there be a more convenient way to link
>> them apart from creating over 50 HTML files? PHP & mySQL or would
>> there be another solution?
>
> What's the big deal with creating 50 files? I wouldn't bother with
> PHP and mySQL unless you are regularly creating loads of new
> HTML files over a period of time. I mean by all means use PHP
> and either mySQL or flat files, but don't learn PHP just for making
> 50 files.
If you want to make a load of repetitive changes to some HTML
output from some program, load one example HTML file (as
"Text Only"), macro record you making search & replace changes
to the file, and saving and closing the file, assign the macro
to a button, load all the files as Text Only, and keep clicking the
button until all the files are done.
Tip for making macro without having to know how to code
in Visual Basic:
When you record your macro, first of all search and replace ^p with
"~newline~". If you do this you can then use pattern matching (aka
wild cards) in subsequent searches -- wildcards don't work across
line boundaries in Word 97 at least. Record your searches and
replaces (can use wild cards below), and then do a search and
replace back from "~newline~" to ^p. Finally save and close the
document and stop the macro recorder.
~
Examples of search wildcards
You can fine-tune a search by using any of the following wildcards. In the
Find or Replace dialog box, click More if you don't see the Use wildcards
check box. Then select the Use wildcards check box and type the wildcard and
any other text in the Find what box.
Tip For a quick way to enter a wildcard in the Find what box, click
Special and then click a wildcard.
To find Use this
wildcard
Examples
Any single character ? s?t finds "sat" and "set."
Any string of characters * s*d finds "sad" and "started."
One of the specified characters [ ] w[io]n finds "win" and "won."
Any single character in this range [-] [r-t]ight finds "right" and "sight."
Ranges must be in ascending order.
Any single character except the characters inside the brackets [!] m[!a]st
finds "mist" and "most," but not "mast."
Any single character except characters in the range inside the brackets
[!x-z] t[!a-m]ck finds "tock" and "tuck," but not "tack" or "tick."
Exactly n occurrences of the previous character or expression {n} fe{2}d
finds "feed" but not "fed."
At least n occurrences of the previous character or expression {n,} fe{1,}d
finds "fed" and "feed."
From n to m occurrences of the previous character or expression {n,m}
10{1,3} finds "10," "100," and "1000."
One or more occurrences of the previous character or expression @ lo@t finds
"lot" and "loot."
The beginning of a word < <(inter) finds "interesting" and "intercept," but
not "splintered."
The end of a word > (in)> finds "in" and "within," but not "interesting."
Notes
· You can use parentheses to group the wildcards and text and to indicate
the order of evaluation. For example, search for "<(pre)*(ed)>" to find
"presorted" and "prevented."
· To search for a character that's defined as a wildcard, type a backslash
(\) before the character. For example, search for "\?" to find a question
mark.
· You can use the \n wildcard to search for an expression and then replace
it with the rearranged expression. For example, type (Newton) (Christie) in
the Find what box and \2 \1 in the Replace with box. Word will find "Newton
Christie" and replace it with "Christie Newton."
~
>
>>
>> All I basically want is a seperate little table/window that gives the
>> description when you click on the box, if you know what I mean.
|