|
High level, thank you very much
This code works to object tag? like wma, wmv, mp3, swf...
Regards
Jesus is Love! Tell to someone!
|
|
|
|
|
Off the top of my head, probably not (at least not without some wierd tricks), but feel free to try it and let us know how you get on
|
|
|
|
|
Howdy all?Am MARSHAX.I would like to be helped with a characters based code <preferably vb="" or="" java=""> that can search word/sentence across several html pages and list the result in most-similar-to-requested manner.Preferably a search limited to 7 words each with maximum of 13 characters and a search of upto 1000 pages.
One can get me thru eurodatacom2000@yahoo.co.uk.
-- modified at 7:23 Wednesday 29th November, 2006
|
|
|
|
|
Excuse my ignorance, but as a fairly newbie ASP.NET debugger, the caching is driving me insane. At seemingly random times, my changes just are not affected. I've even set Response.Expires to 0, but the old page before this is still being rendered.
I can't delete the temporary files because it says they're in use, and it really seems too much effort to go and do this all the time. What am I missing to end this trial?
|
|
|
|
|
To be honest it is more likely to be your browser caching things. Unless you have some cache directives used, then afaik asp.net will not cache your page.
Try the following:
Response.CacheControl = "no-cache";
Response.AddHeader("Pragma", "no-cache");
Response.Expires = -1;
But you could also add the following to the top of your aspx file:
<%@ OutputCache Location="None" VaryByParam="None" %>
Or you can achieve this programatically by doing:
Response.Cache.SetCacheability(HttpCacheability.NoCache);
HTH
|
|
|
|
|
I write the coding for mailing in my ASP page, which works fine if i upload it in a windows server.But it uploaded to Unix server it gives an error.As a think CDONTS is a windows componet it may not be work in Unix server.Is there any way to send mail in unix server from my asp page.
Plz Suggest.
DPM
|
|
|
|
|
ASP runs on unix???
Brad
Australian
By contacting your lawyer you negate the right to sue me.
|
|
|
|
|
I'm busy writing ASP.NET for OS X. One word: Mono.
|
|
|
|
|
hi all .. I was browsing the CodeProject looking for something then I get to the "user_reply.asp" Page and I found my self really interested in the preview button in the page specially that I'm not a good js Coder .. any way I found the button goes to the following function
function Preview() <br />
{<br />
if (Submitted) return false;<br />
PreviewWnd = open("","preview","toolbar=no,resizable=yes,scrollbars=yes,directories=no,menubar=no,width=400,height=300");<br />
document.MessageForm.action = "/script/comments/preview.asp";<br />
document.MessageForm.target = "preview";<br />
return true; <br />
}
three functions that I'm intersted in .. i know about "open" and "action" too .. but
1)how they are used here what is the scenario?? ..
2)does this code allready submits the form to the page "preview.asp"? or just change the forms action ?
3)and why set the "target" to preview ??
as being an ASP.net developper .. 4)is there a way to read "user_reply.asp" controls data in the server side code of "preview.asp" in order to construct the page according to user input ??
too many questions !!!
thanks in advance
|
|
|
|
|
Davids_Maguire wrote: 1)how they are used here what is the scenario?? ..
The script opens an empty popup window with the name "preview", sets the action of the form to the page to open, and sets the target to be the popup window. I assume that the function is called from an onsubmit event in a form tag, so that the form will be submitted to the popup window.
Davids_Maguire wrote: 2)does this code allready submits the form to the page "preview.asp"? or just change the forms action ?
The code itself does not submit the form.
Davids_Maguire wrote: 3)and why set the "target" to preview ??
Se my reply to question #1.
Davids_Maguire wrote: 4)is there a way to read "user_reply.asp" controls data in the server side code of "preview.asp" in order to construct the page according to user input ?
No, not exactly. You have access to the form data that was posted to the page, which is the data of the fields contained in the form that was posted. You don't have access to the controls themselves, or data from any controls outside that form.
---
b { font-weight: normal; }
|
|
|
|
|
Thanks so much .. really your answer was very useful .. can I have an example about how to access these fields Contained in the form ..
and thanks again for your cooperation
|
|
|
|
|
Al the posted values are in the Request.Form collection.
---
b { font-weight: normal; }
|
|
|
|
|
Hi all,
I am a newbe to the html/java scene. I am trying to build a website that shows paintings. I found a nice java popup mechanism called "lightbox" This obscures the screen and displays the chosen image over it. Hoever, my site uses frames and when I do that, the display is only relative to the current frame and not the entire screen. In the FAQ list for lightbox, there is someone with a solution to that, however I do not understand what he is doing there. As I see it, I should either het the javascript to run under the main window rather than in the current frame, or I need to be able to pass a reference to the top window to the java script. Could anyone help me in how to achieve something like that (as I said: I am an absolute novice in this area, but I do have a vast experience in programming in general and C/C++ specifically)
Thanks in advance,
William
|
|
|
|
|
Mind giving a link to the solution given by the other person?
Brad
Australian
By contacting your lawyer you negate the right to sue me.
|
|
|
|
|
Hi Brad,
I do not mind at all of course. The other guy's solution can be found at:
http://www.huddletogether.com/2006/01/10/lightbox-js-update/#comment-1638
Regards,
William
PS: I just checked this link: it does not directly point to the relevant comment; the comment I am referring to is comment #220 by Sean K.
William
|
|
|
|
|
Thanks, could you give me an example of your implementation of the script?
Brad
Australian
By contacting your lawyer you negate the right to sue me.
|
|
|
|
|
Brad,
Of course:
<HTML>
<head>
<title>Aquarel</title>
<script type="text/javascript" src="../script/lightbox.js"></script>
<link href="../styles/margo.css" rel="stylesheet" type="text/css" />
</head>
<body>
<a href="images/Boom.jpg" rel="lightbox" title="Boompie<BR>aquarel 2001"><img src="thumbnails/Boom.jpg" border=0 align="bottom"></a>
<a href="images/Brug.jpg" rel="lightbox" title="Brug in de mist<br>aquarel 1996"><img src="thumbnails/Brug.jpg" border=0 align="bottom"></a>
<a href="images/Landschap.jpg" rel="lightbox" title="Landschap<br>aquarel 1999"><img src="thumbnails/Landschap.jpg" border=0 align="bottom"></a>
<a href="images/Raam.jpg" rel="lightbox" title="Raam in Venetië<br>aquarel 2002"><img src="thumbnails/Raam.jpg" border=0 align="bottom"></a>
<a href="images/Schilderij I crop.jpg" rel="lightbox" title="Blauw<BR>Aquarel 2003 ca. 125x85"><img src="thumbnails/Schilderij I crop.jpg" border=0 align="bottom"></a>
<a href="images/Schilderij II crop.jpg" rel="lightbox" title="Rood<br>aquarel 2003"><img src="thumbnails/Schilderij II crop.jpg" border=0 align="bottom"></a>
<a href="images/Schilderij III crop.jpg" rel="lightbox" title="Engel<br>aquarel 2005<br>met 24kt bladgoud"><img src="thumbnails/Schilderij III crop.jpg" border=0 align="bottom"></a>
<a href="images/Straat.jpg" rel="lightbox" title="Straat in Venetië<br>aquarel 1990"><img src="thumbnails/Straat.jpg" border=0 align="bottom"></a>
</body>
</HTML>
In itself, this works just fine. The only problem is that this html file is within a frame (which is within another frame within yet another frame) and that the function of "lightbox" is only within the current frame, where I would like it work within the entire window and to center the image on the entire window.
Regards,
William
|
|
|
|
|
I am a little slow tonight.
From what I can see from that script (and im sure I missed something) is that you have a collection of flames that make up your page. You then have images that, when clicked, will show the full image.
Is this correct.
Please note that I'm not familiar with the Java product you said you were using earlier.
Brad
Australian
By contacting your lawyer you negate the right to sue me.
|
|
|
|
|
Brad,
You are absolutely right. What I am trying to do is to have page as follows:
+---------------------------------------------------------------------+
| header frame |
+---------+------------+---------------------------------+------------+
| | Menu frame | Main image and info frame | |
| blank | | | blank |
| frame | | | frame |
| | | | |
+---------+------------+---------------------------------+------------+
| footer frame (just to leave some space at the bottom) |
+---------------------------------------------------------------------+
All these frames remain the same, but for the main image and info frame. Based on selections from the menu buttons in the menu frame, I select different html pages in that frame. One of those is a page with a number of thumbnails on which the user may click. When he does that, I would like to show the full image pertaining to that thumbnail, using this lightbox mechanism. And again: it does work, but it only works in this main image frame whereas I would like it to work on the full window.
regards,
William
|
|
|
|
|
hmm.. Well I do not have an extensive knowledge of how lightbox works, are you able to specify a target for the image?
Can you please (if possible) give me a link to your current project so I can get a better feel for the implementation.
Brad
Australian
By contacting your lawyer you negate the right to sue me.
|
|
|
|
|
Brad,
Thanks for your reply. I unfortunately do not yet have anything of this all on-line, it still resides on my d: disk (which I cannot open to the outside world) I would be happy to send you a zipfile with the complete content 357 kb). If you would like me to do that, then please send me an email to: wim.engberts@centric.nl to which I can then reply with this zipfile.
Thanks in advance
William
|
|
|
|
|
Brad,
To be complete, I also give you the main "index.htm", from which the html that I just posted is called:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link href="Styles/Margo.css" rel="stylesheet" type="text/css" />
<title>Margo Engberts</title>
</head>
<frameset framespacing="0" border="0" frameborder="0" rows="2%,*,2%" name="MainFrame">
<Frame src="Blank.htm" noresize scrolling="No" />
<frameset framespacing="0" border="0" frameborder="0" cols="20%,*,20%">
<Frame src="blank.htm" noresize scrolling="No"/>
<frameset framespacing="0" border="0" frameborder="0" rows="22%,*">
<frame src="Margo.htm" name="TopFrame" noresize scrolling="No" />
<Frameset framespacing="0" border="1" frameborder="0" name="middenFrame" cols="25%,*">
<Frame src="Menu.htm" name="MenuFrame" noresize scrolling="No"/>
<Frame src="Home.htm" name="BodyFrame" noresize scrolling="Yes"/>
</Frameset>
</Frameset>
<Frame src="Blank.htm" noresize scrolling="No"/>
</frameset>
<Frame src="Blank.htm" noresize scrolling="No"/>
</Frameset>
</html>
The call to "Aquarel/index.htm (which I posted earlier) is done when the menu-item "Aquarel" is selected from menu.htm:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link href="Styles/Margo.css" rel="stylesheet" type="text/css" />
<title>Margo Engberts</title>
</head>
<body>
<!-- menubalk -->
<Center>
<TABLE class=inner cellSpacing=0 cellPadding=0 border=0>
<TR>
<TD class=navi colSpan=1>
<UL class=navi>
<LI><A title="Home"
href="Home.htm" target="BodyFrame">Home</A></LI>
<LI><A title="Biografie"
href="Biografie.htm" target="BodyFrame">Biografie</A></LI>
<LI><A title="Olieverf schilderijen"
href="Olieverf/Index.htm" target="BodyFrame">Olieverf</A></LI>
<LI><A title="Aquarellen"
href="Aquarel/Index.htm" target="BodyFrame">Aquarellen</A></LI>
<LI><A title="Links"
href="links.htm" target="BodyFrame">Links</A></LI>
<LI><A title="Kontakt"
href="Kontakt.htm" target="BodyFrame">Kontakt</A></LI>
</UL>
</TD>
</TR>
</table>
</Center>
</body>
</html>
Hope this will help.
Regards,
William
|
|
|
|
|
hi, i got the problem with updating my database via php
its like the new one doesnt change with the old one is there anything wrong with that?
$query = "UPDATE friends set lastname = @lastname where firstname = @firstname ";
$result = mysql_query($query) or die("query failed : ".mysql_error() );
|
|
|
|
|
Here is how that SQL statement should be structured:
$query = 'UPDATE friends SET lastname = "@lastname" WHERE firstname = "@firstname";';<br />
<br />
$result = mysql_query($query) or die("query failed : ".mysql_error() );
Also why have you used "@"? that is not a variable declaration from what I can remember.
Good on you for starting on PHP though.
Brad
Australian
By contacting your lawyer you negate the right to sue me.
|
|
|
|
|
when calling a url through xmlHttp repeatedly using setInterval
to perform some operation on database .But it is functioning correctly when setting a break point on the url page other wise it wont executing.
|
|
|
|