|
You can do it , but it makes no difference .
Like this :
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript" language="javascript">
function meta1()
{
var var1 = document.getElementsByTagName('head').item(0);
var1.innerHTML += '<meta http-equiv=
"Content-Type" content="text/html; charset=utf-8" />';
alert(var1.innerHTML);
}
</script>
</head>
<body>
<script type="text/javascript" language="javascript">meta1();</script>
</body>
</html>
|
|
|
|
|
Is it possible to embed a MPC into a html? If not, is there any other media player (that supports .flv)can be insert into a html?
Thanks
Merry X'mas.... ^_^
|
|
|
|
|
This is your duplicate post. Please check your previous post for answer.
|
|
|
|
|
You mean
<embed width="150" height="150" src="ALIMI.mp3"></embed>
|
|
|
|
|
Hi,
We have a website created using some templates in ASP.NET 1.1. and pages are manages using Kentico.
Earlier we have some url's having space(' ') in them we changed those space by underscore ('_') in those pages.
Lets suppose initially it was "www.xyz.com/abs pqr.aspx" and we changed it to "www.xyz.com/abs_pqr.aspx".
Now the problem is that it is showing same page on both the url's (with space and underscore), even search results on google shows url with old paths i.e. with Space between 2 words.
So on clicking on them correct page is opening but with wrong url. Ideally it should have to show that Page not found error. So now we have same page opening for 2 url's as follows in which second one doesn't exists.
"www.xyz.com/abs_pqr.aspx" (Current URL)
"www.xyz.com/abs pqr.aspx" (Old/Non-existent URL)
Can someone please tell me why this is happening, and what's solution for it.
Regards,
Parag
Regards,
Parag
|
|
|
|
|
|
Well Thanks for the response but it isn't helpful indeed.
|
|
|
|
|
Can you send URL's that are showing this behavior.
secondly, i need little more information from your side.
The code change of URL's was server sided or just a change in .aspx page(i.e. HTML)
Regards
Aman Bhullar
|
|
|
|
|
Hi Aman,
Here are the urls.
Wrong one: "http://www.nagarro.com/Technologies/Java%20Development.aspx"
Correct One: "http://www.nagarro.com/Technologies/Java_Development.aspx"
There wasn't code change I just changed the urlname as I am using Kentico to manage this site and there we can create many pages from one template and modify content easily depending on requirement.
Regards,
Parag
|
|
|
|
|
Hi
I don't have any idea about Kentico.
What my observations are as:
1. On the webserver, both the pages are residing(a_b.aspx and a b.aspx). Try deleting the pages with white spaces from the server. This will solve your problem.
2. Regarding the Pages in google, Both the pages have Meta tags. Till the Pages reside on the Hard of Server they will be displayed in Search results. Once you delete them, they will be automatically removed from Search, after a time interval. Mean time 404 error will be displayed
Try the solution, if problem presist please feel free to contact
|
|
|
|
|
Hi,
The problem is that on server we have only one page i.e. a_b.aspx and but it is showing both. The page a b.aspx have no existence.
If you compare source code for both the files then you will see that both are identical except the names.
Regards,
Parag
|
|
|
|
|
Hi parag
I talked to my team member regarding the Issue.
He told me that there are just two possiblites, one i have already suggested you.
Another is, since you are using Kentico.
I suppose you use the same tool to upload the code to server.
Now on you server there is a Redirect URL from your OLD to NEW.
This can be the issue. There is no third probablity.
Regards
Aman Bhullar
|
|
|
|
|
Hello. I am doing a CRM application where the end user browse a file, selects their csv file, and imports their contacts.
I have no problem reading the csv file, but I am having difficulty on assigning which column goes into which database field.
Will the end user have to map manually? And if so, anyone have any code out there for that or any other resources? Thansk.
Anyone have any ideas on this or possibly, is there a resource out there?
Thanks.
Anthony
c#, mysql, visual studio
|
|
|
|
|
I have a scrolling div that is -- overflow-y property of div set to "auto" ,
and i have capture mouse events of whole page to this div using setcapture()
problem is... this does not allow me to scroll this div as mousedown on scroll bar is also capture by div itself.
Pls help me to sort out this problem, i want to setcapture on div as well as scroll it.
Thanks in Advance
|
|
|
|
|
Hi...
If I updated some records in dataset table... How would I come to know which records are updated in that perticular dataset table..
Please tell me..
Thanks
Hemant Thaker
By:
Hemant Thaker
|
|
|
|
|
You can use the DataViewRowState to select the records which have been updated.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
HI...
I have one gridview and displaying records 10 per page... also showed page indexes...
Now once I click next page index it does not show me the next 10 records..
tell me the settings in properties..
Thanks
Hemant Thaker
By:
Hemant Thaker
|
|
|
|
|
Hi
You need to handle "PageIndexChanging" event of GridView.
In the Procedure write down
//GridRecords is Name of GridView Control
protected void GridRecords_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
GridRecords.PageIndex = e.NewPageIndex;
}
|
|
|
|
|
I have to add meta tag in aspx page by javascript at run time when page is load, it is possible.
Web Developer
|
|
|
|
|
shames(Sam) wrote: it is possible.
Great! I have always wanted to do that!
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
Don't know if it works in all browsers, but the following should do something:
meta = document.createElement('meta');
meta.name = "foo";
meta.content = "bar
document.getElementsByTagName('head').item(0).appendChild(meta);
|
|
|
|
|
Hi...
I am developing a web application through .Net 2008 (framework 3.5).
I have one crystal report in that , I get the crystal report loaded in crystal viewer, but when I export it or print it it gives me following error:
"Logon failed. Details: crdb_adoplus : Object reference not set to an instance of an object. Error in File C:\DOCUME~1\user\LOCALS~1\Temp\rptPayslipZIUS {DBB80325-B90D-4181-9AA3-FD44D878254D}.rpt: Unable to connect: incorrect log on parameters."
I suppose that this is because the page is posted back , once i click print or export button and once it comes back it does not find data source to bind itself...
What could be the solution for this..
Is there any property to be handled for it...
Please give me the solution
Thanks...
Hemant Thaker
By:
Hemant Thaker
|
|
|
|
|
|
hi all
what is the Progam that the developers used to build websites like yahoo and msn and google
thank's all
-*-*-*-*-*-*-*-*-*
To Be Or Not To Be
(KARFER)
-*-*-*-*-*-*-*-*-*
|
|
|
|
|
if you are good, notepad
Seriously, there are a multitude of progran=mming languages and development environments for developing websites, its a matter of choice (usually the client's, not yours!).
Bob
Ashfield Consultants Ltd
|
|
|
|