|
Can't you just pray for the site to go down?
|
|
|
|
|
Looks like Kyle got a daypass out of the mental ward...
_____________________________________________
Flea Market! It's just like...it's just like...A MINI-MALL!
|
|
|
|
|
|
All u need is the administrator password of the web server. After that go to the web page root folder, delete some files or replace them with ur own one.
Its really really simple you know!!!!!!!!!
Sorry i cant laugh my heart out on this post.
|
|
|
|
|
Hi,
I hope this is the correct forum to post in.
The block of code retrieves image thumbnails (via GUIDs) from a database and displays them using a Javascript function. All the thumbnails are one size.
Is there a way in classic ASP to somehow resize the image once it is retrieved from the database? i basically want the thumbnails to appear larger and i am not concerned about pixelation.
<br />
<%<br />
dim rsMaxImagePosition <br />
strSQL = "select MAX(imgPosition) as MaxImgPosition from tblImageRotate"<br />
set rsMaxImagePosition = emSQLGetStaticReadOnlyRS(strSQL, Application("strDSN"))<br />
<br />
dim rsImageRotate<br />
dim i<br />
for i = 1 to rsMaxImagePosition("MaxImgPosition") <br />
strSQL = "SELECT tblImageRotate.fldImagesID, tblImageRotate.imgPosition, tblImages.fldImageGUID " & _<br />
"from tblImageRotate, tblImages " & _<br />
"where tblImageRotate.fldImagesID = tblImages.fldImagesID " & _<br />
"and tblImageRotate.imgPosition = " & i<br />
set rsImageRotate = emSQLGetStaticReadOnlyRS(strSQL, Application("strDSN"))<br />
<br />
response.Write "var fadeimages" & i & "=new Array()" & VBCRlf <br />
dim x<br />
x = 0<br />
while not rsImageRotate.eof<br />
response.Write "fadeimages" & i & "[" & x & "]=['/images/thumbnail/" & server.urlencode(rsImageRotate("fldImageGUID")) & "', '/searchresults.asp?n=" & rsImageRotate("fldImagesID") & "&enlarge=1', '']" & VBCRlf<br />
x = x + 1<br />
rsImageRotate.movenext<br />
wend<br />
response.write VBCRlf<br />
next<br />
%>
Hope you can help.
-----------
Ben
|
|
|
|
|
Do it with javascript. There should be examples on the web.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
why xml soap is fast than any other data transport, like plain data instead of noeds data?
|
|
|
|
|
Guys,
I have a web application that uses "window.document.thisForm.submit()" to submit a form, it works fine with many machines, but in some machines it throws the user out to the main page. The event viewer has no errors, the configuration for IE is just the same as the other machines.
What could be the problem ??!!
Please advice.
ThaScorpion
|
|
|
|
|
what browsers are giving the problem?
|
|
|
|
|
IE 6.0.2900.2180 xp SP2
ThaScorpion
|
|
|
|
|
Guys, any help with this ?
ThaScorpion
|
|
|
|
|
Here's a possibility: The form got submitted and the browser automatically throws the user back to the main page after submitting. Maybe some setting in the browser that does that? Compare browser settings.
|
|
|
|
|
Hello Everyone,
I have a image i want a new image as i mouse over my old image
Thnx & Regards
Your Friends
|
|
|
|
|
create onmouseout and onmouseover events calling seperate javascript functions for the image and give the image a unique name
in the scripts replacre the image like this
document.name.src = desired_imsge.gif
|
|
|
|
|
Hey guys,
I have been toying around with the idea of writing a website creation program geared to novice computer users. I have googled it and I can't find anything helpful in regards to how to structure the program or writing code generation. Can anybody point me in the right direction?
may your code be error free
|
|
|
|
|
That's relatively simple to do if you want to keep the generated site simple, but it gets complicated with each option you add. Lets say you want a script to ask the user for the site title, background color, and content. Then you probably want to have 3 <input type="text">, one for each option. The user fills them out, then clicks some sort of submit button, and then you would do something like this in Javascript:
function generatesite(){
var title=document.titlebox.value;
var bgcolor=document.bgcolorbox.value;
var content=document.contentbox.value;
document.write("<html>
<head>
<title>"+title+"</title>
</head>
<body bgcolor=\""+bgcolor+"\">+
<p>"+content+"</p>
</body>
</html>");
}
Is that of any help? Or are you thinking of some other kind of website generator?
|
|
|
|
|
Yes that's sort of the idea.
What I want to do is create a Windows app that a novice user can drag and drop objects onto a design area and a html page will be written from that. The software would then assist them in FTP-ing those pages to a server.
I feel that I can convert to html fairly easy but the monster I see is these items:
Storing the html code behind the scenes:
How can I store the html code effeciently? Obviously I can't use a long string object because any time a change is made, a new string object is initialized internally.
Object distinction:
For instance, what if I have two identical graphics places in different places. If the user moves one image, how do I know what image they are refering to?
Do you get what I'm saying? I just can't find any code to help me.
Thanks for your help so far!
Richard
may you code be error free
|
|
|
|
|
I can help you with the first one. You don't need to store all the html code, you only need many variables like what I was doing in my first post.
As for your second question, I'm stumped. You should ask those Microsoft guys how they made FrontPage
|
|
|
|
|
I know of a tool called Xenu Link Checker which you have to install and then if you give a starting page of a website it would start crawling and report dead links. I was curious and was searching for some browser based utility which could do this trick, preferably open source, which we can download and use. Don't suggest me NetMechanic and other Remotely Hosted Solutions.
-- moved at 13:33 Tuesday 7th August, 2007
|
|
|
|
|
There are some online link checkers listed here.
|
|
|
|
|
|
Something like this? A Simple Crawler Using C# Sockets[^]
There is another one on CP, just cant find it right now...
With respect, I must disagree. A quick look at middle management in just about any corporation shows that the dodo not only survived, it's reproducing in record numbers. Christopher Duncan
|
|
|
|
|
Thank you, Douglas. It should be more thoughts into the link we discovered a couple of threads back (vide supra)
|
|
|
|
|
Hello,
I'm working on an ASP project. The client wants this site availabel in different language.
What is the best way to do it?
Do I have to create different pages for each language?
Regards,
Nilesh Hapse.
|
|
|
|
|
Resource files and satellite assemblies have one of thier utilities listed as this feature.
|
|
|
|