[ic] styles in [page] tag

Christopher Wenham cwenham at synesmedia.com
Sun Apr 25 19:35:23 EDT 2004


On Sunday 25 April 2004 18:11, rbragg wrote:
> <td valign="top" class="myclass">
>    [page href=scan arg="
>    fi=products
>    st=db
>    co=1
>    sf=myfield
>    se=searchspec
>    nu=0
>    ml=1000
>    tf=sortfield
>    to=x
>    sp=myresultspage"
>    ]
>       blablabla
>    [/page]
> </td>
>
>
> The link always uses the style for:
> A:link, A:active, A:visited

 Try the [area] tag, which is identical to page except it doesn't add the 
anchor tag:

 <a class="myclass" href="[area href='scan' arg=|
	args go here
	|]">Blah blah blah</a>

> Also I need to set a scratch variabe when someone clicks on a link.

 Try using mv_click, like this:

[set my_stuff]
	[set my_scratch_variable] foo bar baz [/set]
[/set]

 <a href="[area href='scan' arg=|
 	... your args ...
	mv_click=my_stuff
	|]">Blah blah blah</a>


Regards,
-- 
Chris Wenham - Synesmedia, Inc.
http://www.synesmedia.com
516-620-4110 / 1-888-255-7573



More information about the interchange-users mailing list