6/7/2010 10:28:21 AM
 RobPrindle Posts: 20
|
TandemServer is great. Thanks for the fine product.
I wonder if there is a way to make the text that shows up on a standard HTML Content Control variable. Let's say that you have a set of promotions that change daily. The link might be: "10% Off and Free Shipping in May" and be linked to a page or PDF describing the promo. It would be nice if verbiage and maybe links could be read from a simple text file. That way the page wouldn't have to be opened, edited, then published each day.
I was going to post this in Feature Requests, but then realized that there may be a simple bit of ASP code that'd accomplish what I need. I know this could be done using a SQL database and a bunch of ASP code, but an hoping for a simple plugin.
|
|
permalink
|
6/7/2010 10:55:00 AM
 AlanG Posts: 257
|
This isn't possible with the current setup of Tandem Server but this is a good feature request so I'll put it on the table and see if it can get implemented sooner than later.
If you use a redirect url i.e. (Miscellaneous Tools > Redirect Urls) you would be able to change the url by just updating the redirect url - for the link text the only way you could do this now would be with javascript.
<a id="myLink"></a> <script type="text/javascript"> var myLink= document.getElementById("myLink"); var today=new Date(); switch(today.getMonth()) { case 4: myLink.innerHTML="10% Off and Free Shipping in May"; myLink.href="Discount10"; break; case 5: myLink.innerHTML="20% Off and Free overnight Shipping in June"; myLink.href="Discount20"; break; } </script>
|
|
permalink
|
6/7/2010 10:56:11 AM
 jmw Posts: 150
|
Since JQuery is now built into the last version of TS I would imagine you could do this using Javascript. I've not done anything like you are asking about but I have done some javascript that will change an image as you roll your cursor across another image. You can see that at http://www.thequiltranch.com. Go to the Broken Star quilts and you will see what I am talking about.
BTW, you could do this before JQuery was built into TS but now that it has been built into it it might be easier to do some things in Javascript.
|
|
permalink
|
Powered by
AspNetForum v.6.0.1.0
© 2006-2009 Jitbit Software