Ok, so... Im in the middle of putting together a gadget for windows sidebar and everything upto this point has gone very smoothly (although time consuming). Now I have run into a road block. I would like to avoid using php if at all possible... if I were to use php this is what the code would look like:
Code:
<?php
$cat = $_POST['category'];
$subcat = $_POST['category'];
include ('/resources/' . $cat . '/' . $subcat . '/index.html');
$cat;
$subcat;
?>
then just have the link manifest itself, unfortunately I have NO idea how to do this in javascript and as I am developing a windows "gadget" I would prefer to have it run completely locally.