Not sure if this is an asp question i think its more of an html question but not too sure how to change the font of the drop down list here is the code, any ideas on where i should but the <font> tag? Code:
I have a select list which get populated from com but i option value ALL is hard coded on the pageWhen any value is selcted from the list box and form is submitted pages refreshes with the value as selected in the drop down but if All is selected the page ref but All doesnot get selected.
What i would like to be able to do is have two listboxes side by side, one will have all of the main categories and the second will have all of the sub categories in it. I populate the first list by using this code:
Now what i would like to do is when the user double clicks say the second item on the list, the listbox next to it will display all of the items that are under the main category they just double clicked on
I have created a webpage with a form written in javascript for a user to enter information. Part of this form requires the user to type in information and then add it to a list, which is of the type <SELECT>. When the user submits the form, I want all the entries in the SELECT list to be entered into the database. If I use the command Request.Form("name"), where "name" is the name of the SELECT field, only the selected entry is retreived. I need to retreive all entries in the list. Does anyone know how I can do this?
I have a string that was populated from a listbox. Now I want to bring up the record again for edit and want the listbox to have those records selected ONLY. I am close I think. Currently, it selects all records.
<% HearingIssues = RS3(0) HI = Split(HearingIssues, ",", -1, 1)
For i = 0 to ubound(HI,1) sString = Instr(HearingIssues,HI(I)) if sString = 0 then %> <option value="<%= HI(I)%>"><%=HI(I) %></option> <% else %> <option value="<%= HI(I)%>" selected><%= HI(I) %></option> <% end if next
I have an old application ( pre-VB5) that I need to add a select/option list to. This is an edit program so the values for the form will be retrieved from a database. How do I set the value of the dropdown with the value from the database. The value in the database is either new, trial, maint., employee, beta, or null. I need to set the dropdrown to one of these values. An example of the select;
I have two list boxes . User can select multiple values from the lists. Is there a way I can force that the user can select from only one of the list boxes? Can I associate the radio button with the list so that as soon as user selects the radio button the other list box turns grey(not letting the user to select anything from that list).?
I need a piece of ASP code which will output the values in a select box no matter what their order. This is for re-arranging items in the database.
I have a page which displays al relevant rows from the database in a select box with a javascript function to move the items up and down in the box.
However, I then need an ASP output of the order of the box. Currently, when i request.form("ord"), I get the values "1,12,36,37,[etc]" but only in the order they are in when the first page loads. It does not re-arrange the items if they have been re-arranged using the javascript function.
One is a dropdown style that has options in it like : location,date,usage Second one is a select list that I filled with value from a vbscript that get all groups on my domain.
Third one is a list that gets automatically generated when user select an option from the first one I also got 2 input button that allows the user to move item from list 2 to list 3.
Now here's the deal I want a way, maybe a button, that would circle around all the options in list3 and insert each of them in my DB. Code:
I am trying to learn and use good DHTML concepts and code (assuming they are needed). My current issue concerns how to handle this situation.
I have a Select List box which displays values based on what value is selected in a dropdown list. For example, my dropdown list contains a class name, and the Select list contains all of the students who are registered for that class.
So what I would like to occur, is when the user changes the class from the dropdown box, the Select List is re-created displaying the students who are enrolled in that class.
I thought I could do this without having to reload the page (with DHTML) but here is my problem. Code:
how can I get different font size in the form method "select", "input" instructions working under ASP? because when I check with the browser is too big in the table.
I'd like to display sections of my site using non standard fonts. What i'd like to know is if there is any way of me being able to force a font to install that is stored on my web server, or can i make the client browser look at my font file before the page is displayed?
I need to generate a pdf file in classic asp script. It uses the arial font . But i need to change the font of the pdf file to Century Gothic. I am currently using fpdf.asp file to generate the pdf. Can anyone tell me how to change the font to Century? It would be pleasure if anyone could provide me the code for doing it.
I am printing my webpage on dotmatrix printer(Epson LQ 580). The page contains only text(no graphics). But it is printing so slowly. I guess this is the font problem. I am using Courier with 13 px and normal style.
How can i make it faster coz its a report generated from the database. So, it may contain many pages. Which font is good for fast printing?
i have created a login page which works great except it looks really ugly in IE. I am trying to make the text size smaller but i have tried everything and it doesnt work. below is my code:
How do u download the font from the client side if the page has to be displayed in the font I have specified. I want my application to have only courier new font and this should be downloaded at client if its not able to display the font I specified.
my problem is that i want to convert my web pages into Arabic. and for this I have already install Arabic font in my pc but the problem is that once i select that specific Arabic font the text is still written in English . Can u please suggest me some embedded Arabic fonts which are when selected will write Arabic rather than English.
how i can adjust the font and size for the display for the response write statement (code below) cos when it is shown on the test page, the font is big and i wish to reduce the size and font.
<% if Request.Cookies("Login") = "1" then Response.Redirect("default.asp") else Response.Write("Please login before accesing our site!")
end if
strFrom = CStr(Request.QueryString("from"))
if strFrom = "no_record" then Response.Write("No Record Found!") end if if strFrom = "logout" then Response.Write("Log Out Successful") end if %>
i would like to be able to increase font size globally, at the click of a mouse within a site. Does any one have the script basics for this. ie. how is a 2nd style sheet called etc
We are currently running IIS 6 on Windows Server 2003. I am looking for a font rendering component. It should take a typeface (Truetype) and print out the supplied text as a .GIF or .JPG It should work with traditional .ASP or .NET. I have looked at ServerObjects, Inc.
trying to hide zero values by changing the colour of the font, problem is it is still printing in a light grey colour? Code below but cant work out where it is going wrong
<td width="45"<% ThisNumber = FormatNumber((DriverPayments.Fields.Item("CarParkToDriver").Value), -1, -2, -2, -2) If ThisNumber > 0 then fontcolor="#000000" Else fontcolor="#ffffff" End if %>><font color="<%=fontcolor%>"><%= FormatNumber((DriverPayments.Fields.Item("CarParkToDriver").Value), -1, -2, -2, -2) %></font></td>
Im building an online shopping cart in ASP where users will place orders for various printed materials.
I need to have them build their product online from templates. Basically they will fill out a small form selecting the product style, Font and color to be printed in and the text they want printed.
Im trying to figure out a way to display a preview of what they are buying but the problem is the fonts that are offered. These are not web-safe fonts nor are they that common a font at all.
The fonts I need to support are:
Achen, Apex, Apex Condensed, Franklin Condensed, Gothic Fine Black, MisterEarl, Township, Township Thin, and Quixley.
Is there some component available that would allow me to pass a color, font and text to it and would generate a preview image on the fly?
I had a quick questions. I'm using asp to send out a text email. I was wondering if there's a way to change the font size of the text in the email that I sent out? This is what the body email code looks like:Code: