|
Hai everybody,
I am a web programmer. Now I am doing one site, Its fully flash site. I want to fetch product detail from database by using PHP language. But I want to diplay those products as flash file.
My doubt is, can i write a php program for those function in flash file.
Please give me a solution for my doubt.
I am awaiting for the valuable answer from yours.
Thanks.
Manimegalai.R
|
|
|
|
|
Hai everyone,
Please give me idea for doing how to create dropdown menu on mouseover the text by using javascript.
Its very urgent to me for setting like this. Please give me idea
Manimegalai.R
|
|
|
|
|
lokk at this. it will be more helpfull to u
go menus in below site
www.dynamicdrive.com
Cheers
Ram
|
|
|
|
|
Thanks Ram, the site you had given is really helpful to me.
Thank you very much.
Manimegalai.R
|
|
|
|
|
its ok yaar. all the best for U
Cheers
Ram
|
|
|
|
|
Im trying to create a folder on a remote server (eg http://Server1/locatonX). any idea of how to check and creat a folder on this server. (I have full access)
Kind Regards
ONeil
|
|
|
|
|
#inclucde <direct.h>
_mkdir(argv[0]);
led mike
|
|
|
|
|
Thanks Mike. I forget to say that im developing with VB.net not C or C++. VB.net has a MkDir call method call- this works "MkDir("C:\Path")" but not this "MkDir("http://Server1/path")" doesnt work. how can i create a folder using the http path
|
|
|
|
|
You have to change the local path "http://Server1" to a physical path such as "D:\my_server". "Server.MapPath" will do this conversion:
physical_path = Server.MapPath("http://Server1")
Now, you can use MkDir to create the Path directory by concatenating "\Path" to the physical_path string and passing the result to MkDir.
Also, ASP.NET's user id, usually ASPNET, needs to have the permission to create a directory in the target directory. This may not be a good idea, however. You need to research the least riskiest approach.
George
|
|
|
|
|
I have a basic layout with one column on the left and the main content area on the right. The divs look like this:
<div id="ContentContainer">
<div id="SideBar">
</div>
<div id="ContentArea">
</div>
<div id="ContentFooter">
</div>
</div>
And the styles like:
#ContentContainer
{
background-image: url(../Images/Layout/column.jpg);
background-repeat: repeat-y;
width: 100%;
}
#SideBar
{
width: 160px;
float: left;
padding-top: 10px;
padding-bottom: 10px;
}
#ContentArea
{
padding: 5px;
margin-left: 162px;
background-color: White;
}
#ContentFooter
{
clear: both;
border-top: solid 1px black;
background-color: #E5E5E5;
width: 100%;
text-align: center;
font-size: x-small;
}
In IE it works fine, and it works perfectly in FireFox if I put a border around #ContentContainer. If I don't put the border #SideBar appears in the center of the screen on top of #ContentArea. What have I done wrong?
|
|
|
|
|
|
The problem was a Menu control in #MenuArea, which is located directly above #SideBar. Both div's were set to float: left and the lower one (#SideBar) got moved so there was room for the drop down menus. I took the float off #MenuArea and it works fine now. Odd problem though.
|
|
|
|
|
I want to show a showModalDialog()from one htm page. How do I create a modal Dialog without a Titlebar/close button in javascript
Cheers
Ram
|
|
|
|
|
Unfortunaltely you cannot.
The only way to simulate such a thing is by building a custom window with HTML, CSS and Javascript
|
|
|
|
|
Thanks Jason. But, can u tell me how to create a custom window. I need to open one dialog from html page. It need not show the IE image and "Microsoft Internet Explorer" in title Bar. Where can i get the code for that. I mean is there any site to give free source for this issue.
Cheers
Ram
|
|
|
|
|
Thanks Jason. But, can u tell me how to create a custom window. I need to open one dialog from html page. It need not show the IE image and "Microsoft Internet Explorer" in title Bar. Where can i get the code for that. I mean is there any site to give free source for this issue.
Cheers
Ram
|
|
|
|
|
i just want to use ctrl-c ,ctrl-v to copy & paste data from excel sheet to datagrid in webform. how i can use clipboard in web ?
jagmit
|
|
|
|
|
You can copy and paste to textboxes on the web no problem, your problem is that you are going to have to do it cell by cell...
|
|
|
|
|
hiiiiiii
i have placed a grid control on my webform ,i just want to copy data using ctrl-c from excel and want to put it on my datagrid using ctrl-v .
plz help me code it .
thanx
|
|
|
|
|
hiiiiiii
i have placed a grid control on my webform ,i just want to copy data using ctrl-c from excel and want to put it on my datagrid using ctrl-v .
plz help me code it .
thanx
jagmit
|
|
|
|
|
dear all myfriends out there
i am working automating outlook using javascript
my project writtin in c# for the .net framework 2.0 and the automation is done using javascript
as far as i know about the javascript code is that it run on teh client computer so i put the automation code there to got the outlook contacts of the client visiting the page the code working fine but with a wired behaviour that if one goes to the page he see his outlook contacts but the next one trying to visite the page seeing the first one's contacts !!!! not his own ...although i am clothing the application after quiting the javascript function
...simply i discoverd that i need to restart iis to clean that object created by javascript...
please ... any explaination about this wired behaivour...!!!!
here is mycode:
function getContacts(){
document.getElementById('MyContacts').value="";
var nameSpace;
var contactsFolder;
var itemNode;
var categoryNode;
//OUTLOOK FIELDS MIRROR..
var otlk_Fields = new Array(153);
otlk_Fields[0]="Class";
otlk_Fields[1]="Session";
otlk_Fields[2]="Parent";
otlk_Fields[3]="Actions";
otlk_Fields[4]="Attachments";
otlk_Fields[5]="BillingInformation";
otlk_Fields[6]="Body";
otlk_Fields[7]="Categories";
otlk_Fields[8]="Companies";
otlk_Fields[9]="ConversationIndex";
otlk_Fields[10]="ConversationTopic";
otlk_Fields[11]="CreationTime";
otlk_Fields[12]="EntryID";
otlk_Fields[13]="FormDescription";
otlk_Fields[14]="GetInspector";
otlk_Fields[15]="Importance";
otlk_Fields[16]="LastModificationTime";
otlk_Fields[17]="MessageClass";
otlk_Fields[18]="Mileage";
otlk_Fields[19]="NoAging";
otlk_Fields[20]="OutlookInternalVersion";
otlk_Fields[21]="OutlookVersion";
otlk_Fields[22]="Saved";
otlk_Fields[23]="Sensitivity";
otlk_Fields[24]="Size";
otlk_Fields[25]="Subject";
otlk_Fields[26]="UnRead";
otlk_Fields[27]="UserProperties";
otlk_Fields[28]="Account";
otlk_Fields[29]="Anniversary";
otlk_Fields[30]="AssistantName";
otlk_Fields[31]="AssistantTelephoneNumber";
otlk_Fields[32]="Birthday";
otlk_Fields[33]="Business2TelephoneNumber";
otlk_Fields[34]="BusinessAddress";
otlk_Fields[35]="BusinessAddressCity";
otlk_Fields[36]="BusinessAddressCountry";
otlk_Fields[37]="BusinessAddressPostalCode";
otlk_Fields[38]="BusinessAddressPostOfficeBox";
otlk_Fields[39]="BusinessAddressState";
otlk_Fields[40]="BusinessAddressStreet";
otlk_Fields[41]="BusinessFaxNumber";
otlk_Fields[42]="BusinessHomePage";
otlk_Fields[43]="BusinessTelephoneNumber";
otlk_Fields[44]="CallbackTelephoneNumber";
otlk_Fields[45]="CarTelephoneNumber";
otlk_Fields[46]="Children";
otlk_Fields[47]="CompanyAndFullName";
otlk_Fields[48]="CompanyLastFirstNoSpace";
otlk_Fields[49]="CompanyLastFirstSpaceOnly";
otlk_Fields[50]="CompanyMainTelephoneNumber";
otlk_Fields[51]="CompanyName";
otlk_Fields[52]="ComputerNetworkName";
otlk_Fields[53]="CustomerID" ;
otlk_Fields[54]="Department";
otlk_Fields[55]="Email1Address";
otlk_Fields[56]="Email1AddressType";
otlk_Fields[57]="Email1DisplayName";
otlk_Fields[58]="Email1EntryID";
otlk_Fields[59]="Email2Address";
otlk_Fields[60]="Email2AddressType";
otlk_Fields[61]="Email2DisplayName";
otlk_Fields[62]="Email2EntryID";
otlk_Fields[63]="Email3Address";
otlk_Fields[64]="Email3AddressType";
otlk_Fields[65]="Email3DisplayName";
otlk_Fields[66]="Email3EntryID";
otlk_Fields[67]="FileAs";
otlk_Fields[68]="FirstName";
otlk_Fields[69]="FTPSite";
otlk_Fields[70]="FullName";
otlk_Fields[71]="FullNameAndCompany";
otlk_Fields[72]="Gender";
otlk_Fields[73]="GovernmentIDNumber";
otlk_Fields[74]="Hobby";
otlk_Fields[75]="Home2TelephoneNumber";
otlk_Fields[76]="HomeAddress";
otlk_Fields[77]="HomeAddressCity";
otlk_Fields[78]="HomeAddressCountry";
otlk_Fields[79]="HomeAddressPostalCode";
otlk_Fields[80]="HomeAddressPostOfficeBox";
otlk_Fields[81]="HomeAddressState";
otlk_Fields[82]="HomeAddressStreet";
otlk_Fields[83]="HomeFaxNumber";
otlk_Fields[84]="HomeTelephoneNumber";
otlk_Fields[85]="Initials";
otlk_Fields[86]="InternetFreeBusyAddress";
otlk_Fields[87]="ISDNNumber";
otlk_Fields[88]="JobTitle";
otlk_Fields[89]="Journal";
otlk_Fields[90]="Language";
otlk_Fields[91]="LastFirstAndSuffix";
otlk_Fields[92]="LastFirstNoSpace";
otlk_Fields[93]="LastFirstNoSpaceCompany";
otlk_Fields[94]="LastFirstSpaceOnly";
otlk_Fields[95]="LastFirstSpaceOnlyCompany";
otlk_Fields[96]="LastName";
otlk_Fields[97]="LastNameAndFirstName";
otlk_Fields[98]="MailingAddress";
otlk_Fields[99]="MailingAddressCity";
otlk_Fields[100]="MailingAddressCountry";
otlk_Fields[101]="MailingAddressPostalCode";
otlk_Fields[102]="MailingAddressPostOfficeBox";
otlk_Fields[103]="MailingAddressState";
otlk_Fields[104]="MailingAddressStreet";
otlk_Fields[105]="ManagerName";
otlk_Fields[106]="MiddleName";
otlk_Fields[107]="MobileTelephoneNumber";
otlk_Fields[108]="NetMeetingAlias";
otlk_Fields[109]="NetMeetingServer";
otlk_Fields[110]="NickName";
otlk_Fields[111]="OfficeLocation";
otlk_Fields[112]="OrganizationalIDNumber";
otlk_Fields[113]="OtherAddress";
otlk_Fields[114]="OtherAddressCity";
otlk_Fields[115]="OtherAddressCountry";
otlk_Fields[116]="OtherAddressPostalCode";
otlk_Fields[117]="OtherAddressPostOfficeBox";
otlk_Fields[118]="OtherAddressState";
otlk_Fields[119]="OtherAddressStreet";
otlk_Fields[120]="OtherFaxNumber";
otlk_Fields[121]="OtherTelephoneNumber";
otlk_Fields[122]="PagerNumber";
otlk_Fields[123]="PersonalHomePage";
otlk_Fields[124]="PrimaryTelephoneNumber";
otlk_Fields[125]="Profession";
otlk_Fields[126]="RadioTelephoneNumber";
otlk_Fields[127]="ReferredBy";
otlk_Fields[128]="SelectedMailingAddress";
otlk_Fields[129]="Spouse";
otlk_Fields[130]="Suffix";
otlk_Fields[131]="TelexNumber";
otlk_Fields[132]="Title";
otlk_Fields[133]="TTYTDDTelephoneNumber";
otlk_Fields[134]="User1";
otlk_Fields[135]="User2";
otlk_Fields[136]="User3";
otlk_Fields[137]="User4";
otlk_Fields[138]="UserCertificate";
otlk_Fields[139]="WebPage";
otlk_Fields[140]="YomiCompanyName";
otlk_Fields[141]="YomiFirstName";
otlk_Fields[142]="YomiLastName";
otlk_Fields[143]="Links";
otlk_Fields[144]="ItemProperties";
otlk_Fields[145]="LastFirstNoSpaceAndSuffix";
otlk_Fields[146]="DownloadState";
otlk_Fields[147]="IMAddress";
otlk_Fields[148]="MarkForDownload";
otlk_Fields[149]="IsConflict";
otlk_Fields[150]="AutoResolvedWinner";
otlk_Fields[151]="Conflicts";
otlk_Fields[152]="HasPicture";
//xml initialization
var xmlDocument = new ActiveXObject('Microsoft.XMLDOM');
var root = xmlDocument.createElement('olkContacts');
xmlDocument.documentElement = root;
//set the main contacts category in document
categoryNode =xmlDocument.createElement('olkCategory');
categoryNode.setAttribute('Name','Contacts');
root.appendChild(categoryNode);
//create outlook instance
var outlookApp = new ActiveXObject('Outlook.Application','<%=Request.ServerVariables["remote_addr"].ToString()%>');
nameSpace = outlookApp.getNameSpace("MAPI");
nameSpace.Logon("","", false, false);
//getContacts
contactsFolder = nameSpace.GetDefaultFolder(10);
var items = contactsFolder.items.restrict('[MessageClass] = "IPM.Contact"');
for(var itemsCount=1;itemsCount<=items.count;itemsCount++){
itemNode =xmlDocument.createElement('olkContact');
for(var fm=1;fm<otlk_Fields.length;fm++){
var pName = "otlk_Fields[" + fm + "]";
try{
itemNode.setAttribute(otlk_Fields[fm],items(itemsCount)[evalpName)]);
categoryNode.appendChild(itemNode);
}
catch(e)
{
}
}
}
// categories
var folders = contactsFolder.folders;
for(var folderscount=1;folderscount<=folders.count;folderscount++){
//set the current category in document
categoryNode =xmlDocument.createElement('olkCategory');
categoryNode.setAttribute('Name',folders(folderscount).Name);
root.appendChild(categoryNode);
// get contact content for category
for(var foldersItemsCount=1;foldersItemsCount<=contactsFolder.folders(folderscount).items.count;foldersItemsCount++){
var subitems = contactsFolder.folders(folderscount).items.restrict('[MessageClass] = "IPM.Contact"');
itemNode =xmlDocument.createElement('olkContact');
for(var sfm=1;sfm var pSName = "otlk_Fields[" + sfm + "]";
try{
itemNode.setAttribute(otlk_Fields[sfm],subitems(foldersItemsCount)[eval(pSName)]);
categoryNode.appendChild(itemNode);
}
catch(e){
}
}
}
}
//make request not dangrous and set hidden field for server action
document.getElementById('MyContacts').value= xmlDocument.xml.replace(/(<)/g,"<").replace(/(>)/g,'>');
outlookApp.application.quit();
outlookApp.quit();
outlookApp=null;
}
A.Farouk
|
|
|
|
|
My application exports data in HTML. I would like to include a header with a logo (gif). I don't want any references to external image files. I want the image to be fully contained within the HTML file. Is this possible?
LA
|
|
|
|
|
|
There is. Read more about Data URIs. IE does not support them, though
|
|
|
|
|
I am having terrible troubles at work trying to insert a parameter from a FORM into the Datagrid SELECT statement in ASP. I have searched MSDN knowledgebase, read and used examples, and am still having troubles.
Some details: I'm using the drag and drop method of inserting data from Visual Studio 2005 Database Connections from the table. I am using SQL Server 2005 and Visual Studio 2005 with .NET 2.0. I can get the data to display in the datagrids STATICALLY, but I need them to display dynamically using a parameter passed from the FORM control.
Some example code:
http://www.campus.ncl.ac.uk/databases/dotnet/aspdotnet2.html[^]
The only thing I need is for the code to have a FORM to enter a string or data and a datagrid that uses that parameter from the FORM inserted in the SELECT statement of the datagrid.
-Jesse Myer
|
|
|
|