|
if using the ActiveX. Does it makes the brower to warn the web user?
|
|
|
|
|
doin a lil game kinda thing and gotta get the pass correct.so i got the source of the jscript but cant figure out what the pass is. i tryed 2018 and 3/13/18 but it aint workin. i think im not fully understanding what this js means so could someone gimme a hand
a = prompt("Please enter password!","");
date = new Date();
year = date.getYear();
b = year+12;
if(a == b){
alert("Good job! You got it!");
window.location.href=year+".php";
}
else
{
alert("Try it again!");
}
|
|
|
|
|
Isn't the point of the game that you should figure it out yourself? If you get other people to solve it for you, do you deserve the credit for cracking the game?
This level is really easy. I have already found two ways of getting to the next level. If you can't manage this one, you are probably totally clueless on later levels...
If you don't understand the code, go and get the knowledge. There is heaps of documentation available on the net. Look up the code that you don't fully understand, and perhaps also the code that you think that you understand...
---
b { font-weight: normal; }
|
|
|
|
|
Try 18 instead of 2018...
getFullYear() returns the full year I believe whereas getYear() only returns the last two digits.
It's been a while since I've done anything Javascript, so double check to be sure
For real though, like previously said, you gotta start doing some homework, cuz this question was to trivial to ask in a public forum such as here.
Cheers
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
I have this page
<html xmlns="http://www.w3.org/1999/xhtml" >
<body>
<form id="form1" runat="server">
<div id="content">
<div id="top">
<div id="topLeft"><img src="images/logo2.gif" /> </div>
<div id="topRight">top right</div>
</div>
<div id="left">left</div>
<div id="right">right</div>
</div>
</form>
</body>
</html>
Inside of the "top" layer, how do I align the two layers "topLef" and "topRight" horizontally?
What do I put in the style sheet?
#topLeft
{
}
#top
{
text-align: left;
}
#topRight
{
}
??
/\ |_ E X E GG
-- modified at 17:40 Monday 13th March, 2006
|
|
|
|
|
Hi
I have set up a search with asp to connect to an index server catalog. But it is only finding asp, ppt, doc, and pdf files. I am getting no results for html and shtml. Is there something I am missing, or something that needs to be done at the server level.
Any help is appreciated.
this is my code:
<%
Dim strQuery ' The text of our query
Dim objQuery ' The index server query object
Dim rstResults ' A recordset of results returned from I.S.
Dim objField ' Field object for loop
' Retreive the query from the querystring
strQuery = Request.QueryString("query")
' If the query isn't blank them proceed
If strQuery <> "" Then
' Create our index server object
Set objQuery = Server.CreateObject("IXSSO.Query")
' Set it's properties
With objQuery
.Catalog = "d:\users\emondh\IndexServer" ' Catalog to query
.MaxRecords = 100 ' Max # of records to return
.SortBy = "rank [d]"
.Columns = "filename, path, vpath, " _
& "characterization, DocTitle, " _
& " rank, hitcount"
' Build our Query: Hide admin page and FPSE pages
strQuery = "(" & strQuery & ")" _
& " AND NOT #filename = *admin*" _
& " AND NOT #path *\_vti_*"
' Uncomment to only look for files modified last 5 days
'strQuery = strQuery & " AND @write > -5d"
.Query = strQuery ' Query text
End With
' To set more complex scopes we use the utility object.
' You can call AddScopeToQuery as many times as you need to.
' Shallow includes just files in that folder. Deep includes
' subfolders as well.
'
'Dim objUtility
'Set objUtility = Server.CreateObject("IXSSO.Util")
'objUtility.AddScopeToQuery objQuery, "d:\users\emondh\indexserver", "deep"
'objUtility.AddScopeToQuery objQuery, "d:\users\emondh\indexserver\content", "deep"
'Set objUtility = Nothing
' Get a recordset of our results back from Index Server
Set rstResults = objQuery.CreateRecordset("nonsequential")
' Get rid of our Query object
Set objQuery = Nothing
' Check for no records
If rstResults.EOF Then
Response.Write "Sorry. No results found."
Else
' Print out # of results
Response.Write ""
Response.Write rstResults.RecordCount
Response.Write " results found: "
' Loop through results
Do While Not rstResults.EOF
' Loop through Fields
' Pretty is as pretty does... good enough:
%>
<% If rstResults.Fields("doctitle") = "" Then %>
"><%= PathToVpath(rstResults.Fields("path")) %>
<% Else %>
"><%= rstResults.Fields("doctitle") %>
<% End If %>
<%= rstResults.Fields("characterization") %>
<%
' Move to next result
rstResults.MoveNext
Loop
rstResults.MoveFirst
Response.Write "
"
'Response.Write rstResults.GetString()
Response.Write " "
End If
' Kill our recordset object
Set rstResults = Nothing
End If
%>
<%
Function PathToVpath(strPath)
Const strWebRoot = "d:\users\emondh\html\"
Dim strTemp
strTemp = strPath
strTemp = Replace(strTemp, strWebRoot, "\")
strTemp = Replace(strTemp, "\", "/")
PathToVpath = strTemp
End Function
%>
|
|
|
|
|
|
i have to integrate GPS device and google earth so that when device gives longitude and latitude of a location then google earth should display the location specified by longitude and latitude of GPS device.desparately waiting for a reply.
|
|
|
|
|
|
what interface google earth gives for integration.i mean to which interface of google earth i can integrate the GPS device.waiting for ur reply.
|
|
|
|
|
|
Hi,
Could anyone recommend a book on Design Patterns
covering all major aspects.
Thanks
Best of Luck
|
|
|
|
|
|
http://en.wikipedia.org/wiki/
Click on the link and you will get all the stuffs related to Software Architect or Design Pattern
Aftar Khan
|
|
|
|
|
|
Hi,
Can anyone tell me how to generate a letter automatically in ASP.Net? I need to fill in the date and employee name for each letter that is generated. The content of the letter will be the same for all employees. The letter template is a word document.
thanks in advance,
Krish
|
|
|
|
|
If your users have Word2003, you can use native Word XML.
In Word, save your template in xml with the name template.aspx. Add the file to the project, scriplet-it so that fields became value expressions (something like <%=emplName%>).
Set content type to "application/msword" and the content-disposition to "attachment; filename='letter.doc'"
hope this helps
----------------------
!happy coding!
|
|
|
|
|
The text of the letter contained some parameters coming from the screen and others coming from the database.
How do I pass all the parameters to the template? Can you suggest some websites links as am new to xml and scripting.
thanks in advance
Krish
-- modified at 0:41 Thursday 16th March, 2006
|
|
|
|
|
I have written a client side script favoring phonetic typing in devanagari script. find same at:
http://www30.websamba.com/omkarjoshi
You need to have a unicode support font like mangal, which is available on the net as free downlods to view the unicode context.
It works fine with IE but with firefox I cant modify a keycode of the event.
Javascript console gives error at following code in firefox:
evtobj.keyCode = substitute_marathi(evtobj.keyCode)
error is:
Error: setting a property that has only a getter
Source File: <file>
Line: 732
How can I modify a keycode in case of firefox?
regards,
Omkar
|
|
|
|
|
omkar joshi wrote: How can I modify a keycode in case of firefox?
I don't think you can, but you can create a custom key event and send that:
var newEvtObj = document.createEvent('KeyEvents');
newEvtObj.initKeyEvent( 'keyup', true, true, window, false, false, false, false, substitute_marathi(evtobj.keyCode), 0 );
textArea.dispatchEvent(newEvtObj);
You'll need to make sure you don't capture and re-send your custom event, of course.
|
|
|
|
|
document.createEvent is not supported in my browser
(Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7)
Error: document.CreateEvent is not a function
Source File: file:index.html
Line: 736
I hope this should have worked, what is the issue then? I did find same type of codes on net but cantr figure out why its not working
Should I add eventListener prior to this so that It will recognize the createEvent function?
-Omkar
|
|
|
|
|
omkar joshi wrote: Error: document.CreateEvent is not a function
Lower-case 'c'?
|
|
|
|
|
what is the function in javascript thats make each character in each word in the sentence capital letter?
Militiaware
Faris Madi
|
|
|
|
|
It's not a function, is a method of the string class.
caps = str.toUpperCase()
---
b { font-weight: normal; }
|
|
|
|
|
this method will make the whole sentence to uppercase.
what i want it to make the first letter in each word uppercase?
Militiaware
Faris Madi
|
|
|
|