Colour Selector
I am looking for a way to display a colour selector so that a user can choose a colour.
Exactly like the font colour selector in this text editor. Where the user would click the dropdown box
and see the colours. There may be multiple ones on a page, and I want to store the value to use after
View Replies
I have the following html structure
<div>
<ul>
<li>
<a href="...">I'm a level 1 link</a>
<ul>
<li>
<a href="...">I'm a level 2 link</a>
<li>
</ul>
</li>
</ul>
</div>
I want to have a web application that allows the end user to build up their
style sheet by selecting colours etc and seeing what affect this has on the
above html.
So, someone might want level 1 links to appear one way and level 2 links to
appear another.
How this happens is as follows:
They select a colour for each and these values get sent to the page
containing the above html as parameters within the request object. Code:
View Replies
View Related
Could someone help extend this ChangeImage function to also display a different hyperlink underneath the newly selected image?
<script language="javascript">
<!--
/*Combo Box Image Selector:
By JavaScript Kit (www.javascriptkit.com)
Over 200+ free JavaScript here!
*/
function showimage()
{
if (!document.images)
return
document.images.pictures.src=
document.username.u_BrokerID.options[document.username.u_BrokerID.selectedIn
dex].value
}
//-->
</script>
<form name="username" method=post action="join_step4.asp" onSubmit="return
CheckForm();">
<SELECT NAME='u_BrokerID' size='1' onChange='showimage()'><OPTION
VALUE='0'>--Select a Broker--</OPTION><option
value="/catamaranco/images/brokers/john_2.jpg">John Anderson</option><option
value="http://www.catamaranco.com/images/brokers/staley_2.jpg">Staley
Weidman </option>
<input type=submit value=submit>
</form>
<br><br>
<a href="Site1.asp">Change this url depending on the value of the image
selected in the dropdown?</a>
View Replies
View Related
I am hoping a mixed ASP- Javascript programmer could help me with this scenario:
I have a list box populated with randomized records (NewID()) from a Broker (Salesperson) sql server table.
Each time the user selects one of the broker items I need to display a Image of the broker in the table cell next to it.
I have found a number of online js scripts that use the image selector route but I am unable to work out to populate the list item from the database AND at the same time utilize the JS...
Are there any coders who come across a solution like this. Here is an example of my ASP code populating the List box: .....
View Replies
View Related
I have problem to change colour of a product taken from the database. For your info, currently i'm doing my post graduate project on Online Shopping. One of the features that i must include in the project is changing colour of a selected product. The product has the motive on it and i have to change colour for both - the background and the motive of the product. i have tried many coding but it does not work. Can somebody please help me....?
View Replies
View Related
I'm trying to change the colour of the session("name") variable below, but not having any luck. I need the name to be a different colour than the "logged in as". Any suggestions? Code:
View Replies
View Related
I am not sure if this is possible but is there a way to change the color of a datagrid cell when a condition is met? For example, let's say if percent_changed >10 then change cell color to orange if percent_changed >25 then change cell color to red.
View Replies
View Related
I have a form which I'm trying to get the writing to change colour after 48 hours and then 336 hours. Fields that need to change:
InstallationDate - compare the SignedDate with the InstallationDate. If the InstallationDate is older than 48 hours then the text needs to change to red. InstallComplete - compare the SignedDate with the InstallComplete field. If the InstallComplete field is still not filled [null] after 48 hours of the signed date then the text needs to change to red.
View Replies
View Related
I want to change the font colour to red if a recordset value is 'high' but i dont know where to put the font tags, Heres what i got so far:
<td width="13%" align="center"><% if rs("priority") = "High" then response.write rs("priority")
else response.write rs("priority") %></td>
But where would i put the font tag and the colour, so it coloured the priorities marked as high red?
View Replies
View Related
What I would like is during the time the event actually occurs I want the field in the table to change colour and return to it's original colour when the time to expires.
I've written some ASP to do this, and it half works, but instead of colouring one event, it colours everything (because I use a repeat region i think). Code:
View Replies
View Related
What I would like is shown in the script below:
response.write rsuser("event_Day") & " "
response.write rsuser("event_Date") & " "
response.write rsuser("event_Month") & " " & " "
response.write rsuser("event_Year") & " " & " "
<font color="#990000">response.write rsuser("event_SoldOut")</font>
rsuser.movenext
I would like for the 5th response.write to be in a different font colour, but its not allowing me to do this.
View Replies
View Related