A Asp HTM Switch

currently i'm using a switch to toggle some html text on a homepage by the day of the week!

if WeekDayName(weekday(now)) = "Monday" then
Response.write""

does anyone know how i would do this for every visit instead, or page refresh i guess?

View Replies


ADVERTISEMENT

Button Work As A Switch

This is could be a noob question, but I don't know where to look for answer.
I wanted to create form with a button that checks a boolean value and computes depend on the value. At the end of the click, it should revert the boolean value. ie, if it's true, reverts to false. or the reverse....works like a switch

something like
protected bool myBool = true;
......
if(myBool){process 1....myBool = false;}elseprocess 2....myBool = true;}

Some how, it works on the first click. process1 got processed and boolean changed to false. But it doesn't work on the second click..the handler was never get called again.
What's the problem?.

View Replies View Related

Dynamically Switch Image

the HTTP_REFERRER variable is what I am looking for but I are unsure of how to apply it to my need. I have a site that needs to display an alternate header graphic if the user comes from a specific sponsors website, otherwise it would display a default image.

Can I read the HTTP_REFERRER and then set it to a global variable on my site to determine which header graphic will then be used throughout the remainder of the visit, and if so how?

View Replies View Related

Users Switch Of Cookies

Where can I find out what % of the world's surfers actually switch off cookies? - could anyone offer a rough "guesstimate" ? Would be useful as it relates to a web tracking project I'm working on. Also, anyone out there know of any articles about the rights and wrongs of using cookies and, as a developer, relying on your users to have them enabled?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved