|
OK answering my own question:
Mime Types weren't set: application/player
|
|
|
|
|
hi,
how can i set different font(language) in my website.
do i need to install font in server..??
how.. plz explaine in detail..
site like: www.deepika.com This is a malayalam language site..
Plz ... help
Reply·Email·
|
|
|
|
|
Ha_80 wrote: how can i set different font(language) in my website.
do i need to install font in server..??
Wouldn't that involve just a simple Unicode use? Why do you still stick onto age-old font installations?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
I created an instance of a subclass within the parent's constructor. Now in my subclass function, I would like to get the properties of the parent class in my init function. When the subclass object was created, the group property did not exist. It was only after setGroup was called, that it got set. How do I get the property group from the parent class?
parent.prototype.setGroup = function(group) {
this.group = group;
}
function parent() {
this.name = "Melanie";
this.subclassobj = new subclass();
}
var test = new parent();
test.setGroup();
subclass.prototype = new parent;
function subclass {
this.color = "blue";
this.init();
}
subclass.prototype.init = function() {
alert(this.name);
}
I tried many different ways of accessing the group property in the parent but to no avail. Any ideas? Thanks!
modified on Thursday, March 5, 2009 8:48 PM
|
|
|
|
|
Hi all,
I am not a proffesional web developer but do know bits a pieces. I just need quick idea to start on the following task.
Task
I want to develop a web based form having few filed and a drop down menu. The drop down menu should allow user to select any particular server on the basis of which the form will get populate (bringing all the data from the dbo to fileds).
I know sql well so that part is easy.
Know html np in creating a form.
Question
Can any one please tell me whats the best way to do it? It will be great if you could send web link or any resource to show how it works, otherwise just explain a little.
Regards,
Sameer
|
|
|
|
|
SameerMughal wrote: Can any one please tell me whats the best way to do it?
Well the "best" way is to have a professional developer do the work. Given your post I don't think that is the answer you are looking for.
As stated above this is not the "best" way, it is just one way.
1) Query the database to get the list of servers and use the results to populate the drop down menu.
2) On the click event of the menu item use the data associated to the clicked item to execute a filtered query of the database and populate the forum with the results.
|
|
|
|
|
thanks for the reply.
I know this part.
What I am looking for is which technology would I use and how? For example if I use JSP or PHP. just looking for a simple code sample for,
1. connectivity to ms sql
2. How to get value selected by the user - drop down menu - what option ? mayb in jscripts it would be doc.getElementByID(..).value ---------NOT sure
3. How to send the value to db ?
4. how to populate?
In other words I am looking for a hint of code that does it. It will be great if some could send me that.
Thanks
Sameer
|
|
|
|
|
SameerMughal wrote: just looking for a simple code sample for,
All of those things as code samples are all over the internet. Why come to forum and ask when there is a perfectly good search engine free for use called Google that will find them for you?
|
|
|
|
|
An example solution:
Make sure your web server supports php or asp.net
Try searching google for "Php ms sql tutorial" or "asp.net ms sql tutorial"
|
|
|
|
|
thanks. I have already found good tutorial let see how long it takes now.
Sameer
|
|
|
|
|
Hi all,
I have pdf help files in a SQL-DB that has to be displayed in a webpage. The code I wrote currently opens a blank page and only once you refresh the page does the pdf display
Anny sugjestions?
My code:
if (Request.QueryString["ID"] != null)
{
String ID = Request.QueryString["ID"];
Help.HelpFile objHelpFile = new Help.HelpFile(new Guid(ID));
Response.ClearContent();
Response.ContentType = "application/pdf";
Response.BinaryWrite(objHelpFile.Data);
Response.Flush();
Response.End();
}
|
|
|
|
|
WvdW wrote: Anny sugjestions?
I suggest you debug the application and see if anything obvious is occurring.
|
|
|
|
|
You may also want to use Mozilla Firefox with the Live HTTP Headers[^] to see if there's something missing or malformed in the initial response.
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
I think i had this a while back - was due to a missing "Content-Transfer-Encoding = binary" header if I remember correctly...
|
|
|
|
|
Please send me some helpful sites on php.
any kind of info on php
|
|
|
|
|
|
Here are some usefull PHP sites
www.phpbuddy.com
http://php.net
www.thenewboston.org
Sarfaraz
|
|
|
|
|
|
If you mean Parents Helping Parents, then HERE YOU GO[^]!
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
|
|
Good starter: http://www.php.net/[^] At least the printer-friendly manuals are awesome.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
Hi
I want to ask if there is a way to export html sting to word document with html formatting and word page break
Here is what I am trying to do
I am trying to export mail template written in html format and is customized with customers data to word document to be printed and send to them so I need each copy of mail to be on separate page
for now I can only export data to word but it is written as plain text with html tags
any help please
thank you
|
|
|
|
|
I have been assigned an intranet project at work and I am having a very hard time finding a way to make my alignment work across browsers. The alignment looks as expected in IE but terrible in Firefox or Chrome etc... I thought that one of you guys that do this all the time might have a easy explanation.
Here is my HTML
In advance I am sorry for the huge post but I have no idea what part is causing the problem...
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="frmTroubleTicket.aspx.vb" Inherits="FSIntranet._Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>First Step-Intranet</title>
<script type="text/javascript">
function sLostFocus(fld)
{
fld.className = 'normal';
}
function sGotFocus(fld)
{
fld.className = 'focus';
}
</script>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="frmTrouble" runat="server">
<table id="table1" border = "0">
<tr>
<td>
</td>
<td>
<img alt="First Step Logo" src="FS%20logo.JPG" width="35%" />
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
<p style="font-size:16px;">Click <a href="//10.10.10.2/training">HERE</a> for the Training
Folder</p></td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
<hr /></td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
<p class="bText">Experiencing
PC Problems ? Let us help...</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
Please fill out the following form detailing the problems you are experiencing.</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
<table>
<tr>
<td style="width:20%" style="text-align:right;">Your Name:</td>
<td style="text-align:left;">
<asp:TextBox ID="txtName" runat="server" Width="350px"></asp:TextBox>
</td>
</tr>
<tr>
<td colspan="2">
 
</td>
</tr>
<tr>
<td style="width:20%" style="text-align:right;">Your Location:</td>
<td style="text-align:left;">
<asp:TextBox ID="txtLocation" runat="server" Width="350px"></asp:TextBox>
</td>
</tr>
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td colspan="2">
Nature of PC Problem(s):
</td>
</tr>
<tr>
<td colspan="2">
<asp:TextBox ID="txtProblem" runat="server" Height="183px" TextMode="MultiLine"
Width="475px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="width:20%" style="text-align:right;">Email:</td>
<td style="text-align:left;">
<asp:TextBox ID="txtEmail" runat="server" Width="350px"></asp:TextBox>
</td>
</tr>
<tr>
<td colspan="2">
 
</td>
</tr>
<tr>
<td style="width:20%" style="text-align:right;">Phone Number:</td>
<td style="text-align:left;">
<asp:TextBox ID="txtPhone" runat="server" Width="350px"></asp:TextBox>
</td>
</tr>
<tr>
<td colspan="2">
 
</td>
</tr>
<tr>
<td colspan="2">
<asp:Button ID="btnSubmit" runat="server" Text="Submit" Width="120px"
Height="32px" />
 
<asp:Button ID="btnReset" runat="server" Text="Reset" Width="120px"
Height="32px" />
</td>
</tr>
</table>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
<hr /></td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
Copyright © 2009 First Step Inc.</td>
<td>
</td>
</tr>
</table>
</form>
</body>
</html>
|
|
|
|
|
I haven't tested your code, but it's a pretty safe bet to say that your layout relies on some of the rendering errors in IE to look as you expect. The page is actually rendered correctly in Firefox.
When building a cross browser layout you should build it for a browser that is not IE, after that you can tweak it to circumvent the rendering errors in IE.
So, I am afraid that the reason that the page doesn't look like you want in all the non-IE browsers is that the code simply is wrong, and there is no easy way around that.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|