|
Gary R. Wheeler wrote:
Eternal gratitude ain't worth much if it breaks that easily.
Oh but it is. Some of the best things in life are the most fragile.
regards,
Paul Watson
Bluegrass
South Africa
Miszou wrote:
I have read the entire internet. on how boring his day was.
Crikey! ain't life grand?
|
|
|
|
|
The problem with regular expressions is that they don't have numerical checking. So basically you can't check for a number in the normal way. You could probably check using this sort of method:
([1-9]|([0-9]+[0-9]))([5-9][0-9])
I think that should work, but you'd have to try it. The other part, of course, is matching strings that DON'T have a certain word, in your case, the height tag. This took me ages to work out how to do, but I eventually worked it out. You have to use a "negative look-ahead match", which basically says, "match this character if it is NOT followed by the next string". So you basically specify what comes first, then use brackets to group together acceptable characters (in the following example, anything that isn't a triangle bracket), and INSIDE the brackets, you put a negative lookahead match, then close the brackets and put a + or *. This seems to work nicely. So the following regular expression should work in checking for an image tag that doesn't contain a height field. You'll have to run an additional search to find img tags that have a height field but are more than 150 in height.
<img(([^<>](?!height))*)>
replace with:
<$1>
This, unfortunately will invalidate tags that have height in an alternate context, for example, a tag like this:
<img src="http://heights.com/x.gif">
Regular expressions can be tricky to explain. Check out microsoft's site for more info, that's where I learned.
NATHAN RIDLEY
Web Application Developer
generalgherkin@yahoo.com
|
|
|
|
|
Hello all
I'm trying to add float numbers using javascript and it's not giving me the results as expected.
If anyone knows how to solve this problem, please help.
thanks
Hari.
|
|
|
|
|
Can you cite a couple of examples? Posting a code snippet that returns incorrect results would be helpful here.
"Some people are like Slinkies... not really good for anything, but you still can't help but smile when you see one tumble down the stairs."
|
|
|
|
|
hi guys ... i get this error when i put the following code in the application_onStart event of the globals.asa file ... the set application("objWORK_QUEUE_XSLT") = objXslt line causes the error ... anyone know the problem?
ERROR:
Response object, ASP 0185 (0x80020003)<br />
A default property was not found for the object.
CODE:
'cache xslts<br />
dim objXslDoc<br />
dim strFilePath<br />
dim objXslt<br />
<br />
set objXslDoc = createObject("Msxml2.FreeThreadedDOMDocument.4.0")<br />
objXslDoc.async = false<br />
strFilePath = server.mapPath("..\..\xml\workQueue.xslt")<br />
objXslDoc.load strFilePath<br />
set objXslt = createObject("Msxml2.XSLTemplate.4.0")<br />
objXslt.stylesheet = objXslDoc<br />
set application("objWORK_QUEUE_XSLT") = objXslt
|
|
|
|
|
Bit of a weird one. This might help[^]. Speaks of Application("myCompiledStylesheet").stylesheet = xslDoc; and
Application("myCompiledStylesheet") = Server.CreateObject<br />
("MSXML2.XSLTemplate");
regards,
Paul Watson
Bluegrass
South Africa
Miszou wrote:
I have read the entire internet. on how boring his day was.
Crikey! ain't life grand?
|
|
|
|
|
I looking for a host that has Dundas Upload and Mail companant installed on there servers. If any one has some suggestions that would be great. You can email me a @ dax@daxtv.com
|
|
|
|
|
Hi,
I have a .htm file which has a jpeg bitmap displayed in it, using the tag.
Since my jpeg file keeps changing after some few seconds, i keep refreshing my htm page. This results in flickering when the image is loaded again.
Any solutions?
peenu.
|
|
|
|
|
Yes, don't use a JPEG. Rather use an animated GIF if the image is small or use Flash for larger animations.
If that is not helpful then please explain what you are trying to achieve and we can help more
regards,
Paul
Bluegrass
South Africa
Ravi Bhavnani wrote:
it's sold on EBay and shipped from China (on how to inspire confidence in your product)
Crikey! ain't life grand?
|
|
|
|
|
I'm very new into this field - so may be someone can help me
1) How I can receive html page from internet (this part I know but if you know some tricks..)
2) Edit this with mshtml Document
3) Show changed document again
You see - the problem is that I searched the MSDN and fins a lot of topics how to edit and how to receive page from the insternet but the question is: if I edit the mshtml document How I can see the changes ??
"I have not failed.
I've just found 10,000 ways that won't work."
- Thomas Alva Edison (1847-1931)
|
|
|
|
|
I presume this is JScript running on the client and not ASP written in JScript on the server?
If the client makes a Server.createobject call, the object is presumed to be on the client.
Is this ATL object on the client-side?
Cheers,
Simon
sig :: "Don't try to be like Jackie. There is only one Jackie.... Study computers instead.", Jackie Chan on career choices.
article :: animation mechanics in SVG picture :: my first abstract photo
|
|
|
|
|
Do you know how i can make a plugin for internet explorer or at least give me some resources or docs. I can't find any good reference for the internet explorer API. I think i need to learn some more about COM or ActiveX but I'm not sure what. I need to know how to make a plugin for IE so I can browse a remote filesystem through an ActiveSync connection.
thanx.
|
|
|
|
|
Hi Guys,
What i'm not sure is that if i want to have a personal page for every member signed up under via my website. for example if my web site is www.abc.com and one fine day a new member join, and then my web site should take that member to his own personal web site for example at www.abc.com/new_member. so how can i do this ? do i have to create a virtual directory for each member joins ? and how can i take show each members name on all the pages coming from the members page i mean from www.abc.com/new_member, and when the member click a link from this page say he/she clicked on Shopping Cart, then on the www.abc.com/shoppingcart.aspx, there should be showed the name of the members from where the link was cicked ? should i use session for this ? please advise, any help would be good ? by the way will only using ASP.NET nad SQL Server would be sufficient to develop a web application with good performance ? just a wild question ? anyway pls. help me on the first 2 issues...
TQ
Regards
lapoorpo
lapoorpo
|
|
|
|
|
I think a good approach would be to use sessions. When a user logs in, you can create a new session for this user, and this will be valid till he logs out. Creating virtual folders for every user is not recommended, unless otherwise, you are going for web-hosting. A better way would be to store his information in your datbase, and use some templates or XSLTs to generate the page dynamically.
"A robust program is resistant to errors -- it either works correctly, or it does not work at all; whereas a fault tolerant program must actually recover from errors."
|
|
|
|
|
I'm looking for someone that has experience with a list serv product. There are so many...
|
|
|
|
|
Hi !
I work in internet explorer 5.5. and I need to run a program in a intranet with parametres (clicking a text link in a web page).
Have you any idea about it?
Thanks in advance
Joan
jvidal@mail.bcn.es
|
|
|
|
|
try using the file protocol( file://...).
"A robust program is resistant to errors -- it either works correctly, or it does not work at all; whereas a fault tolerant program must actually recover from errors."
|
|
|
|
|
Hello all
I've an .asp page on the server which responds with a html page whenever anybody posts data to it. I'm posting data from a IFRAME. The html page that .asp page on server gives in reponse contains code to modify the parent window's variables. This html page is trying to modify the parent window's vairables on load.
The problem is whenever I'm posting data when the asp page gives the html page in reponse I'm getting "Permission denied " ERROR and it's not modifying the parent window's variable as I desired. I'm using IIS and javascript.
Can anybody help me in resolving the error?
Many thanks for your help.
Hari.
|
|
|
|
|
The parent windows variables can only be modified by another page which is thrown from the same server. Ensure this as to whether the iframe and parent frame are loaded from the same server( need to not be the same URL ).
"A robust program is resistant to errors -- it either works correctly, or it does not work at all; whereas a fault tolerant program must actually recover from errors."
|
|
|
|
|
Hi!
I have a problem of displaying the image backgound of a table and I would like to ask for help from you.
In my case, I need to use one GIF or JPG as backgound of a table but the table must be in specific size, the picture sometime bigger than this size of the table and the result is that the picture is not always reveal all of it's body in the table.
I don't know if any way to set the size of the image backgound of the table. Please help!
Thanks for you attention!
Chua
|
|
|
|
|
Resize the image in an image editing software package...
theJazzyBrain
Wise is he who asks good questions, not he who gives good answers
|
|
|
|
|
Hi theJazzyBrain!
If I can directly make change to the image then it's not a problem. In my case, I need to take the pictures from the server and show them in the web page and it's one kind of selling product website which get the pictures of the good from the server so I can not do the taskof making change directly to the pic
Chua
|
|
|
|
|
I see,
but why do you want to set it as a background image then?
If you use the IMG tag then you can set the width and height attributes accordingly.
theJazzyBrain
Wise is he who asks good questions, not he who gives good answers
|
|
|
|
|
Hi theJazzyBrain!
Please look at http://www.venturi.be/trevi/F/showlist_framework.asp?Type=1&goal=0
so see why do I need to use it's as backgrouns
In this list, you will see sometimes a property which marked "VENDU" is mean this property is sold. To marked this property as sold, because I don't have right to modify the pictures directly (write some mark to the picture itself) so I use another transparent GIF as a mark and the picture of the property is set as background so you always see the mark lay over the picture of the property. This is a "Why".
And this is a "How". Because the pisture of the property is not always at the sme size so sometimes you can see only part of the picture not the full picture, the one which the price is 272.000 EURO at the row 3, column 2 is an exmaple only part of the picture is reveal. If these is a way to set the size of the background, I think I can solve this problem.
Do you have any idea?
Chua
|
|
|
|
|
Use DIV tags. I think that can solve the problem. You can place an image in a div tag, and then position the same anywhere on your page.
"A robust program is resistant to errors -- it either works correctly, or it does not work at all; whereas a fault tolerant program must actually recover from errors."
|
|
|
|