From: colorandsound on
I have designed a website for a souvenir shop whom already has an
account with yahoo. The layout of the site is a table with a few
iframes. One of the iframes is a submenu and another is the content
area. I am trying to streamline the design so that the submenu items
link to a single dynamic page and name the yahoo id variable only.

This is an example of the yahoo code in the content page:

<!--#ystore_catalog id="19thholeflag" field="image" format="html"
--></p>
<p><strong><!--#ystore_catalog id="19thholeflag" field="name"
--></strong></p><p>
<!--#ystore_catalog id="19thholeflag" field="caption" --></p><p>
<!--#ystore_catalog id="19thholeflag" field="code" --></p>
<p><strong>$<!--#ystore_catalog id="19thholeflag" field="price"
--></strong></p>
<form method="post" action="<!--#ystore_order id=19thholeflag -->"
target= "contentwindow">
<input type="submit" value="Order">
</form>

The above code places the image, name, caption, SKU code, price and
order button all corresponding to an entry in the yahoo store catalog.
Is there some way (through simple javascript or otherwise) to make the
string after the " <!--#ystore_catalog id= " a variable that i can name
when i link from the my submenu? This would obviously be the
difference between one page, and 600 pages.

thanks
Ben