| hi, we build a dynamic website for offlinebrowsing, too. so
there is a problem with dropdown menues and we need it for
selection! mmmh. based on the solution of this thread
<http://forum.httrack.com/readmsg/8394/index.html?pid=8384&days=10000&js=1&lang=en>
i've do the following:
CFML CODE+++++++++++++++++++++++++++++++++++++++++++++++++++
<script type="text/javascript">
function goToPage(page) {
eval("parent.location." + page);
}
</script>
<select name="prod" onChange="goToPage(this.options
[selectedIndex].value);">
<option value="">Schnellauswahl</option>
<cfloop query="qry_artikelwahl2">
<option
value="href='index.cfm?mm=#url.mm#&mainkat=#mcID#'">#qry_artikelwahl2.mc_bezeichnun
g#</option>
</cfloop>
</select>
HTTRACK parse the option value because there is a href and
the JavaScript Function evaluate the href="*.cfm"
Thats the online Result:++++++++++++++++++++++++++++++++++++
<script type="text/javascript">
function goToPage(page) { eval("parent.location." + page); }
</script>
<select name="prod" onChange="goToPage(this.options
[selectedIndex].value);">
<option value="">Schnellauswahl</option>
<option value="href='index.cfm?mm=produkte&mainkat=6'">Atlantik</option>
<option value="href='index.cfm?mm=produkte&mainkat=4'">Bügel</option>
<option value="href='index.cfm?mm=produkte&mainkat=1'">Haushalt</option>
</select>
And the OFFLINE PAGE:+++++++++++++++++++++++++++++++++++++++
<script type="text/javascript">
function goToPage(page) { eval("parent.location." + page); }
</script>
<select name="prod" onChange="goToPage(this.options
[selectedIndex].value);">
<option value="">Schnellauswahl</option>
<option value="href='index6a9.htm'">Atlantik</option>
<option value="href='indexbb2.htm'">Bügel</option>
<option value="href='index487.htm'">Haushalt</option>
<option value="href='indexc45.htm'">Sanitär</option>
<option value="href='index5f4.htm'">Tücher</option>
</select>
OK, i hope it will help you and maybe you have a
suggestion...
thanks for the best offline browser!!!
best wishes
marcus
| |