CSS Selector Problem
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
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
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